david/ipxe
Archived
1
0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src
Michael Brown ee0c24902a [util] Use PCI length field to obtain length of individual images
Option::ROM currently uses the initialisation length field (single
byte at offset 0x02) to determine the length of a ROM image within a
multi-image ROM file.  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.  Note that
this does not prevent us from correctly handling ISA ROMs, since ISA
ROMs do not support multiple images within a single ROM BAR anyway.

Inspired-by: Swift Geek <swiftgeek@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2014-08-26 15:17:56 +01:00
..
arch [prefix] Report both %esi and %ecx when opening payload fails 2014-08-26 15:17:34 +01:00
bin Rename .cvsignore files to .gitignore 2007-06-09 22:57:00 +01:00
config [build] Avoid using embedded script in VirtualBox named configuration 2014-08-22 20:43:11 +01:00
core [build] Expose build timestamp, build name, and product names 2014-06-24 15:32:35 +01:00
crypto [crypto] Fix debug message 2014-07-12 14:24:40 +01:00
doc [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
drivers [intel] Apply PBS/PBA errata workaround only to ICH8 PCI device IDs 2014-08-21 00:40:22 +01:00
hci [readline] Add CTRL-W shortcut to remove a word 2014-08-19 12:05:36 +01:00
image [efi] Move abstract device path and handle functions to efi_utils.c 2014-08-06 14:27:45 +01:00
include [efi] Add definitions of GUIDs observed during Windows boot 2014-08-21 17:49:12 +01:00
interface [efi] Dump details of any calls to our dummy block and disk I/O protocols 2014-08-22 14:57:15 +01:00
libgcc [build] Mark __intel_new_proc_init with __libgcc rather than cdecl 2009-08-03 15:56:10 +01:00
net [netdevice] Avoid registering duplicate network devices 2014-07-30 18:22:09 +01:00
tests [crypto] Add support for iPAddress subject alternative names 2014-07-11 16:55:14 +01:00
usr [lotest] Discard packets arriving on the incorrect network device 2014-07-29 15:20:49 +01:00
util [util] Use PCI length field to obtain length of individual images 2014-08-26 15:17:56 +01:00
.gitignore [build] Add support for local configuration files 2010-03-26 19:07:22 +00:00
doxygen.cfg [build] Remove PACKED macro 2010-05-29 23:49:47 +01:00
Makefile [build] Allow ISA ROMs to be built 2014-08-22 17:34:07 +01:00
Makefile.housekeeping [build] Avoid deleting config header files if build is interrupted 2014-08-26 15:08:46 +01:00