From a16bc5e6d7d0dc5ac7772f039bc0e5be1630355d Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 14 Mar 2012 01:20:23 +0100 Subject: Fix PAE page frame number mask. * i386/intel/pmap.h (INTEL_PTE_PFN): Keep only 47bits, others are not usable. --- i386/intel/pmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3