cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c
Alan Cox
alc at FreeBSD.org
Thu Apr 27 21:26:26 UTC 2006
alc 2006-04-27 21:26:26 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 pmap.c
sys/i386/i386 pmap.c
Log:
In general, bits in the page directory entry (PDE) and the page table
entry (PTE) have the same meaning. The exception to this rule is the
eighth bit (0x080). It is the PS bit in a PDE and the PAT bit in a
PTE. This change avoids the possibility that pmap_enter() confuses a
PAT bit with a PS bit, avoiding a panic().
Eliminate a diagnostic printf() from the i386 pmap_enter() that serves
no current purpose, i.e., I've seen no bug reports in the last two
years that are helped by this printf().
Reviewed by: jhb
Revision Changes Path
1.551 +8 -4 src/sys/amd64/amd64/pmap.c
1.552 +4 -10 src/sys/i386/i386/pmap.c
More information about the cvs-src
mailing list