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-unstable] rombios: fix wrong stack segment return i

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] rombios: fix wrong stack segment return in 32-bit gateway
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 26 Jan 2009 18:50:10 -0800
Delivery-date: Mon, 26 Jan 2009 18:49:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 1232968612 0
# Node ID f2ad1a7ca58231f098296b9c038ec90ee55b7b7a
# Parent  2f993fde1dc6575c62db8677a5598c6cdbb5a855
rombios: fix wrong stack segment return in 32-bit gateway

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
---
 tools/firmware/rombios/32bitgateway.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 2f993fde1dc6 -r f2ad1a7ca582 tools/firmware/rombios/32bitgateway.c
--- a/tools/firmware/rombios/32bitgateway.c     Sun Jan 25 10:32:26 2009 +0000
+++ b/tools/firmware/rombios/32bitgateway.c     Mon Jan 26 11:16:52 2009 +0000
@@ -130,9 +130,9 @@ upcall2:
     ; Restore real-mode stack pointer
     xor eax, eax
     mov ax, ss_off[esp]
+    mov bx, ax    ; Real-mode ss in bx
     shl eax, 4
     sub esp, eax
-    mov bx, ax    ; Real-mode ss in bx
 
     ; Return to real mode
     jmpf upcall3, #PM_16BIT_CS

_______________________________________________
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] rombios: fix wrong stack segment return in 32-bit gateway, Xen patchbot-unstable <=