diff options
author | Elvin Li <elvin.li@intel.com> | 2015-02-27 02:10:57 +0000 |
---|---|---|
committer | li-elvin <li-elvin@Edk2> | 2015-02-27 02:10:57 +0000 |
commit | 1581c9a2b8b49bef341cb9549e1e69e2d12e87cd (patch) | |
tree | a526f2599f822f3b8d48b8a6e7fcf3330cba533c /ShellPkg | |
parent | 6d60dfea870182cfed9bfe612316619786afb848 (diff) | |
download | edk2-platforms-1581c9a2b8b49bef341cb9549e1e69e2d12e87cd.tar.xz |
ShellPkg: Parse new SMBIOS 3.0 fields.
Parse new SMBIOS 3.0 fields in Type 4: Core Count 2, Core Enabled 2, Thread Count 2.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16943 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg')
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c index 8a7e01ea1e..a3b99b8fbf 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c @@ -363,6 +363,11 @@ SmbiosPrintStructure ( PRINT_STRUCT_VALUE (Struct, Type4, ThreadCount);
DisplayProcessorCharacteristics (Struct->Type4->ProcessorCharacteristics, Option);
}
+ if (AE_SMBIOS_VERSION (0x3, 0x0) && (Struct->Hdr->Length > 0x2A)) {
+ PRINT_STRUCT_VALUE (Struct, Type4, CoreCount2);
+ PRINT_STRUCT_VALUE (Struct, Type4, EnabledCoreCount2);
+ PRINT_STRUCT_VALUE (Struct, Type4, ThreadCount2);
+ }
break;
//
|