freebsd-src/sys
Peter Wemm 6ccf265bb0 Commit Bosko's patch to clean up the PSE/PG_G initialization to and
avoid problems with some Pentium 4 cpus and some older PPro/Pentium2
cpus.  There are several problems, some documented in Intel errata.
This patch:
1) moves the kernel to the second page in the PSE case.  There is an
errata that says that you Must Not point a 4MB page at physical
address zero on older cpus.  We avoided bugs here due to sheer luck.
2) sets up PSE page tables right from the start in locore, rather than
trying to switch from 4K to 4M (or 2M) pages part way through the boot
sequence at the same time that we're messing with PG_G.

For some reason, the pmap work over the last 18 months seems to tickle
the problems, and the PAE infrastructure changes disturb the cpu
bugs even more.

A couple of people have reported a problem with APM bios calls during
boot.  I'll work with people to get this resolved.

Obtained from:	bmilekic
2003-10-01 23:46:08 +00:00
..
alpha OK, I messed up /dev/console with what I had hoped would be compat 2003-09-26 19:35:50 +00:00
amd64 Commit Bosko's patch to clean up the PSE/PG_G initialization to and 2003-10-01 23:46:08 +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 - Pick up a correct path_id for the bus on AC_PATH_REGISTERED. 2003-09-30 08:03:52 +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 Commit Bosko's patch to clean up the PSE/PG_G initialization to and 2003-10-01 23:46:08 +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 Fix indention 2003-10-01 14:49:53 +00:00
fs Add a new column to the procfs map to hold the name of the mapped 2003-09-29 20:53:19 +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 Commit Bosko's patch to clean up the PSE/PG_G initialization to and 2003-10-01 23:46:08 +00:00
ia64 Drop any and all support for varargs. There's no history to worry 2003-09-28 05:34:07 +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 - On my Pentium4-M laptop, invalpg takes ~1100 cycles if the page is found in 2003-09-30 08:11:36 +00:00
libkern - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
modules - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
net Temporarily turn net.isr.enable back off again until patches to 2003-10-01 22:15:16 +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 By popular demand, added the "static ARP" per-interface option. 2003-10-01 08:32:37 +00:00
netinet6 add randomtab for ip6_randomflowlabel(). 2003-10-01 21:45:57 +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 Add a tiny bit more delay in the xl_mii_sync function; this is necessary 2003-09-29 02:14:04 +00:00
posix4 sched_setscheduler: Return EINVAL when a invalid policy is specified, 2003-09-13 18:46:24 +00:00
powerpc DELAY must be a routine, not a macro definition. 2003-09-26 09:02:24 +00:00
rpc
security If the struct mac copied into the kernel has a negative length, return 2003-09-29 18:35:17 +00:00
sparc64 Allow the compiler to micro-optimize byte swapping functions by 2003-09-30 22:35:27 +00:00
sys Remove extra parentheses from the __GNUC_PREREQ__ macro. 2003-10-01 11:26:20 +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 In vm_page_remove(), assert that the vm object is locked, unless an Alpha. 2003-09-28 04:50:48 +00:00
Makefile Revert exclusion for amd64 that stopped boot/ being built. 2003-06-26 03:52:48 +00:00