diff options
author | Star Zeng <star.zeng@intel.com> | 2017-01-22 14:24:51 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2017-01-24 18:11:50 +0800 |
commit | 043026ac12c29703bb7e3c19b9ae5e8177bb554b (patch) | |
tree | eda1caa5cca0b207ed8f7d958d0e51a77a675ee4 | |
parent | 6a12538657f885ac9249dfb942d16ec89df2244a (diff) | |
download | edk2-platforms-043026ac12c29703bb7e3c19b9ae5e8177bb554b.tar.xz |
MdePkg: Add definitions for SMBIOS spec 3.1.1
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>
-rw-r--r-- | MdePkg/Include/IndustryStandard/SmBios.h | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h index f5c29bcbd0..24b2efe929 100644 --- a/MdePkg/Include/IndustryStandard/SmBios.h +++ b/MdePkg/Include/IndustryStandard/SmBios.h @@ -611,6 +611,7 @@ typedef enum { ProcessorFamilyAmdOpteronX2000Series = 0x68,
ProcessorFamilyAmdOpteronASeries = 0x69,
ProcessorFamilyAmdOpteronX3000Series = 0x6A,
+ ProcessorFamilyAmdZen = 0x6B,
ProcessorFamilyHobbit = 0x70,
ProcessorFamilyCrusoeTM5000 = 0x78,
ProcessorFamilyCrusoeTM3000 = 0x79,
@@ -804,7 +805,8 @@ typedef enum { ProcessorUpgradeSocketBGA1440 = 0x34,
ProcessorUpgradeSocketBGA1515 = 0x35,
ProcessorUpgradeSocketLGA3647_1 = 0x36,
- ProcessorUpgradeSocketSP3 = 0x37
+ ProcessorUpgradeSocketSP3 = 0x37,
+ ProcessorUpgradeSocketSP3r2 = 0x38
} PROCESSOR_UPGRADE;
///
@@ -2386,6 +2388,25 @@ typedef struct { } SMBIOS_TABLE_TYPE41;
///
+/// Management Controller Host Interface - Interface Types.
+/// 00h - 3Fh: MCTP Host Interfaces
+///
+typedef enum{
+ MCHostInterfaceTypeNetworkHostInterface = 0x40,
+ MCHostInterfaceTypeOemDefined = 0xF0
+} MC_HOST_INTERFACE_TYPE;
+
+///
+/// Management Controller Host Interface - Protocol Types.
+///
+typedef enum{
+ MCHostInterfaceProtocolTypeIPMI = 0x02,
+ MCHostInterfaceProtocolTypeMCTP = 0x03,
+ MCHostInterfaceProtocolTypeRedfishOverIP = 0x04,
+ MCHostInterfaceProtocolTypeOemDefined = 0xF0
+} MC_HOST_INTERFACE_PROTOCOL_TYPE;
+
+///
/// Management Controller Host Interface (Type 42).
///
/// The information in this structure defines the attributes of a Management
@@ -2404,7 +2425,7 @@ typedef struct { ///
typedef struct {
SMBIOS_STRUCTURE Hdr;
- UINT8 InterfaceType;
+ UINT8 InterfaceType; ///< The enumeration value from MC_HOST_INTERFACE_TYPE
UINT8 MCHostInterfaceData[1]; ///< This field has a minimum of four bytes
} SMBIOS_TABLE_TYPE42;
|