]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Add definitions for SMBIOS spec 3.1.1
authorStar Zeng <star.zeng@intel.com>
Sun, 22 Jan 2017 06:24:51 +0000 (14:24 +0800)
committerStar Zeng <star.zeng@intel.com>
Tue, 24 Jan 2017 10:11:50 +0000 (18:11 +0800)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=349

This patch is to add definitions for below items.
Processor Information (Type 4):
- add socket SP3r2
- add AMD Zen Processor Family
Management Controller Host Interface (Type 42):
- include Host Interface Type and Protocol Identifier enumerations

Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Include/IndustryStandard/SmBios.h

index f5c29bcbd0c8331ba3168e43264cc7a8c5e5c321..24b2efe92916f187c2c840d748f33f11d1cea46d 100644 (file)
@@ -611,6 +611,7 @@ typedef enum {
   ProcessorFamilyAmdOpteronX2000Series  = 0x68,\r
   ProcessorFamilyAmdOpteronASeries      = 0x69,\r
   ProcessorFamilyAmdOpteronX3000Series  = 0x6A,\r
+  ProcessorFamilyAmdZen                 = 0x6B,\r
   ProcessorFamilyHobbit                 = 0x70,\r
   ProcessorFamilyCrusoeTM5000           = 0x78,\r
   ProcessorFamilyCrusoeTM3000           = 0x79,\r
@@ -804,7 +805,8 @@ typedef enum {
   ProcessorUpgradeSocketBGA1440   = 0x34,\r
   ProcessorUpgradeSocketBGA1515   = 0x35,\r
   ProcessorUpgradeSocketLGA3647_1 = 0x36,\r
-  ProcessorUpgradeSocketSP3       = 0x37\r
+  ProcessorUpgradeSocketSP3       = 0x37,\r
+  ProcessorUpgradeSocketSP3r2     = 0x38\r
 } PROCESSOR_UPGRADE;\r
 \r
 ///\r
@@ -2385,6 +2387,25 @@ typedef struct {
   UINT8                             DevFuncNum;\r
 } SMBIOS_TABLE_TYPE41;\r
 \r
+///\r
+/// Management Controller Host Interface - Interface Types.\r
+/// 00h - 3Fh: MCTP Host Interfaces\r
+///\r
+typedef enum{\r
+  MCHostInterfaceTypeNetworkHostInterface       = 0x40,\r
+  MCHostInterfaceTypeOemDefined                 = 0xF0\r
+} MC_HOST_INTERFACE_TYPE;\r
+\r
+///\r
+/// Management Controller Host Interface - Protocol Types.\r
+///\r
+typedef enum{\r
+  MCHostInterfaceProtocolTypeIPMI               = 0x02,\r
+  MCHostInterfaceProtocolTypeMCTP               = 0x03,\r
+  MCHostInterfaceProtocolTypeRedfishOverIP      = 0x04,\r
+  MCHostInterfaceProtocolTypeOemDefined         = 0xF0\r
+} MC_HOST_INTERFACE_PROTOCOL_TYPE;\r
+\r
 ///\r
 /// Management Controller Host Interface (Type 42).\r
 ///\r
@@ -2404,7 +2425,7 @@ typedef struct {
 ///\r
 typedef struct {\r
   SMBIOS_STRUCTURE                  Hdr;\r
-  UINT8                             InterfaceType;\r
+  UINT8                             InterfaceType;          ///< The enumeration value from MC_HOST_INTERFACE_TYPE\r
   UINT8                             MCHostInterfaceData[1]; ///< This field has a minimum of four bytes\r
 } SMBIOS_TABLE_TYPE42;\r
 \r