prepcore: error out if the compressed image is too large to load
authorH. Peter Anvin <hpa@zytor.com>
Mon, 1 Jun 2009 21:47:45 +0000 (14:47 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 1 Jun 2009 21:47:45 +0000 (14:47 -0700)
commit7b5d546fdbf1d330ecc18d4c5b5d15db7cb5c783
tree0545f8454ce6ba9215c4f322d8ffad401da367ec
parentd24dee1326c10b0488fe0bdaccb819854a2325c8
prepcore: error out if the compressed image is too large to load

Export, from each loader stage, the symbol MaxLMA which indicates to
prepcore how big the image is allowed to be.  Change prepcore to
enforce this limit and to error out otherwise.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/common.inc
core/diskstart.inc
core/isolinux.asm
core/layout.inc
core/prefix.inc [new file with mode: 0644]
core/pxelinux.asm
lzo/prepcore.c