ShellPkg SmbiosView: Add missing decoding of SMBIOS spec 3.0.0

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

When I am adding SMBIOS spec 3.1.0 support, I found the decoding
of SMBIOS spec 3.0.0 for some definitions is missing.

Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
This commit is contained in:
Star Zeng
2017-01-12 18:21:29 +08:00
parent 5ab0ffc9f6
commit c326e0780a
2 changed files with 97 additions and 1 deletions

View File

@ -1,7 +1,7 @@
/** @file
Module for clarifying the content of the smbios structure element information.
Copyright (c) 2005 - 2016, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2005 - 2017, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
(C) Copyright 2015-2017 Hewlett Packard Enterprise Development LP<BR>
This program and the accompanying materials
@ -1580,6 +1580,10 @@ DisplayProcessorFamily (
ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_INTEL_ATOM), gShellDebug1HiiHandle);
break;
case 0x2C:
Print (L"Intel(R) Core(TM) M processor\n");
break;
case 0x30:
ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_ALPHA_FAMILY_2), gShellDebug1HiiHandle);
break;
@ -1768,6 +1772,18 @@ DisplayProcessorFamily (
Print (L"68030\n");
break;
case 0x66:
Print (L"AMD Athlon(TM) X4 Quad-Core Processor Family\n");
break;
case 0x67:
Print (L"AMD Opteron(TM) X1000 Series Processor\n");
break;
case 0x68:
Print (L"AMD Opteron(TM) X2000 Series APU\n");
break;
case 0x70:
ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_HOBBIT_FAMILY), gShellDebug1HiiHandle);
break;