summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make sure TARGET_ABI is defined. TARGET_ABI will die a horrible deathimp2010-08-261-1/+1
| | | | | | after we get all of TBEMD merged back into head, and make mips64 imply n64, so don't bother to make this 100% pretty. You'll have to settle for only 64% pretty.
* Guard against TARGET_ABI being undefined (TARGET_ABI will go away soon)imp2010-08-261-1/+1
|
* Mark __DTOR_LIST__, __EH_FRAME_BEGIN__ and __CTOR_END__ as used to avoidrpaulo2010-08-261-5/+5
| | | | | | segfaults when building with clang. This comes (partly) from the LLVM svn r41105.
* Mark __JCR_LIST__, __DTOR_END__, __JCR_END__, __FRAME_END__ as used torpaulo2010-08-261-5/+5
| | | | | | avoid segfaults when building with clang. Permission to backport given by Jan hubicka <jh at suse.cz>.
* Install dtruss.rpaulo2010-08-261-0/+2
| | | | Sponsored by: The FreeBSD Foundation
* Add a man page for dtruss.rpaulo2010-08-262-1/+90
| | | | Sponsored by: The FreeBSD Foundation
* Sync DTrace bits with amd64 and fix the build.rpaulo2010-08-261-2/+6
| | | | Sponsored by: The FreeBSD Foundation
* Fix typo.kib2010-08-261-1/+1
| | | | Submitted by: Ben Kaduk <minimarmot gmail com>
* eliminate unused code.davidxu2010-08-262-17/+0
|
* Decrease rdlock count only when thread unlocked a reader lock.davidxu2010-08-261-1/+1
| | | | MFC after: 3 days
* Ugly kludge to paper over some kind of ld bug and/or misuse: don'timp2010-08-261-1/+2
| | | | build uathload on mips n64 either.
* Rescue doesn't work for n64.imp2010-08-261-0/+3
|
* Add mutex locking for the call to replay_prune() inrmacklem2010-08-251-0/+2
| | | | | | | replay_setsize(), since replay_prune() expects the rc_lock to be held when it is called. MFC after: 2 weeks
* Fix a debugging message under bootverbose. This address is not linear.jkim2010-08-251-1/+1
|
* Add an experimental feature to shadow video BIOS. Long ago, this trick wasjkim2010-08-251-10/+57
| | | | | | | | | | supported by many BIOSes to improve performance of VESA BIOS calls for real mode OSes but it is not our intention here. However, this may help some platforms where the video ROMs are inaccessible after suspend, for example. Note it may consume up to 64K bytes of contiguous memory depending on video controller model when it is enabled. This feature can be disabled by setting zero to 'debug.vesa.shadow_rom' loader tunable via loader(8) or loader.conf(5). The default is 1 (enabled), for now.
* Revert r210194, adding a comment explaining why calls to chgproccnt()trasz2010-08-251-0/+6
| | | | | | | in unionfs are actually needed. I have a better fix in trasz_hrl p4 branch, but now is not a good moment to commit it. Reported by: Alex Kozlov
* Increase maximum number of page table entries per VM86 context from 8 to 24jkim2010-08-251-1/+1
| | | | | pages, yet again. Now we can allocate a whole segment, which is required for shadowing option ROM images, for example.
* Add x86bios_set_intr() to set interrupt vectors for real mode and simplifyjkim2010-08-252-3/+15
| | | | x86bios_get_intr() a little.
* Check opcode for short jump as well. Some option ROMs do short jumpsjkim2010-08-251-1/+2
| | | | | | | (e.g., some NVIDIA video cards) and we were not able to do POST while resuming because we only honored long jump. MFC after: 3 days
* Allow ABIs to provide their own LIBC_ARCH in a more generic way. As a sidenwhitehorn2010-08-251-4/+5
| | | | | | effect, this fixes the build on powerpc64. Reviewed by: imp
* Correctly ensure that the CPU family is 0x6, not non-zero.jhb2010-08-251-1/+2
| | | | Submitted by: Dimitry Andric
* Intel QPI chipsets actually provide two extra "non-core" PCI buses thatjhb2010-08-253-0/+288
| | | | | | | | | | provide PCI devices for various hardware such as memory controllers, etc. These PCI buses are not enumerated via ACPI however. Add qpi(4) psuedo bus and Host-PCI bridge drivers to enumerate these buses. Currently the driver uses the CPU ID to determine the bridges' presence. In collaboration with: Joseph Golio @ Isilon Systems MFC after: 2 weeks
* Add one more new memory day for Russian Federation: the end of Second World War.osa2010-08-251-0/+1
| | | | Obtained from: http://kremlin.ru/acts/8444
* If we read zero bytes from the directory, early out with ENOENTbrian2010-08-251-2/+6
| | | | | | | | | rather than forging ahead and interpreting garbage buffer content and dirent structures. This change backs out r211684 which was essentially a no-op. MFC after: 1 week
* Fix build of ppc32 loader.nwhitehorn2010-08-251-1/+1
|
* Call devfs_populate_vp() from devfs_getattr(). It was possible thatjh2010-08-251-1/+9
| | | | fstat(2) returned stale information through an open file descriptor.
* Provide timecounter based on XLR PIC timer.jchandra2010-08-252-0/+74
| | | | | | | - Use timer 7 in XLR PIC as a 32 counter - provide pic_init_timer(), pic_set_timer(), pic_timer_count32() and pic_timer_count() PIC timer operations. - register this timer as platform_timecounter on rmi platform.
* Add the necessary DTrace function pointers.rpaulo2010-08-251-0/+9
| | | | Sponsored by: The FreeBSD Foundation
* XLR PIC code update.jchandra2010-08-252-6/+13
| | | | | - Fix a bug in xlr_pic_init (use irq in PIC_IRQ_IS_EDGE_TRIGGERED) - use new macro PIC_INTR_TO_IRQ() and PIC_IRT_x() in xlr_pic_init
* XLR PIC code update and style(9) fixes.jchandra2010-08-257-313/+231
| | | | | | | | - style(9) fixes to mips/rmi platform files - update pic.h to add pic_setup_intr() and use pic_setup_intr() for setting up interrupts which are routed thru PIC. - remove rmi_spin_mutex_safe and haslock, and make sure that the functions are called only after mutexes are available.
* Rename on_chip.c to fmn.c, as the file has just the fast messaging networkjchandra2010-08-252-4/+2
| | | | | code. The iodi.c has the bus for SoC devices, so the name on_chip.c is misleading.
* - Regen after adding WITH_BSD_GREP and removing WITH_GNU_GREPgabor2010-08-251-4/+4
|
* Call the necessary DTrace function pointers when we have different kindsrpaulo2010-08-252-0/+91
| | | | | | of traps. Sponsored by: The FreeBSD Foundation
* RMI XLR platform code clean-up.jchandra2010-08-252-122/+115
| | | | | | | - move PIC code to xlr_machdep.c - move fast message ring code completely to on_chip.c - move memory initialization to a new function xlr_mem_init() - style fixes
* o Correct typo.maxim2010-08-251-1/+1
| | | | | Submitted by: Bojidara Marinchovska via -stable MFC after: 1 week
* - Change the threshold from 'running next scrub the <value+1>th day after thenetchild2010-08-251-3/+3
| | | | | | | | last one' to 'running next scrub the <value>th day after the last one'. - Improve wording. Requested by: jhell <jhell@DataIX.net> MFC after: 1 week
* Sync up XLR tick.c with the new MIPS tick.cjchandra2010-08-251-17/+25
|
* If a thread is removed from umtxq while sleeping, reset error codedavidxu2010-08-251-23/+12
| | | | | to zero, this gives userland a better indication that a thread needn't to be cancelled.
* On second thought, we need to force 16-bit modeimp2010-08-251-0/+3
|
* Prodded by Yongari, add support for Holtek HT80232. Add the deviceimp2010-08-252-34/+46
| | | | | | | | | ID, plus the ability to force '16-bit mode' which really means NE-2000 mode. Other open source drivers suggest that the Holtek misbehaves if you allow the 8-bit probe. Also, all of the PCI chips emulate NE-2000ish cards, so always force 16-bit mode for memory transfers. PR: 84202 (patch not used)
* If the first iteration of the do loop in replay_prune()rmacklem2010-08-251-1/+1
| | | | | | | | | | succeeded and a subsequent interation failed to find an entry to prune, it could loop infinitely, since the "freed" variable wasn't reset to FALSE. This patch moves setting freed FALSE to inside the loop to fix the problem. Tested by: alan.bryan at yahoo.com MFC after: 2 weeks
* Port dtruss to FreeBSD.rpaulo2010-08-241-9/+6
| | | | Sponsored by: The FreeBSD Foundation
* Make RTLD work on powerpc64 again. If there is a sub-directory namednwhitehorn2010-08-241-7/+10
| | | | | | MACHINE_ARCH, use that specific one, otherwise use MACHINE_CPUARCH. Reviewed by: imp
* Merge dtracetoolkit/dtruss from the vendor.rpaulo2010-08-241-0/+467
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * Import dtruss from Brendan Gregg's DTraceToolkit.rpaulo2010-08-211-0/+467
| | | | Sponsored by: The FreeBSD Foundation
* Remove this directory for an attempt to merge from the vendor tree.rpaulo2010-08-240-0/+0
|
* s/ithread/interrupt thread/trasz2010-08-241-2/+2
|
* Fix an accidental sed...imp2010-08-241-2/+2
|
* Powerpc is special here. powerpc and powerpc64 use different ABIs, soimp2010-08-249-32/+35
| | | | | | their implementations aren't in the same files. Introduce LIBC_ARCH and use that in preference to MACHINE_CPUARCH. Tested by amd64 and powerpc64 builds (thanks nathanw@)
* Unify 32-bit and 64-bit PowerPC libthr support. This reduces codenwhitehorn2010-08-246-147/+16
| | | | | | duplication, and simplifies the TBEMD import. Requested by: imp
OpenPOWER on IntegriCloud