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 <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>
This commit is contained in:
Star Zeng 2016-08-05 11:07:19 +08:00
parent c9f297559b
commit f4c6c0fdb6
1 changed files with 2 additions and 2 deletions

View File

@ -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.<BR>
Copyright (c) 2005 - 2016, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
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)) {