]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
ShellPkg: Parse new SMBIOS 3.0 fields.
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / SmbiosView / PrintInfo.c
index 8a7e01ea1e9629365c22670458042470bbc03697..a3b99b8fbfece6968bd1ca4fdb83ce7a9e1be287 100644 (file)
@@ -363,6 +363,11 @@ SmbiosPrintStructure (
       PRINT_STRUCT_VALUE (Struct, Type4, ThreadCount);\r
       DisplayProcessorCharacteristics (Struct->Type4->ProcessorCharacteristics, Option);\r
     }\r
+    if (AE_SMBIOS_VERSION (0x3, 0x0) && (Struct->Hdr->Length > 0x2A)) {\r
+      PRINT_STRUCT_VALUE (Struct, Type4, CoreCount2);\r
+      PRINT_STRUCT_VALUE (Struct, Type4, EnabledCoreCount2);\r
+      PRINT_STRUCT_VALUE (Struct, Type4, ThreadCount2);\r
+    }\r
     break;\r
 \r
   //\r