diff options
author | Benjamin Doron <benjamin.doron@9elements.com> | 2023-06-14 19:03:04 -0400 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2024-05-25 06:58:23 +0000 |
commit | 69bc2cc7dedb5647f9e8a3fa6513c46ee09c57a0 (patch) | |
tree | f28df0236d4703e1611c662f0d04af682a21a501 /src/include/smbios.h | |
parent | f27b22ab4e7001c4de40d721a5e0be46b8349a06 (diff) |
arch/arm64: Implement initial set of SMBIOS tables
Implement the two architectural tables: processor and cache.
Note that SoC/board code should override core-thread count
and, for spec-compliance, create CBMEM_ID_MEMINFO.
Change-Id: Iedae0f26f168bd6d3af866e35d9d39ddb01abc15
Signed-off-by: Benjamin Doron <benjamin.doron@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78285
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/include/smbios.h')
-rw-r--r-- | src/include/smbios.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/smbios.h b/src/include/smbios.h index d4ae662c57..63e80d90cf 100644 --- a/src/include/smbios.h +++ b/src/include/smbios.h @@ -70,6 +70,7 @@ const char *smbios_system_version(void); void smbios_system_set_uuid(u8 *uuid); const char *smbios_system_sku(void); +void smbios_cpu_get_core_counts(u16 *core_count, u16 *thread_count); unsigned int smbios_cpu_get_max_speed_mhz(void); unsigned int smbios_cpu_get_current_speed_mhz(void); unsigned int smbios_cpu_get_voltage(void); |