summaryrefslogtreecommitdiff
path: root/src/include/smbios.h
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-05-25 11:17:15 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-05-28 13:27:15 +0000
commitb72f5949ccefe060baf509a8ee2c6a7f0e197d91 (patch)
tree28b8e3813b449c39520bb00d036e64d748ebebf5 /src/include/smbios.h
parent23e3ea889f62d0052ac8ec4815937344e60cb213 (diff)
tree: Add smbios_processor_type
Change-Id: I46f799ad255993ac42dab11b5c1d2608daa52b42 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82645 Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/smbios.h')
-rw-r--r--src/include/smbios.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/smbios.h b/src/include/smbios.h
index 63e80d90cf..0fe2b9c274 100644
--- a/src/include/smbios.h
+++ b/src/include/smbios.h
@@ -496,6 +496,15 @@ struct smbios_type4 {
#define SMBIOS_PROCESSOR_STATUS_POPULATED (1 << 6)
#define SMBIOS_PROCESSOR_STATUS_CPU_ENABLED (1 << 0)
+enum smbios_processor_type {
+ SMBIOS_PROCESSOR_TYPE_OTHER = 0x01,
+ SMBIOS_PROCESSOR_TYPE_UNKNOWN = 0x02,
+ SMBIOS_PROCESSOR_TYPE_CENTRAL = 0x03,
+ SMBIOS_PROCESSOR_TYPE_MATH = 0x04,
+ SMBIOS_PROCESSOR_TYPE_DSP = 0x05,
+ SMBIOS_PROCESSOR_TYPE_VIDEO = 0x06,
+};
+
/* enum for socket type */
enum smbios_processor_upgrade_field {
PROCESSOR_UPGRADE_OTHER = 0x01,