1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sys/i386
Peter Wemm 708b44ba6f Emulate bugs in the old PSE code so that apm works again.
I do not yet understand why, but apm *depended* on the fact that the old
PSE code caused the first 1MB of ram to be mapped read/write because it
was in the same 4MB page as the kernel text+data+bss blob.

If anybody ever tried DISABLE_PSE before, apm would not work.

If your cpu did not have PSE, apm would not work there either (eg: 486).

This bug has been around for a Very Long Time.

The Pentium-4-fix commits did not emulate this unintended side effect of
the PSE post-early-boot fixup, and thus apm blew up.  I've added a hack to
emulate the bug until either apm is fixed or we set fire to our bridges.

This is bad though because it gives kernel mode code the opportunity
to accidently write to the first few megs of the general page pool
which is remapped at KERNBASE.  It needs to be fixed properly.
2003-10-04 06:30:56 +00:00
..
acpica - Eliminate the pte object. 2003-09-25 02:51:06 +00:00
bios The present defaults for the open and close for device drivers which 2003-09-27 12:01:01 +00:00
compile
conf Mention the puc(4) glue driver in a commented-out example so the user 2003-09-19 20:04:55 +00:00
i386 Emulate bugs in the old PSE code so that apm works again. 2003-10-04 06:30:56 +00:00
ibcs2 Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
include Commit Bosko's patch to clean up the PSE/PG_G initialization to and 2003-10-01 23:46:08 +00:00
isa MFsio (sio.c 1.413: cleaned up and fixed setting of speeds in comparam()). 2003-09-27 12:40:23 +00:00
linux Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
pci We represent PCI intpin's two different ways. One is the way that the 2003-09-10 06:00:53 +00:00
svr4 Use __FBSDID(). 2003-06-10 05:05:54 +00:00
Makefile This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00