WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.2-testing] x86_64: Initialise upper half of 32-bi

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.2-testing] x86_64: Initialise upper half of 32-bit parameter registers when
From: "Xen patchbot-3.2-testing" <patchbot-3.2-testing@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Mar 2008 19:40:28 -0700
Delivery-date: Mon, 31 Mar 2008 19:40:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1206978034 -3600
# Node ID ca7bfc8f5ea5d39188309fed05afb4b55974df4a
# Parent  11efc5dc5d2c98010c47ac7689fd953815ed3cc5
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-unstable changeset:   17325:ffcc213f87112a9bcae2524dc9dd08bc13911d8c
xen-unstable date:        Mon Mar 31 16:32:33 2008 +0100
---
 xen/arch/x86/boot/trampoline.S |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff -r 11efc5dc5d2c -r ca7bfc8f5ea5 xen/arch/x86/boot/trampoline.S
--- a/xen/arch/x86/boot/trampoline.S    Mon Mar 31 16:40:13 2008 +0100
+++ b/xen/arch/x86/boot/trampoline.S    Mon Mar 31 16:40:34 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-3.2-testing] x86_64: Initialise upper half of 32-bit parameter registers when, Xen patchbot-3.2-testing <=