* [Patch][BIOS] fix trying to boot from next device
@ 2009-05-26 13:55 Akio Takebe
0 siblings, 0 replies; only message in thread
From: Akio Takebe @ 2009-05-26 13:55 UTC (permalink / raw)
To: xen-devel
Hi,
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.
This patch fixes this issue.
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Best Regards,
Akio Takebe
---
diff -r 145e49b8574c tools/firmware/rombios/rombios.c
--- a/tools/firmware/rombios/rombios.c Tue May 19 23:44:28 2009 +0100
+++ b/tools/firmware/rombios/rombios.c Tue May 26 22:50:33 2009 +0900
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-26 13:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-26 13:55 [Patch][BIOS] fix trying to boot from next device Akio Takebe
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.