From bd9da7b1da2639fcea8a156fa92a32bbc4209367 Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Fri, 4 Dec 2020 13:11:26 +0800 Subject: MdePkg,ShellPkg: Fix typo in SMBIOS_TABLE_TYPE4 field ProcessorManufacturer In SmBios.h, the SMBIOS_TABLE_TYPE4 field "ProcessorManufacture" should be "ProcessorManufacturer". Also, update SmbiosView PrintInfo.c to use the new field name. Signed-off-by: Rebecca Cran Reviewed-by: Liming Gao --- MdePkg/Include/IndustryStandard/SmBios.h | 2 +- ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h index 400bdef90b..ac2498482a 100644 --- a/MdePkg/Include/IndustryStandard/SmBios.h +++ b/MdePkg/Include/IndustryStandard/SmBios.h @@ -894,7 +894,7 @@ typedef struct { SMBIOS_TABLE_STRING Socket; UINT8 ProcessorType; ///< The enumeration value from PROCESSOR_TYPE_DATA. UINT8 ProcessorFamily; ///< The enumeration value from PROCESSOR_FAMILY_DATA. - SMBIOS_TABLE_STRING ProcessorManufacture; + SMBIOS_TABLE_STRING ProcessorManufacturer; PROCESSOR_ID_DATA ProcessorId; SMBIOS_TABLE_STRING ProcessorVersion; PROCESSOR_VOLTAGE Voltage; diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c index 478811f0fd..3d12b25bf9 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c @@ -427,7 +427,7 @@ SmbiosPrintStructure ( } else { DisplayProcessorFamily (Struct->Type4->ProcessorFamily, Option); } - PRINT_PENDING_STRING (Struct, Type4, ProcessorManufacture); + PRINT_PENDING_STRING (Struct, Type4, ProcessorManufacturer); PRINT_BIT_FIELD (Struct, Type4, ProcessorId, 8); PRINT_PENDING_STRING (Struct, Type4, ProcessorVersion); DisplayProcessorVoltage (*(UINT8 *) &(Struct->Type4->Voltage), Option); -- cgit v1.2.3