summaryrefslogtreecommitdiff
path: root/i386/intel/pmap.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-03-14 01:20:23 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-03-14 01:20:23 +0100
commita16bc5e6d7d0dc5ac7772f039bc0e5be1630355d (patch)
tree12273bc7ab76fec2833e9017a77104556c1242fb /i386/intel/pmap.h
parenteb114b9c880a8fbcf1ad461ff7fc9a37f7fc7cb6 (diff)
Fix PAE page frame number mask.
* i386/intel/pmap.h (INTEL_PTE_PFN): Keep only 47bits, others are not usable.
Diffstat (limited to 'i386/intel/pmap.h')
-rw-r--r--i386/intel/pmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/intel/pmap.h b/i386/intel/pmap.h
index 11bca80..d2e3b29 100644
--- a/i386/intel/pmap.h
+++ b/i386/intel/pmap.h
@@ -140,7 +140,7 @@ typedef unsigned int pt_entry_t;
#endif /* MACH_XEN */
#define INTEL_PTE_WIRED 0x00000200
#ifdef PAE
-#define INTEL_PTE_PFN 0xfffffffffffff000ULL
+#define INTEL_PTE_PFN 0x00007ffffffff000ULL
#else
#define INTEL_PTE_PFN 0xfffff000
#endif