rombios: fix wrong stack segment in 32-bit gateway
PATCH 1/1 rombios: fix wrong stack segment in 32-bit gateway
Stack segment doesn't be restored correctly in 32-bit gateway.
Signed-off-by Kouya Shimura <[email protected]>
tools/firmware/rombios/32bitgateway.c +1 -1
@@ -130,9 +130,9 @@ ; Restore real-mode stack pointerxor eax, eax mov ax, ss_off[esp] + mov bx, ax ; Real-mode ss in bx shl eax, 4sub esp, eax - mov bx, ax ; Real-mode ss in bx ; Return to real mode jmpf upcall3, #PM_16BIT_CS
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel