summaryrefslogtreecommitdiffstats
path: root/src/util/zbin.c
diff options
context:
space:
mode:
authorH. Peter Anvin2009-04-12 03:30:22 +0200
committerMichael Brown2009-04-15 16:45:27 +0200
commitf44205b9ea928c3cdefb6848e7f20fe11d112522 (patch)
tree53605cfae5199d510bb5d047cb7cb2c9c71e8d7a /src/util/zbin.c
parent[build] Don't assume the existence of "seq" (diff)
downloadipxe-f44205b9ea928c3cdefb6848e7f20fe11d112522.tar.gz
ipxe-f44205b9ea928c3cdefb6848e7f20fe11d112522.tar.xz
ipxe-f44205b9ea928c3cdefb6848e7f20fe11d112522.zip
[pcbios] Don't use "lret $2" to return from an interrupt
Using "lret $2" to return from an interrupt causes interrupts to be disabled in the calling program, since the INT instruction will have disabled interrupts. Instead, patch CF on the stack and use iret to return. Interestingly, the original PC BIOS had this bug in at least one place. Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Michael Brown <mcb30@etherboot.org>
Diffstat (limited to 'src/util/zbin.c')
0 files changed, 0 insertions, 0 deletions