summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/pmap.h
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-12-05 11:31:33 +0000
committerru <ru@FreeBSD.org>2006-12-05 11:31:33 +0000
commit0d6f98c10fd6bd3d034f6095aec4c5ff1e0857fa (patch)
treeda999682301e8909336801e129dba45fe433cf71 /sys/amd64/include/pmap.h
parent12df44b4252096a8dc10f2dfb0abcb91abacff85 (diff)
downloadFreeBSD-src-0d6f98c10fd6bd3d034f6095aec4c5ff1e0857fa.zip
FreeBSD-src-0d6f98c10fd6bd3d034f6095aec4c5ff1e0857fa.tar.gz
Use a different bitmask for superpages' base address so that it
doesn't conflict with the PG_PDE_PAT bit. (We still don't mask off all the reserved bits but that's okay for now.) Reviewed by: alc
Diffstat (limited to 'sys/amd64/include/pmap.h')
-rw-r--r--sys/amd64/include/pmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h
index 24103c1..9b147f7 100644
--- a/sys/amd64/include/pmap.h
+++ b/sys/amd64/include/pmap.h
@@ -71,6 +71,7 @@
#define PG_W PG_AVAIL1 /* "Wired" pseudoflag */
#define PG_MANAGED PG_AVAIL2
#define PG_FRAME (0x000ffffffffff000ul)
+#define PG_PS_FRAME (0x000fffffffe00000ul)
#define PG_PROT (PG_RW|PG_U) /* all protection bits . */
#define PG_N (PG_NC_PWT|PG_NC_PCD) /* Non-cacheable */
OpenPOWER on IntegriCloud