[mromprefix] Allow for .mrom images larger than 128kB
authorMichael Brown <mcb30@ipxe.org>
Tue, 26 Aug 2014 11:33:40 +0000 (12:33 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 26 Aug 2014 14:17:56 +0000 (15:17 +0100)
commit8049a528402f0a6d9e2d2eac8461e6431974cff3
tree916ecbf29e43793f73e346e8cae41fa8226b84b8
parent3937274cfbde767ff07e839c5b45a21a0b248148
[mromprefix] Allow for .mrom images larger than 128kB

The .mrom payload has a code type of 0xff and so the initialisation
length field (single byte at offset 0x02) does not need to be
present.  Use only the PCI header's image length field, which allows
the .mrom payload to be up to 32MB in size.

Inspired-by: Swift Geek <swiftgeek@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/prefix/mromprefix.S