Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jun 2004 00:29:42 +0000 (UTC)
From:      Peter Wemm <peter@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/amd64/amd64 pmap.c src/sys/amd64/include pmap.h
Message-ID:  <200406080029.i580Tg7Q073038@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406080029.i580Tg7Q073038>