ia64/xen-unstable
changeset 19654:11b3b6fafc7b
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>
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>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Wed May 27 11:19:38 2009 +0100 (2009-05-27) |
parents | b671d568115f |
children | 494c2ebf9d19 |
files | tools/firmware/rombios/rombios.c |
line diff
1.1 --- a/tools/firmware/rombios/rombios.c Wed May 27 11:17:40 2009 +0100 1.2 +++ b/tools/firmware/rombios/rombios.c Wed May 27 11:19:38 2009 +0100 1.3 @@ -8362,8 +8362,8 @@ ASM_END 1.4 /* Jump to the boot vector */ 1.5 ASM_START 1.6 mov bp, sp 1.7 -// push cs 1.8 -// push #int18_handler 1.9 + push cs 1.10 + push #int18_handler 1.11 ;; Build an iret stack frame that will take us to the boot vector. 1.12 ;; iret pops ip, then cs, then flags, so push them in the opposite order. 1.13 pushf