summaryrefslogtreecommitdiffstats
path: root/ShellPkg
diff options
context:
space:
mode:
authorJason Lou <yun.lou@intel.com>2024-02-29 13:58:56 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-03-04 07:38:26 +0000
commit3775122ede395d934198ffdb0c173875a5e94c00 (patch)
tree5fb83b830c01a4a5785c61abd4a38c3598f85839 /ShellPkg
parent47723854fd6dbe665ceb2dc214cbf88b8aa247ea (diff)
downloadedk2-3775122ede395d934198ffdb0c173875a5e94c00.tar.gz
edk2-3775122ede395d934198ffdb0c173875a5e94c00.tar.bz2
edk2-3775122ede395d934198ffdb0c173875a5e94c00.zip
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 <yun.lou@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Zhichao Gao <zhichao.gao@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhichao Gao <zhichao.gao@intel.com>
Diffstat (limited to 'ShellPkg')
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c34
1 files changed, 33 insertions, 1 deletions
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.<BR>
+ Copyright (c) 2005 - 2024, Intel Corporation. All rights reserved.<BR>
Copyright (c) 1985 - 2022, American Megatrends International LLC.<BR>
(C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
(C) Copyright 2015-2019 Hewlett Packard Enterprise Development LP<BR>
@@ -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);
}