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>
This commit is contained in:
Jason Lou 2024-02-29 13:58:56 +08:00 committed by mergify[bot]
parent 47723854fd
commit 3775122ede
1 changed files with 33 additions and 1 deletions

View File

@ -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);
}