diff options
| author | Michael Brown | 2012-09-14 16:42:54 +0200 |
|---|---|---|
| committer | Michael Brown | 2012-09-14 16:42:54 +0200 |
| commit | 73eb3f17db3ff0a57a52507eafb5ef78eb5dc66e (patch) | |
| tree | 40e8a24989186167640249b752c99671809cb458 /src/interface/bofm | |
| parent | [int13] Use correct size when estimating floppy disk geometry (diff) | |
| download | ipxe-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/bofm')
0 files changed, 0 insertions, 0 deletions
