Please separate it to two commits. One is for MdePkg, another is for
ShellPkg. 

Thanks
Liming
> -----邮件原件-----
> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Jason Lou
> 发送时间: 2024年2月24日 0:11
> 收件人: devel@edk2.groups.io
> 抄送: Jason Lou <yun....@intel.com>; Zhiguang Liu
<zhiguang....@intel.com>;
> Dandan Bi <dandan...@intel.com>; Star Zeng <star.z...@intel.com>; Zhichao
> Gao <zhichao....@intel.com>; Benny Lin <benny....@intel.com>; Gua Guo
> <gua....@intel.com>; Michael D Kinney <michael.d.kin...@intel.com>;
> Liming Gao <gaolim...@byosoft.com.cn>
> 主题: [edk2-devel] [PATCH v3] MdePkg/SmBios.h: Add New ProcessorFamily
> definitions for SMBIOS Type4
> 
> From: Jason Lou <yun....@intel.com>
> 
> The patch adds new ProcessorFamily definitions for SMBIOS Type4 based on
> SMBIOS 3.8.0.
> 
> Signed-off-by: Jason Lou <yun....@intel.com>
> Cc: Zhiguang Liu <zhiguang....@intel.com>
> Cc: Dandan Bi <dandan...@intel.com>
> Cc: Star Zeng <star.z...@intel.com>
> Cc: Zhichao Gao <zhichao....@intel.com>
> Cc: Benny Lin <benny....@intel.com>
> Cc: Gua Guo <gua....@intel.com>
> Cc: Michael D Kinney <michael.d.kin...@intel.com>
> Cc: Liming Gao <gaolim...@byosoft.com.cn>
> ---
>  ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c |
> 34 +++++++++++++++++++-
>  MdePkg/Include/IndustryStandard/SmBios.h
> | 14 ++++++--
>  2 files changed, 44 insertions(+), 4 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);
> 
>    }
> 
> diff --git a/MdePkg/Include/IndustryStandard/SmBios.h
> b/MdePkg/Include/IndustryStandard/SmBios.h
> index 56cec615a0..bdb28fc3a3 100644
> --- a/MdePkg/Include/IndustryStandard/SmBios.h
> +++ b/MdePkg/Include/IndustryStandard/SmBios.h
> @@ -1,7 +1,7 @@
>  /** @file
> 
> -  Industry Standard Definitions of SMBIOS Table Specification v3.7.0.
> 
> +  Industry Standard Definitions of SMBIOS Table Specification v3.8.0.
> 
> 
> 
> -Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.<BR>
> 
> +Copyright (c) 2006 - 2024, Intel Corporation. All rights reserved.<BR>
> 
>  (C) Copyright 2015-2017 Hewlett Packard Enterprise Development LP<BR>
> 
>  (C) Copyright 2015 - 2019 Hewlett Packard Enterprise Development LP<BR>
> 
>  Copyright (c) 2022, AMD Incorporated. All rights reserved.<BR>
> 
> @@ -774,7 +774,15 @@ typedef enum {
>    ProcessorFamilyQuadCoreLoongson3B  = 0x026E,
> 
>    ProcessorFamilyMultiCoreLoongson3B = 0x026F,
> 
>    ProcessorFamilyMultiCoreLoongson3C = 0x0270,
> 
> -  ProcessorFamilyMultiCoreLoongson3D = 0x0271
> 
> +  ProcessorFamilyMultiCoreLoongson3D = 0x0271,
> 
> +  ProcessorFamilyIntelCore3          = 0x0300,
> 
> +  ProcessorFamilyIntelCore5          = 0x0301,
> 
> +  ProcessorFamilyIntelCore7          = 0x0302,
> 
> +  ProcessorFamilyIntelCore9          = 0x0303,
> 
> +  ProcessorFamilyIntelCoreUltra3     = 0x0304,
> 
> +  ProcessorFamilyIntelCoreUltra5     = 0x0305,
> 
> +  ProcessorFamilyIntelCoreUltra7     = 0x0306,
> 
> +  ProcessorFamilyIntelCoreUltra9     = 0x0307
> 
>  } PROCESSOR_FAMILY2_DATA;
> 
> 
> 
>  ///
> 
> --
> 2.39.1.windows.1
> 
> 
> 
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#115890):
> https://edk2.groups.io/g/devel/message/115890
> Mute This Topic: https://groups.io/mt/104530890/4905953
> Group Owner: devel+ow...@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub
> [gaolim...@byosoft.com.cn]
> -=-=-=-=-=-=
> 





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#115900): https://edk2.groups.io/g/devel/message/115900
Mute This Topic: https://groups.io/mt/104539744/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to