]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[romprefix] Do not preserve unused register %di
authorMichael Brown <mcb30@ipxe.org>
Thu, 21 Aug 2014 14:59:11 +0000 (15:59 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 22 Aug 2014 14:05:05 +0000 (15:05 +0100)
commit16e235987fae94e53db293990ad4f2d816b72326
treef184c3e5ee33aed4696f22d0a04c2d129b36cd96
parentec7c331ca34d4fc8fd4038f7d76e5bc17236da77
[romprefix] Do not preserve unused register %di

Since some PnP BIOSes fail to set %es:di to point to the PnP signature
on entry, we identify a PnP BIOS by scanning through the top 64kB of
base memory looking for the PnP structure.  We therefore don't
actually use the values of %es:di provided to the initialisation entry
point, and so there is no need to preserve them.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/prefix/romprefix.S