cvs commit: src/sys/conf ldscript.i386 src/sys/i386/i386 bios.c genassym.c locore.s machdep.c mp_machdep.c mpboot.s pmap.c src/sys/i386/include pmap.h vmparam.h

Peter Wemm peter at FreeBSD.org
Wed Oct 1 16:46:09 PDT 2003


peter       2003/10/01 16:46:08 PDT

  FreeBSD src repository

  Modified files:
    sys/conf             ldscript.i386 
    sys/i386/i386        bios.c genassym.c locore.s machdep.c 
                         mp_machdep.c mpboot.s pmap.c 
    sys/i386/include     pmap.h vmparam.h 
  Log:
  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
  
  Revision  Changes    Path
  1.8       +1 -1      src/sys/conf/ldscript.i386
  1.63      +12 -12    src/sys/i386/i386/bios.c
  1.144     +3 -0      src/sys/i386/i386/genassym.c
  1.175     +62 -9     src/sys/i386/i386/locore.s
  1.573     +1 -1      src/sys/i386/i386/machdep.c
  1.217     +2 -8      src/sys/i386/i386/mp_machdep.c
  1.21      +16 -0     src/sys/i386/i386/mpboot.s
  1.442     +35 -86    src/sys/i386/i386/pmap.c
  1.101     +3 -1      src/sys/i386/include/pmap.h
  1.37      +7 -0      src/sys/i386/include/vmparam.h


More information about the cvs-src mailing list