summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2018-03-20 12:22:30 +0100
committerMichael Brown2018-03-20 12:31:45 +0100
commite8e9ca36130bed2ed241a38fa57e9a35c8ac61f3 (patch)
treee641dcd858ae604f7b98e184bbf4774d7a602630 /src/include
parent[lacp] Check the partner's own state when checking for blocked links (diff)
downloadipxe-e8e9ca36130bed2ed241a38fa57e9a35c8ac61f3.tar.gz
ipxe-e8e9ca36130bed2ed241a38fa57e9a35c8ac61f3.tar.xz
ipxe-e8e9ca36130bed2ed241a38fa57e9a35c8ac61f3.zip
[efi] Provide Map_Mem() and associated UNDI callbacks
Some drivers are known to call the optional Map_Mem() callback without first checking that the callback exists. Provide a usable basic implementation of Map_Mem() along with the other callbacks that become mandatory if Map_Mem() is provided. Note that in theory the PCI I/O protocol is allowed to require multiple calls to Map(), with each call handling only a subset of the overall mapped range. However, the reference implementation in EDK2 assumes that a single Map() will always suffice, so we can probably make the same simplifying assumption here. Tested with the Intel E3522X2.EFI driver (which, incidentally, fails to cleanly remove one of its mappings). Originally-implemented-by: Maor Dickman <maord@mellanox.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions