summaryrefslogtreecommitdiffstats
path: root/src/interface/linux/linux_smbios.c
diff options
context:
space:
mode:
authorMichael Brown2020-11-28 23:44:09 +0100
committerMichael Brown2020-11-29 12:25:40 +0100
commita8442750e6059335f1f7f5ce8b2fb803a6953789 (patch)
tree897b92cd4e24427d11c95f342004e77f630b0e58 /src/interface/linux/linux_smbios.c
parent[netdevice] Fix misleading comment on netdev_rx() (diff)
downloadipxe-a8442750e6059335f1f7f5ce8b2fb803a6953789.tar.gz
ipxe-a8442750e6059335f1f7f5ce8b2fb803a6953789.tar.xz
ipxe-a8442750e6059335f1f7f5ce8b2fb803a6953789.zip
[efi] Avoid requesting zero-length DMA mappings
The UEFI specification does not prohibit zero-length DMA mappings. However, there is a reasonable chance that at least one implementation will treat it as an invalid parameter. As a precaution, avoid calling EFI_PCI_IO_PROTOCOL.Map() with a length of zero. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/linux/linux_smbios.c')
0 files changed, 0 insertions, 0 deletions