commit | 4db444b9a78abf9f6dc981f0e79db749765dc6e8 | [log] [tgz] |
---|---|---|
author | José Martínez <xose@google.com> | Tue Jun 13 11:01:34 2023 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Tue Jun 13 11:01:34 2023 -0400 |
tree | 12345770c63bb1b86fe295a315fe3f04e5a86a5a | |
parent | be7e899350caa7b74d8271a34264c3b4aef25ab0 [diff] |
Fix high memory zone initialization in CSM mode malloc_high() cannot allocate any memory in CSM mode due to an empty ZoneHigh. SeaBIOS cannot find any disk to boot from because device initialization fails. The bug was introduced in 1.16.1 (commit dc88f9b) when the meaning of BUILD_MAX_HIGHTABLE changed but CSM code was not updated. This patch reverts to the previous behavior by using BUILD_MIN_HIGHTABLE in CSM methods. Signed-off-by: José Martínez <xose@google.com>