aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/boot/x86_64.S
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-06-18 16:48:05 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-06-18 16:48:05 +0100
commitbd0ad700716a3108149dfc7d898bc5adbe6e1a32 (patch)
tree8d121f79a27c30152ed9e027f31e694f8182b3c5 /xen/arch/x86/boot/x86_64.S
parent470566b3500ca682c844fdb1c1910c096c887997 (diff)
downloadxen-bd0ad700716a3108149dfc7d898bc5adbe6e1a32.tar.gz
xen-bd0ad700716a3108149dfc7d898bc5adbe6e1a32.tar.bz2
xen-bd0ad700716a3108149dfc7d898bc5adbe6e1a32.zip
x86/64: Avoid bogus mbi pointer into relocated Xen address space.
Prevent similar bugs in future by poisoning the relocated bottom megabyte. 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.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/xen/arch/x86/boot/x86_64.S b/xen/arch/x86/boot/x86_64.S
index c4f368420d..d3c11b8788 100644
--- a/xen/arch/x86/boot/x86_64.S
+++ b/xen/arch/x86/boot/x86_64.S
@@ -51,8 +51,6 @@
/* Pass off the Multiboot info structure to C land. */
mov multiboot_ptr(%rip),%edi
- lea start-0x100000(%rip),%rax
- add %rax,%rdi
call __start_xen
ud2 /* Force a panic (invalid opcode). */