]> Git Repo - J-u-boot.git/commit - include/smbios.h
smbios: Use SMBIOS 3.0 to support an address above 4GB
authorSimon Glass <[email protected]>
Sun, 31 Dec 2023 15:25:47 +0000 (08:25 -0700)
committerSimon Glass <[email protected]>
Sun, 7 Jan 2024 20:45:06 +0000 (13:45 -0700)
commit70924294f375c351339f029b9615b52608e04cf4
tree0439d95d7bb8926aacede0981ccb8ce55c1fca6b
parentde4b91ca686f1bedf46319f31b626cfe26665810
smbios: Use SMBIOS 3.0 to support an address above 4GB

When the SMBIOS table is written to an address above 4GB a 32-bit table
address is not large enough.

Use an SMBIOS3 table in that case.

Note that we cannot use efi_allocate_pages() since this function has
nothing to do with EFI. There is no equivalent function to allocate
memory below 4GB in U-Boot. One solution would be to create a separate
malloc() pool, or just always put the malloc() pool below 4GB.

- Use log_debug() for warning
- Rebase on Heinrich's smbios.h patch
- Set the checksum for SMBIOS3

Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
include/smbios.h
lib/smbios.c
This page took 0.03376 seconds and 4 git commands to generate.