summaryrefslogtreecommitdiffstats
path: root/src/interface
diff options
context:
space:
mode:
authorMichael Brown2008-09-23 02:13:28 +0200
committerMichael Brown2008-09-23 02:13:28 +0200
commitca0b0f061673b27bb7bfa6f62e99385273c097da (patch)
treecf2c06b66558f8f85fbf69e37af1885f189c7d7e /src/interface
parent[memmap] Allow for 4GB+ systems in debug message (diff)
downloadipxe-ca0b0f061673b27bb7bfa6f62e99385273c097da.tar.gz
ipxe-ca0b0f061673b27bb7bfa6f62e99385273c097da.tar.xz
ipxe-ca0b0f061673b27bb7bfa6f62e99385273c097da.zip
[relocate] Guard against systems that report empty memory regions
If the INT 15,e820 memory map reports a region [0,0), this confuses the "truncate to even megabytes" logic, which ends up rounding the region 'down' to [0,fff00000). Fix by ensuring that the region's end address is at least 1, before we subtract 1 to obtain the "last byte in region" address.
Diffstat (limited to 'src/interface')
0 files changed, 0 insertions, 0 deletions