summaryrefslogtreecommitdiffstats
path: root/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2017-01-22 14:50:23 +0800
committerStar Zeng <star.zeng@intel.com>2017-01-24 18:11:52 +0800
commit5734d486b6aa0b69a39b2c8d52b355400bcf2551 (patch)
treea9909ac62f02a0bd5ec23e59e2b79102fb2e9709 /ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
parent4fa7b3e24a442b803e8cba338d2694bfab539a31 (diff)
downloadedk2-5734d486b6aa0b69a39b2c8d52b355400bcf2551.tar.gz
edk2-5734d486b6aa0b69a39b2c8d52b355400bcf2551.tar.bz2
edk2-5734d486b6aa0b69a39b2c8d52b355400bcf2551.zip
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>
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c')
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
index ecb8e24924..1d6002b925 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
@@ -1106,7 +1106,7 @@ SmbiosPrintStructure (
// Management Controller Host Interface (Type 42)
//
case 42:
- PRINT_STRUCT_VALUE_H (Struct, Type42, InterfaceType);
+ DisplayMCHostInterfaceType (Struct->Type42->InterfaceType, Option);
break;
//
@@ -1818,6 +1818,10 @@ DisplayProcessorFamily (
Print (L"AMD Opteron(TM) X3000 Series APU\n");
break;
+ case 0x6B:
+ Print (L"AMD Zen Processor Family\n");
+ break;
+
case 0x70:
ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_HOBBIT_FAMILY), gShellDebug1HiiHandle);
break;