[pcbios] Allow for larger-than-20-byte buffers in e820mangler.S
authorMichael Brown <mcb30@etherboot.org>
Mon, 29 Sep 2008 04:11:51 +0000 (05:11 +0100)
committerMichael Brown <mcb30@etherboot.org>
Mon, 29 Sep 2008 04:11:51 +0000 (05:11 +0100)
commit1dda75c9cdca7105733bfc21e8b4b6d46df19113
tree0533439bb5433ba90f4c709bad3a0465d3b9b55c
parent040f7cdf3a99ed56a4487efc8e131c84984925bf
[pcbios] Allow for larger-than-20-byte buffers in e820mangler.S

Although the E820 API allows for a caller to provide only a 20-byte
buffer, there exists at least one combination (HP BIOS, 32-bit WinPE)
that relies on information found only in the "extended attributes"
field, which requires a 24-byte buffer.

Allow for up to a 64-byte E820 buffer, in the hope of coping with
future idiocies like this one.
src/arch/i386/firmware/pcbios/e820mangler.S