diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-07-13 12:58:41 +0000 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-07-13 12:58:41 +0000 |
commit | 650061e19522b6cacb34786bc34f1dcfabaf2da0 (patch) | |
tree | ac8ffba5cb66c04962aa4a94433b405724d5d4e4 /xen/arch/x86/boot/x86_64.S | |
parent | 41641edf73c0367b9e960907d2e46cfd20738aa7 (diff) | |
download | xen-650061e19522b6cacb34786bc34f1dcfabaf2da0.tar.gz xen-650061e19522b6cacb34786bc34f1dcfabaf2da0.tar.bz2 xen-650061e19522b6cacb34786bc34f1dcfabaf2da0.zip |
Enable NX/XD feature for 32-bit PAE Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/boot/x86_64.S')
-rw-r--r-- | xen/arch/x86/boot/x86_64.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/boot/x86_64.S b/xen/arch/x86/boot/x86_64.S index c5a92e6627..85c599f536 100644 --- a/xen/arch/x86/boot/x86_64.S +++ b/xen/arch/x86/boot/x86_64.S @@ -63,7 +63,7 @@ __start: /* Check for Multiboot bootloader */ cmp $0x2BADB002,%eax jne not_multiboot - + /* Save the Multiboot info structure for later use. */ mov %ebx,0x100300 # multiboot_ptr @@ -91,7 +91,7 @@ skip_boot_checks: mov %eax,%cr3 /* Set up EFER (Extended Feature Enable Register). */ - movl $MSR_EFER, %ecx + movl $MSR_EFER,%ecx rdmsr btsl $_EFER_LME,%eax /* Long Mode */ btsl $_EFER_SCE,%eax /* SYSCALL/SYSRET */ |