summaryrefslogtreecommitdiffstats
path: root/src/interface/efi/efi_snp.c
diff options
context:
space:
mode:
authorMichael Brown2012-09-14 16:42:54 +0200
committerMichael Brown2012-09-14 16:42:54 +0200
commit73eb3f17db3ff0a57a52507eafb5ef78eb5dc66e (patch)
tree40e8a24989186167640249b752c99671809cb458 /src/interface/efi/efi_snp.c
parent[int13] Use correct size when estimating floppy disk geometry (diff)
downloadipxe-73eb3f17db3ff0a57a52507eafb5ef78eb5dc66e.tar.gz
ipxe-73eb3f17db3ff0a57a52507eafb5ef78eb5dc66e.tar.xz
ipxe-73eb3f17db3ff0a57a52507eafb5ef78eb5dc66e.zip
[int13] Zero all possible registers when jumping to a boot sector
At least one boot sector (the DUET boot sector used for bootstrapping EFI from a non-EFI system) fails to initialise the high words of registers before using them in calculations, leading to undefined behaviour. Work around such broken boot sectors by explicitly zeroing the contents of all registers apart from %cs:%ip and %ss:%sp. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi/efi_snp.c')
0 files changed, 0 insertions, 0 deletions