aboutsummaryrefslogtreecommitdiff
path: root/include/smbios.h
diff options
context:
space:
mode:
authorAlexander Graf2016-08-19 01:23:28 +0200
committerAlexander Graf2016-10-19 09:01:52 +0200
commit96476206c54ee9c94e5994d96f52ec9d2063967a (patch)
treed666c398f68ffdf4035c27466f999f044eb8ff43 /include/smbios.h
parent94eaa79cecf98300974c99d935ff653c9418de21 (diff)
smbios: Generate type 4 on non-x86 systems
The type 4 table generation code is very x86 centric today. Refactor things out into the device model cpu class to allow the tables to get generated for other architectures as well. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/smbios.h')
-rw-r--r--include/smbios.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/smbios.h b/include/smbios.h
index 5962d4ca2b0..3cbc6876047 100644
--- a/include/smbios.h
+++ b/include/smbios.h
@@ -139,6 +139,9 @@ struct __packed smbios_type3 {
#define SMBIOS_PROCESSOR_STATUS_ENABLED 1
#define SMBIOS_PROCESSOR_UPGRADE_NONE 6
+#define SMBIOS_PROCESSOR_FAMILY_OTHER 1
+#define SMBIOS_PROCESSOR_FAMILY_UNKNOWN 2
+
struct __packed smbios_type4 {
u8 type;
u8 length;