aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/x86_64
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-10-27 10:08:48 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-10-27 10:08:48 +0000
commit2f819e06d1f32cecd5179acc9fd037e2e3102d1b (patch)
tree6f2a26fcb778ff64fd162bdb024e0dbde6a28e01 /xen/include/asm-x86/x86_64
parent59e17b596f9329a7d17220432b419ff5050adb50 (diff)
downloadxen-2f819e06d1f32cecd5179acc9fd037e2e3102d1b.tar.gz
xen-2f819e06d1f32cecd5179acc9fd037e2e3102d1b.tar.bz2
xen-2f819e06d1f32cecd5179acc9fd037e2e3102d1b.zip
x86: relax restrictions on reserved bits in L3 for 32on64 x86 guests
A 32on64 guest cannot copy an existing pinned L3 entry to use as a new L3 because COMPAT_L3_DISALLOW_MASK contains bits which are added to L3 entries by adjust_guest_l3e (U/S & R/W) or by the hardware (A & D). Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/x86_64')
-rw-r--r--xen/include/asm-x86/x86_64/page.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/x86_64/page.h b/xen/include/asm-x86/x86_64/page.h
index f20f053dd5..494a877caf 100644
--- a/xen/include/asm-x86/x86_64/page.h
+++ b/xen/include/asm-x86/x86_64/page.h
@@ -119,7 +119,7 @@ typedef l4_pgentry_t root_pgentry_t;
#define L3_DISALLOW_MASK (BASE_DISALLOW_MASK)
#define L4_DISALLOW_MASK (BASE_DISALLOW_MASK)
-#define COMPAT_L3_DISALLOW_MASK 0xFFFFF1FEU
+#define COMPAT_L3_DISALLOW_MASK 0xFFFFF198U
#define PAGE_HYPERVISOR (__PAGE_HYPERVISOR | _PAGE_GLOBAL)
#define PAGE_HYPERVISOR_NOCACHE (__PAGE_HYPERVISOR_NOCACHE | _PAGE_GLOBAL)