mboot.c32: don't rely on possibly incomplete fields
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 8 Jun 2010 21:37:14 +0000 (14:37 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 8 Jun 2010 21:37:14 +0000 (14:37 -0700)
commit0153498e9ce97fbf7329b590ddb7a373e33b12e6
treeeca89db9ea74e9620f8ebe04a7c44f5edac884cc
parentac968004da9f0003db92e9becca828c2685a24ad
mboot.c32: don't rely on possibly incomplete fields

Since load_end_addr and bss_end_addr may be incomplete, we can't
actually use them for information.  An alternative would be to
actually modify these fields in-memory, but it is unclear if that is
permitted by the spec.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
com32/mboot/map.c