aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware/rombios
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-05-27 11:19:38 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-05-27 11:19:38 +0100
commite420ef1e7381ce0b25c8f66c1cab2d622cffd385 (patch)
tree388de84f9f13a1da9878fd20f90b645e9a8cd73e /tools/firmware/rombios
parent7f75b4d5a3b1405c8689b6374bbb7ed5af6130b0 (diff)
downloadxen-e420ef1e7381ce0b25c8f66c1cab2d622cffd385.tar.gz
xen-e420ef1e7381ce0b25c8f66c1cab2d622cffd385.tar.bz2
xen-e420ef1e7381ce0b25c8f66c1cab2d622cffd385.zip
rombios: fix trying to boot from next device
If boot="ndc", rombios cannot try to boot next device. Because rombios jump to the boot vector without pushing return address, gPXE code and so on cannot return if it fail to boot. Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Diffstat (limited to 'tools/firmware/rombios')
-rw-r--r--tools/firmware/rombios/rombios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/firmware/rombios/rombios.c b/tools/firmware/rombios/rombios.c
index 0aea421e17..94f9a9b521 100644
--- a/tools/firmware/rombios/rombios.c
+++ b/tools/firmware/rombios/rombios.c
@@ -8362,8 +8362,8 @@ ASM_END
/* Jump to the boot vector */
ASM_START
mov bp, sp
-// push cs
-// push #int18_handler
+ push cs
+ push #int18_handler
;; Build an iret stack frame that will take us to the boot vector.
;; iret pops ip, then cs, then flags, so push them in the opposite order.
pushf