From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by ml01.01.org (Postfix) with ESMTP id 346F91A1DFC for ; Fri, 5 Aug 2016 02:01:49 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 05 Aug 2016 02:01:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,473,1464678000"; d="scan'208";a="860204977" Received: from huoqingc-mobl.ccr.corp.intel.com (HELO LZENG14-MOBL1.ccr.corp.intel.com) ([10.255.30.107]) by orsmga003.jf.intel.com with ESMTP; 05 Aug 2016 02:01:47 -0700 From: Star Zeng To: edk2-devel@lists.01.org Cc: Star Zeng , Amy Chan , Ruiyu Ni , Jaben Carsey Date: Fri, 5 Aug 2016 17:01:43 +0800 Message-Id: <1470387703-22276-1-git-send-email-star.zeng@intel.com> X-Mailer: git-send-email 2.8.1.windows.1 Subject: [PATCH] ShellPkg SmbiosView: Show "SocketDesignation" instead of "Socket" for Type 4 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2016 09:01:49 -0000 It is to make the info shown more aligned with SMBIOS spec. Cc: Amy Chan Cc: Ruiyu Ni Cc: Jaben Carsey Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c index 3f99dc4825dc..7e17b69d5afa 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c @@ -1,7 +1,7 @@ /** @file Module for clarifying the content of the smbios structure element information. - Copyright (c) 2005 - 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2005 - 2016, Intel Corporation. All rights reserved.
(C) Copyright 2014 Hewlett-Packard Development Company, L.P.
(C) Copyright 2015 Hewlett Packard Enterprise Development LP
This program and the accompanying materials @@ -399,7 +399,7 @@ SmbiosPrintStructure ( // Processor Information (Type 4) // case 4: - PRINT_PENDING_STRING (Struct, Type4, Socket); + PRINT_SMBIOS_STRING (Struct, Struct->Type4->Socket, SocketDesignation) DisplayProcessorType (Struct->Type4->ProcessorType, Option); if (AE_SMBIOS_VERSION (0x2, 0x6) && (Struct->Hdr->Length > 0x28) && (Struct->Type4->ProcessorFamily == 0xFE)) { -- 2.8.1.windows.1