]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[romprefix] Add a dummy ROM header to cover the .mrom payload
authorMichael Brown <mcb30@ipxe.org>
Sun, 10 Jun 2012 17:25:26 +0000 (18:25 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 12 Jun 2012 14:15:03 +0000 (15:15 +0100)
commit9e8d431a0d58caba3c5f65d4e30fd259d2f782e1
tree357391dd1bbd9b6f0d98dd099aafec60f9bdf80e
parent12be8bc544b25fbed1fa5ef6c89cad42aaa268ea
[romprefix] Add a dummy ROM header to cover the .mrom payload

The header of a .mrom image declares its length to be only a few
kilobytes; the remainder is accessed via a sideband mechanism.  This
makes it difficult to append an additional ROM image, such as an EFI
ROM.

Add a second, dummy ROM header covering the payload portion of the
.mrom image, allowing consumers to locate any appended ROM images in
the usual way.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/prefix/libprefix.S
src/arch/i386/prefix/mromprefix.S
src/arch/i386/prefix/romprefix.S
src/arch/i386/scripts/i386.lds
src/util/zbin.c