]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[comboot] Propagate carry flag from COMBOOT API
authorStefan Hajnoczi <stefanha@gmail.com>
Sat, 8 May 2010 10:49:09 +0000 (11:49 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 25 May 2010 05:24:58 +0000 (06:24 +0100)
commit0d108681ac5b1e1d652c28b44377a151041ea425
tree0309063f93ed321e82c63a8eb3905147a63d9372
parent4fb3dae14e3d3e57525d92e9154d2f4429edfc27
[comboot] Propagate carry flag from COMBOOT API

COMBOOT API calls set the carry flag on failure.  This was not being
propagated because the COMBOOT interrupt handler used iret to return
with EFLAGS restored from the stack.  This patch propagates CF before
returning from the interrupt.

Reported-by: Geoff Lywood <glywood@vmware.com>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Marty Connor <mdc@etherboot.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/core/patch_cf.S [new file with mode: 0644]
src/arch/i386/firmware/pcbios/e820mangler.S
src/arch/i386/interface/syslinux/comboot_call.c