diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-05-11 21:03:16 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-07-06 10:38:03 -0600 |
commit | 3beba4ad34649e053b97c5a61cd7de55bc718866 (patch) | |
tree | 73b52805b973ffe34fde19d63204b6a89426a12d /drivers/core/root.c | |
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>
Diffstat (limited to 'drivers/core/root.c')
0 files changed, 0 insertions, 0 deletions