diff options
author | Petr Borsodi | 2019-01-16 17:37:57 +0100 |
---|---|---|
committer | Michael Brown | 2019-01-21 12:56:35 +0100 |
commit | 3f4c179a149c4feb3f0ea777aeddffa06bed0a27 (patch) | |
tree | acfed83628d28b2572aa270262dd95b50c6947b6 /src/include/ipxe/posix_io.h | |
parent | [zbin] Fix compiler warning with GCC 9 (diff) | |
download | ipxe-3f4c179a149c4feb3f0ea777aeddffa06bed0a27.tar.gz ipxe-3f4c179a149c4feb3f0ea777aeddffa06bed0a27.tar.xz ipxe-3f4c179a149c4feb3f0ea777aeddffa06bed0a27.zip |
[util] Improve processing of ROM images in Option::ROM
The Option::ROM module now compares the Code Type in the PCIR header
to 0x00 (PC-AT) in order to check the presence of other header types
(PnP, UNDI, iPXE, etc). The validity of these headers are checked not
only by offset, but by range and signature checks also. The image
checksum and initial size also depends on Code Type.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/posix_io.h')
0 files changed, 0 insertions, 0 deletions