[PATCH 0/5] smbios: Deal with tables beyond 4GB
Simon Glass
sjg at chromium.org
Sun Oct 8 23:36:39 CEST 2023
When the malloc() region extends beyond 4GB on ARM we may end up with
an SMBIOS table in that region.
Add support for writing an SMBIOS3 table, which supports a 64-bit
address.
Note that this problem does not happen on x86 since it requires the
tables to be placed just below 1MB in memory, unless
CONFIG_BLOBLIST_TABLES is enabled.
Simon Glass (5):
smbios: Refactor 32-bit code into an else statement
smbios: Move the rest of the SMBIOS2 code
smbios: Use SMBIOS 3.0 to support an address above 4GB
efi: Use the correct GUID for the SMBIOS table
smbios: Require the caller to align the SMBIOS table
include/efi_api.h | 4 ++
include/smbios.h | 27 ++++++++++---
lib/efi_loader/efi_smbios.c | 12 +++++-
lib/smbios.c | 77 ++++++++++++++++++++++---------------
4 files changed, 82 insertions(+), 38 deletions(-)
--
2.42.0.609.gbb76f46606-goog
More information about the U-Boot
mailing list