From 043026ac12c29703bb7e3c19b9ae5e8177bb554b Mon Sep 17 00:00:00 2001 From: Star Zeng Date: Sun, 22 Jan 2017 14:24:51 +0800 Subject: [PATCH] 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 Cc: Michael Kinney Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Liming Gao --- MdePkg/Include/IndustryStandard/SmBios.h | 25 ++++++++++++++++++++++-- 1 file 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; /// @@ -2385,6 +2387,25 @@ typedef struct { UINT8 DevFuncNum; } 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). /// @@ -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; -- 2.39.2