]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg SmbiosView: Show "SocketDesignation" instead of "Socket" for Type 4
authorStar Zeng <star.zeng@intel.com>
Fri, 5 Aug 2016 03:07:19 +0000 (11:07 +0800)
committerStar Zeng <star.zeng@intel.com>
Mon, 8 Aug 2016 09:00:20 +0000 (17:00 +0800)
It is to make the info shown more aligned with SMBIOS spec.

Cc: Amy Chan <amy.chan@intel.com>
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: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Amy Chan <amy.chan@intel.com>
ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c

index 3f99dc4825dc027070b6250e30930d1686c598f6..7e17b69d5afa63537cbf3c0e1e3cf99891270a4c 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Module for clarifying the content of the smbios structure element information.\r
 \r
-  Copyright (c) 2005 - 2015, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2005 - 2016, Intel Corporation. All rights reserved.<BR>\r
   (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>  \r
   (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
   This program and the accompanying materials\r
@@ -399,7 +399,7 @@ SmbiosPrintStructure (
   // Processor Information (Type 4)\r
   //\r
   case 4:\r
-    PRINT_PENDING_STRING (Struct, Type4, Socket);\r
+    PRINT_SMBIOS_STRING (Struct, Struct->Type4->Socket, SocketDesignation)\r
     DisplayProcessorType (Struct->Type4->ProcessorType, Option);\r
     if (AE_SMBIOS_VERSION (0x2, 0x6) && (Struct->Hdr->Length > 0x28) &&\r
         (Struct->Type4->ProcessorFamily == 0xFE)) {\r