cvs commit: src/sys/amd64/amd64 pmap.c src/sys/amd64/include pmap.h

Peter Wemm peter at FreeBSD.org
Tue Jun 8 00:29:53 GMT 2004


peter       2004-06-08 00:29:42 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      pmap.c 
    sys/amd64/include    pmap.h 
  Log:
  Mask pte's with PG_FRAME before passing it to PHYS_TO_VM_PAGE()..  PG_NX
  lives in the top 12 'available' bits.  atop() in the PHYS_TO_VM_PAGE()
  macro only masks off the lower bits (by accident) and the upper bits
  in the 64 bit ptes turn into "interesting" index values.
  
  Revision  Changes    Path
  1.464     +16 -16    src/sys/amd64/amd64/pmap.c
  1.116     +1 -1      src/sys/amd64/include/pmap.h


More information about the cvs-src mailing list