|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86_64: Initialise upper half of 32-bit p
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1206977553 -3600
# Node ID ffcc213f87112a9bcae2524dc9dd08bc13911d8c
# Parent d434c73ec8b79ec177fb0a7117c21ca3371c6f7d
x86_64: Initialise upper half of 32-bit parameter registers when
making Target Mode BIOS call. Fixes boot problems with some buggy
BIOSes.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
xen/arch/x86/boot/trampoline.S | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff -r d434c73ec8b7 -r ffcc213f8711 xen/arch/x86/boot/trampoline.S
--- a/xen/arch/x86/boot/trampoline.S Mon Mar 31 14:21:13 2008 +0100
+++ b/xen/arch/x86/boot/trampoline.S Mon Mar 31 16:32:33 2008 +0100
@@ -156,9 +156,12 @@ 1: mov $(BOOT_TRAMPOLINE>>4),%a
sti
#if defined(__x86_64__)
- /* Declare that our target operating mode is long mode. */
- movw $0xec00,%ax # declare target operating mode
- movw $0x0002,%bx # long mode
+ /*
+ * Declare that our target operating mode is long mode.
+ * Initialise 32-bit registers since some buggy BIOSes depend on it.
+ */
+ movl $0xec00,%eax # declare target operating mode
+ movl $0x0002,%ebx # long mode
int $0x15
#endif
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86_64: Initialise upper half of 32-bit parameter registers when,
Xen patchbot-unstable <=
|
|
|
|
|