cvs commit: src/sys/amd64/amd64 pmap.c
alc at FreeBSD.org
Mon Aug 22 07:23:53 GMT 2005
alc 2005-08-22 07:23:52 UTC
FreeBSD src repository
Change pmap_extract() and pmap_extract_and_hold() to use PG_FRAME rather
than ~PDRMASK to extract the physical address of a superpage from a PDE.
The use of ~PDRMASK is problematic if the PDE has PG_NX set. Specifically,
the PG_NX bit will be included in the physical address if ~PDRMASK is used.
Reviewed by: peter
Revision Changes Path
1.524 +6 -2 src/sys/amd64/amd64/pmap.c
More information about the cvs-src