mirror of https://github.com/acidanthera/audk.git
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:
parent
c9f297559b
commit
f4c6c0fdb6
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Module for clarifying the content of the smbios structure element information.
|
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 2014 Hewlett-Packard Development Company, L.P.<BR>
|
||||||
(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
|
(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
|
@ -399,7 +399,7 @@ SmbiosPrintStructure (
|
||||||
// Processor Information (Type 4)
|
// Processor Information (Type 4)
|
||||||
//
|
//
|
||||||
case 4:
|
case 4:
|
||||||
PRINT_PENDING_STRING (Struct, Type4, Socket);
|
PRINT_SMBIOS_STRING (Struct, Struct->Type4->Socket, SocketDesignation)
|
||||||
DisplayProcessorType (Struct->Type4->ProcessorType, Option);
|
DisplayProcessorType (Struct->Type4->ProcessorType, Option);
|
||||||
if (AE_SMBIOS_VERSION (0x2, 0x6) && (Struct->Hdr->Length > 0x28) &&
|
if (AE_SMBIOS_VERSION (0x2, 0x6) && (Struct->Hdr->Length > 0x28) &&
|
||||||
(Struct->Type4->ProcessorFamily == 0xFE)) {
|
(Struct->Type4->ProcessorFamily == 0xFE)) {
|
||||||
|
|
Loading…
Reference in New Issue