diff options
| author | Michael Brown | 2014-08-26 13:29:54 +0200 |
|---|---|---|
| committer | Michael Brown | 2014-08-26 16:17:56 +0200 |
| commit | 3937274cfbde767ff07e839c5b45a21a0b248148 (patch) | |
| tree | 63618b96512063981aaf444354c29a363ce95de3 /src/interface/efi | |
| parent | [util] Use PCI length field to obtain length of individual images (diff) | |
| download | ipxe-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/efi')
0 files changed, 0 insertions, 0 deletions
