freebsd-dev/sys/i386
Colin Percival d42446149f Fix bug introduced by r194784: Under XEN, the page(s) allocated to dpcpu
for CPU #0 weren't being properly reserved.  Under VM pressure this would
cause problems when the dpcpu structures were overwritten by arbitrary
data; the most common symptom was a panic when netisr attempted to lock a
mutex.

For some reason the XEN code keeps track of the start of available memory
in the variables 'first', 'physfree', and 'init_first'; as far as I can
tell, we always have first == physfree == init_first * PAGE_SIZE.  The
earlier commit adjusted 'first' (which, on !XEN, is the only variable
which tracks this value) but not the other two variables.

Exercise for reader: Eliminate two of these three variables.
2010-11-29 06:50:30 +00:00
..
acpica MFamd64: (based on) r209957 2010-11-12 20:55:14 +00:00
bios Add compat shim for apm(4) to translate APM BIOS function numbers from i386 2010-11-11 19:20:33 +00:00
compile
conf Now userland POSIX semaphore is based on umtx. The kernel module 2010-09-24 09:04:16 +00:00
i386 Fix bug introduced by r194784: Under XEN, the page(s) allocated to dpcpu 2010-11-29 06:50:30 +00:00
ibcs2 Add macro DECLARE_MODULE_TIED to denote a module as requiring the 2010-10-12 09:18:17 +00:00
include Remove npxgetregs(), npxsetregs(), fpugetregs() and fpusetregs() 2010-11-26 14:50:42 +00:00
isa Remove npxgetregs(), npxsetregs(), fpugetregs() and fpusetregs() 2010-11-26 14:50:42 +00:00
linux Add macro DECLARE_MODULE_TIED to denote a module as requiring the 2010-10-12 09:18:17 +00:00
pci Add device IDs for two more ServerWorks Host-PCI bridges so that we can 2010-11-25 15:42:33 +00:00
svr4 Change some movl's to mov's. Newer GAS no longer accept 'movl' instructions 2009-01-31 11:37:21 +00:00
xbox Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
xen Revert r215819 and fix the bug properly. In pmap_qremove, paging table 2010-11-25 22:06:07 +00:00
Makefile Update entries for building tags. 2007-05-13 18:21:54 +00:00