david/ipxe
david
/
ipxe
Archived
1
0
Fork 0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src
Michael Brown 9ccd8fe569 [efi] Enumerate PCI BARs in same order as SnpDxe
The UEFI specification has an implicit and demonstrably incorrect
requirement (in the Mem_IO() calling convention) that any UNDI network
device has at most one memory BAR and one I/O BAR.

Some UEFI platforms have been observed to report the existence of
non-existent additional I/O BARs, causing iPXE to select the wrong
BAR.  This problem does not affect the SnpDxe driver, since that
driver will always choose the lowest numbered existent BAR of each
type.

Adjust iPXE's behaviour to match that of SnpDxe, i.e. to always select
the lowest numbered BAR(s).

Debugged-by: Andreas Hammarskjöld <junior@2PintSoftware.com>
Debugged-by: Adklei <adklei@realtek.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2017-07-21 15:00:17 +01:00
..
arch [cpuid] Allow input %ecx value to be specified 2017-06-16 01:17:48 +01:00
bin Rename .cvsignore files to .gitignore 2007-06-09 22:57:00 +01:00
config [acpi] Expose ACPI tables via settings mechanism 2017-05-23 18:48:06 +01:00
core [syslog] Handle backspace characters 2017-06-13 11:54:41 +01:00
crypto [crypto] Expose asn1_grow() 2017-06-20 09:49:00 +01:00
doc [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
drivers [efi] Enumerate PCI BARs in same order as SnpDxe 2017-07-21 15:00:17 +01:00
hci [mucurses] Avoid potential division by zero 2017-07-04 12:51:53 +01:00
image [crypto] Expose pem_asn1() for use with non-image data 2017-06-20 10:14:07 +01:00
include [lan78xx] Add driver for Microchip LAN78xx USB Ethernet NICs 2017-07-10 13:01:03 +01:00
interface [efi] Provide access to ACPI tables 2017-05-23 18:48:02 +01:00
libgcc [libgcc] Provide __divmoddi4() 2016-05-05 23:42:57 +01:00
net [tls] Support RFC5746 secure renegotiation 2017-07-04 19:54:34 +01:00
scripts [efi] Centralise architecture-independent EFI Makefile and linker script 2016-03-12 21:47:13 +00:00
tests [build] Avoid implicit-fallthrough warnings on GCC 7 2017-03-29 10:36:45 +03:00
usr [block] Allow use of a non-default EFI SAN boot filename 2017-04-12 15:58:05 +01:00
util [efi] Fix building elf2efi.c when -fpic is enabled by default 2017-01-25 08:15:21 +00:00
.gitignore [build] Add support for local configuration files 2010-03-26 19:07:22 +00:00
Makefile [sfc] Add driver for Solarflare SFC8XXX adapters 2017-04-10 16:17:08 +01:00
Makefile.efi [efi] Centralise architecture-independent EFI Makefile and linker script 2016-03-12 21:47:13 +00:00
Makefile.housekeeping [profile] Allow profiling to be globally enabled or disabled 2016-07-05 13:49:51 +01:00
doxygen.cfg [build] Remove PACKED macro 2010-05-29 23:49:47 +01:00