ShellPkg SmbiosView: Add decoding of SMBIOS spec 3.1.1

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=349

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
This commit is contained in:
Star Zeng
2017-01-22 14:50:23 +08:00
parent 4fa7b3e24a
commit 5734d486b6
4 changed files with 57 additions and 3 deletions

View File

@ -575,6 +575,10 @@ TABLE_ITEM ProcessorUpgradeTable[] = {
{
0x37,
L"Socket SP3"
},
{
0x38,
L"Socket SP3r2"
}
};
@ -3156,6 +3160,22 @@ TABLE_ITEM IPMIDIBMCInterfaceTypeTable[] = {
},
};
TABLE_ITEM MCHostInterfaceTypeTable[] = {
{
0x3F00,
L" MCTP Host Interface "
},
{
0x40,
L" Network Host Interface "
},
{
0xF0,
L" OEM defined "
},
};
TABLE_ITEM StructureTypeInfoTable[] = {
{
0,
@ -4524,6 +4544,23 @@ DisplayIPMIDIBMCInterfaceType (
PRINT_TABLE_ITEM (IPMIDIBMCInterfaceTypeTable, Key);
}
/**
Display Management Controller Host Interface (Type 42) information.
@param[in] Key The key of the structure.
@param[in] Option The optional information.
**/
VOID
DisplayMCHostInterfaceType (
IN UINT8 Key,
IN UINT8 Option
)
{
ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_QUERYTABLE_MC_HOST_INTERFACE_TYPE), gShellDebug1HiiHandle);
PRINT_INFO_OPTION (Key, Option);
PRINT_TABLE_ITEM (MCHostInterfaceTypeTable, Key);
}
/**
Display the structure type information.