From: "gaoliming via groups.io" <gaoliming=byosoft.com.cn@groups.io>
To: <devel@edk2.groups.io>, <yun.lou@intel.com>
Cc: "'Zhiguang Liu'" <zhiguang.liu@intel.com>,
"'Dandan Bi'" <dandan.bi@intel.com>,
"'Star Zeng'" <star.zeng@intel.com>,
"'Zhichao Gao'" <zhichao.gao@intel.com>,
"'Benny Lin'" <benny.lin@intel.com>,
"'Gua Guo'" <gua.guo@intel.com>,
"'Michael D Kinney'" <michael.d.kinney@intel.com>
Subject: 回复: [edk2-devel] [PATCH v3] MdePkg/SmBios.h: Add New ProcessorFamily definitions for SMBIOS Type4
Date: Sat, 24 Feb 2024 08:18:40 +0800 [thread overview]
Message-ID: <00d401da66b7$04f3b620$0edb2260$@byosoft.com.cn> (raw)
In-Reply-To: <20240223161105.2685-1-yun.lou@intel.com>
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.lou@intel.com>; Zhiguang Liu
<zhiguang.liu@intel.com>;
> Dandan Bi <dandan.bi@intel.com>; Star Zeng <star.zeng@intel.com>; Zhichao
> Gao <zhichao.gao@intel.com>; Benny Lin <benny.lin@intel.com>; Gua Guo
> <gua.guo@intel.com>; Michael D Kinney <michael.d.kinney@intel.com>;
> Liming Gao <gaoliming@byosoft.com.cn>
> 主题: [edk2-devel] [PATCH v3] MdePkg/SmBios.h: Add New ProcessorFamily
> definitions for SMBIOS Type4
>
> From: Jason Lou <yun.lou@intel.com>
>
> The patch adds new ProcessorFamily definitions for SMBIOS Type4 based on
> SMBIOS 3.8.0.
>
> Signed-off-by: Jason Lou <yun.lou@intel.com>
> Cc: Zhiguang Liu <zhiguang.liu@intel.com>
> Cc: Dandan Bi <dandan.bi@intel.com>
> Cc: Star Zeng <star.zeng@intel.com>
> Cc: Zhichao Gao <zhichao.gao@intel.com>
> Cc: Benny Lin <benny.lin@intel.com>
> Cc: Gua Guo <gua.guo@intel.com>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Liming Gao <gaoliming@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+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub
> [gaoliming@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/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
prev parent reply other threads:[~2024-02-24 0:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-23 16:11 [edk2-devel] [PATCH v3] MdePkg/SmBios.h: Add New ProcessorFamily definitions for SMBIOS Type4 Jason Lou
2024-02-24 0:18 ` gaoliming via groups.io [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='00d401da66b7$04f3b620$0edb2260$@byosoft.com.cn' \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox