From 3775122ede395d934198ffdb0c173875a5e94c00 Mon Sep 17 00:00:00 2001 From: Jason Lou Date: Thu, 29 Feb 2024 13:58:56 +0800 Subject: ShellPkg/SmbiosView: Support New ProcessorFamily for SMBIOS Type4 The patch updates SmbiosView to support new ProcessorFamily for SMBIOS Type4 based on SMBIOS 3.8.0. Signed-off-by: Jason Lou Reviewed-by: Liming Gao Reviewed-by: Star Zeng Reviewed-by: Zhichao Gao Cc: Liming Gao Cc: Zhichao Gao --- .../SmbiosView/PrintInfo.c | 34 +++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) (limited to 'ShellPkg') diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c index 4f29eedc58..f96317b314 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 - 2018, Intel Corporation. All rights reserved.
+ Copyright (c) 2005 - 2024, Intel Corporation. All rights reserved.
Copyright (c) 1985 - 2022, American Megatrends International LLC.
(C) Copyright 2014 Hewlett-Packard Development Company, L.P.
(C) Copyright 2015-2019 Hewlett Packard Enterprise Development LP
@@ -2678,6 +2678,38 @@ DisplayProcessorFamily2 ( Print (L"MultiCoreLoongson3D\n"); break; + case 0x300: + Print (L"IntelCore3\n"); + break; + + case 0x301: + Print (L"IntelCore5\n"); + break; + + case 0x302: + Print (L"IntelCore7\n"); + break; + + case 0x303: + Print (L"IntelCore9\n"); + break; + + case 0x304: + Print (L"IntelCoreUltra3\n"); + break; + + case 0x305: + Print (L"IntelCoreUltra5\n"); + break; + + case 0x306: + Print (L"IntelCoreUltra7\n"); + break; + + case 0x307: + Print (L"IntelCoreUltra9\n"); + break; + default: ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_SMBIOSVIEW_PRINTINFO_UNDEFINED_PROC_FAMILY), gShellDebug1HiiHandle); } -- cgit v1.2.3