summaryrefslogtreecommitdiffstats
path: root/src/interface
diff options
context:
space:
mode:
authorMichael Brown2014-08-26 13:29:54 +0200
committerMichael Brown2014-08-26 16:17:56 +0200
commit3937274cfbde767ff07e839c5b45a21a0b248148 (patch)
tree63618b96512063981aaf444354c29a363ce95de3 /src/interface
parent[util] Use PCI length field to obtain length of individual images (diff)
downloadipxe-3937274cfbde767ff07e839c5b45a21a0b248148.tar.gz
ipxe-3937274cfbde767ff07e839c5b45a21a0b248148.tar.xz
ipxe-3937274cfbde767ff07e839c5b45a21a0b248148.zip
[mromprefix] Use PCI length field to obtain length of individual images
mromprefix.S currently uses the initialisation length field (single byte at offset 0x02) to determine the length of a ROM image within a multi-image ROM BAR. For PCI ROM images with a code type other than 0, the initialisation length field may not be present. Fix by using the PCI header's image length field instead. Inspired-by: Swift Geek <swiftgeek@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface')
0 files changed, 0 insertions, 0 deletions