commit | 3beba4ad34649e053b97c5a61cd7de55bc718866 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue May 11 21:03:16 2021 +0200 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 06 10:38:03 2021 -0600 |
tree | 73b52805b973ffe34fde19d63204b6a89426a12d | |
parent | b953ec2bca1ebe059366e870eb4bec5e7af9c36b [diff] |
sandbox: ensure that state->ram_buf is in low memory Addresses in state->ram_buf must be in the low 4 GiB of the address space. Otherwise we cannot correctly fill SMBIOS tables. This shows up in warnings like: WARNING: SMBIOS table_address overflow 7f752735e020 Ensure that state->ram_buf is initialized by the first invocation of os_malloc(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>