projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a4a8f6
)
rombios: fix wrong stack segment return in 32-bit gateway
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 26 Jan 2009 11:16:52 +0000
(11:16 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 26 Jan 2009 11:16:52 +0000
(11:16 +0000)
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
tools/firmware/rombios/32bitgateway.c
patch
|
blob
|
history
diff --git
a/tools/firmware/rombios/32bitgateway.c
b/tools/firmware/rombios/32bitgateway.c
index 06d812d4a6ef72069290df3320c340a0dd39ddb0..8b3dffa591395a96f46b8cb59a6e5180d14f1180 100644
(file)
--- a/
tools/firmware/rombios/32bitgateway.c
+++ b/
tools/firmware/rombios/32bitgateway.c
@@
-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