
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(-)