From f4c6c0fdb61b0e9198d919cb4056b2961758e3fd Mon Sep 17 00:00:00 2001 From: Star Zeng Date: Fri, 5 Aug 2016 11:07:19 +0800 Subject: [PATCH] ShellPkg SmbiosView: Show "SocketDesignation" instead of "Socket" for Type 4 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 Reviewed-by: Jaben Carsey Reviewed-by: Amy Chan --- .../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 3f99dc4825..7e17b69d5a 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.39.2