[efi] Avoid returning uninitialised data from PCI configuration space reads
authorMichael Brown <mcb30@ipxe.org>
Thu, 4 Sep 2014 15:00:11 +0000 (16:00 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 4 Sep 2014 15:00:11 +0000 (16:00 +0100)
commitf94d6516326ba05928602ab1de2e4e713cbe35ee
treec31f452620a9519fe9514ae82c61795e2d3973ba
parent4c5b7945c34392dda8a22c0759c15f78f90bb8a3
[efi] Avoid returning uninitialised data from PCI configuration space reads

Under UEFI, reads from PCI configuration space may fail.  If this
happens, we should return all-ones (which will mimic the behaviour of
an absent PCI device).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/efi/efi_pci_api.h