From: "Jason Lou" <yun.lou@intel.com>
To: devel@edk2.groups.io
Cc: Jason Lou <yun.lou@intel.com>,
Liming Gao <gaoliming@byosoft.com.cn>,
Zhichao Gao <zhichao.gao@intel.com>
Subject: [edk2-devel] [PATCH v4 2/2] ShellPkg/SmbiosView: Support New ProcessorFamily for SMBIOS Type4
Date: Sun, 25 Feb 2024 17:06:09 +0800 [thread overview]
Message-ID: <20240225090609.2796-2-yun.lou@intel.com> (raw)
In-Reply-To: <20240225090609.2796-1-yun.lou@intel.com>
From: Jason Lou <yun.lou@intel.com>
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>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhichao Gao <zhichao.gao@intel.com>
---
ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 34 +++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
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);
}
--
2.39.1.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#115922): https://edk2.groups.io/g/devel/message/115922
Mute This Topic: https://groups.io/mt/104560571/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2024-02-25 9:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-25 9:06 [edk2-devel] [PATCH v4 1/2] MdePkg/SmBios.h: Add New ProcessorFamily definitions for SMBIOS Type4 Jason Lou
2024-02-25 9:06 ` Jason Lou [this message]
2024-02-26 13:33 ` [edk2-devel] 回复: [PATCH v4 2/2] ShellPkg/SmbiosView: Support New ProcessorFamily " gaoliming via groups.io
2024-02-28 1:14 ` [edk2-devel] " Gao, Zhichao
2024-02-26 13:32 ` 回复: [edk2-devel] [PATCH v4 1/2] MdePkg/SmBios.h: Add New ProcessorFamily definitions " gaoliming via groups.io
2024-02-26 15:36 ` Zeng, Star
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=20240225090609.2796-2-yun.lou@intel.com \
--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