]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[romprefix] Store boot bus:dev.fn address as autoboot device location
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 25 Feb 2014 23:00:44 +0000 (16:00 -0700)
committerMichael Brown <mcb30@ipxe.org>
Mon, 3 Mar 2014 15:35:08 +0000 (15:35 +0000)
commitc429bf0aa2428e6d12143285b29cbaf6a82f8d84
tree977a6768faf57429c23c2f3e7aa47706cf30f618
parent90fc273b2b099df4a2c2ca06e1eaa7508e9734be
[romprefix] Store boot bus:dev.fn address as autoboot device location

Per the BIOS Boot Specification, the initialization phase of the ROM
is called with the PFA (PCI Function Address) in the %ax register.
The intention is that the ROM code will store that device address
somewhere and use it for booting from that device when the Boot Entry
Vector (BEV) is called.  iPXE does store the PFA, but doesn't use it
to select the boot network device.  This renders BIOS IPL lists fairly
ineffective.

Fix by using the BBS-specified bus:dev.fn address as the autoboot
device location.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/prefix/romprefix.S