opnsense-src/sys
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
..
alpha Migrate pmap_prefault() into the machine-independent virtual memory layer. 2003-10-03 22:46:53 +00:00
amd64 Migrate pmap_prefault() into the machine-independent virtual memory layer. 2003-10-03 22:46:53 +00:00
arm Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
boot Don't repeat selected defines from ns16550.h or sioreg.h. Just 2003-09-16 11:24:23 +00:00
cam Be kind to 64bit architectures. 2003-10-02 08:56:14 +00:00
coda Move an overly verbose message under #ifdef CODA_VERBOSE. 2003-09-13 01:13:56 +00:00
compat Fix a (fortunately harmless) signed / unsigned bug. 2003-09-30 13:35:19 +00:00
conf While make has been fixed to grok this construct, the new make hasn't 2003-10-03 22:00:06 +00:00
contrib o remove extraneous include of <net/pfil.h> 2003-09-24 05:08:58 +00:00
crypto one more opossite conditiion. 2003-09-18 17:26:56 +00:00
ddb Reworked rev.1.14. Use the ELF symbol type again to summarily reject 2003-09-28 06:02:33 +00:00
dev Make the i810 AGP device create a "drmsub" child device. This will be attached 2003-10-02 19:49:15 +00:00
fs Introduce a uiomove_frombuf helper routine that handles computing and 2003-10-02 15:00:55 +00:00
geom Return ENODEV in case the driver has no dump routine. 2003-09-29 07:44:23 +00:00
gnu - Clean-up comments that refer to the use of B_LOCKED. 2003-08-28 00:56:39 +00:00
i4b Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
i386 Emulate bugs in the old PSE code so that apm works again. 2003-10-04 06:30:56 +00:00
ia64 Migrate pmap_prefault() into the machine-independent virtual memory layer. 2003-10-03 22:46:53 +00:00
isa Change fb_attach() and fb_detach() to take a integer unit number rather 2003-09-26 10:41:44 +00:00
isofs/cd9660 - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
kern Introduce a uiomove_frombuf helper routine that handles computing and 2003-10-02 15:00:55 +00:00
libkern - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
modules MFp4: Change struct fw_xfer to reduce memory copy in fwmem_*() functions. 2003-10-02 04:06:56 +00:00
net Locking for updates to routing table entries. Each rtentry gets a mutex 2003-10-04 03:44:50 +00:00
net80211 Try yet again to deal with timing out nodes. We cannot hold the 2003-09-26 17:00:44 +00:00
netatalk More checking of M_PREPEND() return values: pass through link-layer 2003-08-29 19:27:09 +00:00
netatm The number of prefixes can never be negative so use an u_int for this. 2003-07-29 13:46:43 +00:00
netgraph I don't know from where the notion that device driver should or 2003-09-28 20:48:13 +00:00
netinet Locking for updates to routing table entries. Each rtentry gets a mutex 2003-10-04 03:44:50 +00:00
netinet6 Locking for updates to routing table entries. Each rtentry gets a mutex 2003-10-04 03:44:50 +00:00
netipsec MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
netipx Fix a bunch of off-by-one errors in the range checking code. 2003-09-11 21:40:21 +00:00
netkey Reduce diffs against KAME. No functional change. 2003-09-30 10:52:49 +00:00
netnatm Remove the last vestiges of ATM raw mode. This has not been useful for a 2003-08-06 14:34:38 +00:00
netncp The present defaults for the open and close for device drivers which 2003-09-27 12:01:01 +00:00
netsmb - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
nfs
nfsclient - Remove interlock protection around VI_XLOCK. The interlock is not 2003-09-19 23:37:49 +00:00
nfsserver Change idle state sleep identifier to "-" for nfsd. 2003-07-02 08:08:32 +00:00
opencrypto The present defaults for the open and close for device drivers which 2003-09-27 12:01:01 +00:00
pc98 OK, I messed up /dev/console with what I had hoped would be compat 2003-09-26 19:35:50 +00:00
pccard More debug under boot verbose. 2003-08-29 23:25:00 +00:00
pci Make the i810 AGP device create a "drmsub" child device. This will be attached 2003-10-02 19:49:15 +00:00
posix4 sched_setscheduler: Return EINVAL when a invalid policy is specified, 2003-09-13 18:46:24 +00:00
powerpc Migrate pmap_prefault() into the machine-independent virtual memory layer. 2003-10-03 22:46:53 +00:00
rpc
security Use __BEGIN_DECLS and __END_DECLS around userland function prototypes 2003-10-02 03:07:51 +00:00
sparc64 Migrate pmap_prefault() into the machine-independent virtual memory layer. 2003-10-03 22:46:53 +00:00
sys Introduce a uiomove_frombuf helper routine that handles computing and 2003-10-02 15:00:55 +00:00
tools Don't check the state of the vnode interlock if the specification says 2003-06-22 21:20:06 +00:00
ufs - Several of the callers to getdirtybuf() were erroneously changed to pass 2003-09-03 04:08:15 +00:00
vm Migrate pmap_prefault() into the machine-independent virtual memory layer. 2003-10-03 22:46:53 +00:00
Makefile Revert exclusion for amd64 that stopped boot/ being built. 2003-06-26 03:52:48 +00:00