summaryrefslogtreecommitdiffstats
path: root/src/interface/linux
diff options
context:
space:
mode:
authorMichael Brown2021-04-20 15:37:08 +0200
committerMichael Brown2021-04-20 15:37:08 +0200
commit3efdbef2f0dd956ce7d131ca4bdfd366f8cdc9d4 (patch)
treebfdf83d0e13bf7c9525b7a9572dd1a893dcef916 /src/interface/linux
parent[build] Fix genfsimg to build ISO with long filenames (diff)
downloadipxe-3efdbef2f0dd956ce7d131ca4bdfd366f8cdc9d4.tar.gz
ipxe-3efdbef2f0dd956ce7d131ca4bdfd366f8cdc9d4.tar.xz
ipxe-3efdbef2f0dd956ce7d131ca4bdfd366f8cdc9d4.zip
[efi] Always map full length of coherent DMA buffer allocation
The EFI PCI API takes a page count as the input to AllocateBuffer() but a byte count as the input to Map(). There is nothing in the UEFI specification that requires us to map exactly the allocated length, and no systems have yet been observed that will fail if the map length does not exactly match the allocated length. However, it is plausible that some implementations may fail if asked to map a length that does not match the length of the corresponding allocation. Avoid potential future problems by always mapping the full allocated length. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/linux')
0 files changed, 0 insertions, 0 deletions