Check to see if we've reached the end of the map before attempting to
authorMichael Brown <mcb30@etherboot.org>
Thu, 31 Aug 2006 13:25:45 +0000 (13:25 +0000)
committerMichael Brown <mcb30@etherboot.org>
Thu, 31 Aug 2006 13:25:45 +0000 (13:25 +0000)
commit78dd963c1fc423673a890c8b761e40906252bfef
tree5cc88d8ad0757a8310ae1b9397ef2e51efc5e746
parentc399e88aa3658c792e7a11896d99803b3cbdf3ba
Check to see if we've reached the end of the map before attempting to
skip past an empty region, otherwise we end up generating an infinitely
long e820 map.  (Yes, there *are* real systems that provide e820 maps
with a zero-length region at the end...)
src/arch/i386/firmware/pcbios/e820mangler.S