From: "Gao, Zhichao" <zhichao.gao@intel.com>
To: "Ke, Bo-ChangX" <bo-changx.ke@intel.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Ni, Ray" <ray.ni@intel.com>
Subject: Re: [PATCH] ShellPkg: Update smbiosview type 0 with SMBIOS 3.5 fields
Date: Fri, 22 Apr 2022 01:35:06 +0000 [thread overview]
Message-ID: <DM4PR11MB5277CE6F9C44AF3154C05BC3F6F79@DM4PR11MB5277.namprd11.prod.outlook.com> (raw)
In-Reply-To: <8568d62995ac71af6a36b8a89c7146e74c9392d3.1650436414.git.bo-changx.ke@intel.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Thanks,
Zhichao
> -----Original Message-----
> From: Ke, Bo-ChangX <bo-changx.ke@intel.com>
> Sent: Wednesday, April 20, 2022 2:42 PM
> To: devel@edk2.groups.io
> Cc: Ni, Ray <ray.ni@intel.com>; Gao, Zhichao <zhichao.gao@intel.com>
> Subject: [PATCH] ShellPkg: Update smbiosview type 0 with SMBIOS 3.5 fields
>
> REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3906
>
> update smbiosview type 0 related fileds.
>
> Signed-off-by: Bo Chang Ke <bo-changx.ke@intel.com>
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: Zhichao Gao <zhichao.gao@intel.com>
> ---
> .../UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 6 ++++++
> .../SmbiosView/SmbiosViewStrings.uni | 2 ++
> 2 files changed, 8 insertions(+)
>
> diff --git
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
> index b144600a25..618bcd1590 100644
> ---
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
> +++
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
> @@ -1536,6 +1536,12 @@ DisplayBiosCharacteristicsExt2 (
> if (BIT (byte2, 4) != 0) {
> ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN
> (STR_SMBIOSVIEW_PRINTINFO_VIRTUAL_MACHINE),
> gShellDebug1HiiHandle);
> }
> + if (BIT (byte2, 5) != 0) {
> + ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN
> (STR_SMBIOSVIEW_PRINTINFO_MCFG_SUPPORTED),
> gShellDebug1HiiHandle);
> + }
> + if (BIT (byte2, 6) != 0) {
> + ShellPrintHiiEx(-1,-1,NULL,STRING_TOKEN
> (STR_SMBIOSVIEW_PRINTINFO_MCFG_ENABLED), gShellDebug1HiiHandle);
> + }
>
> ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN
> (STR_SMBIOSVIEW_PRINTINFO_BITS_RSVD_FOR_FUTURE),
> gShellDebug1HiiHandle, 5);
> } else {
> diff --git
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView
> Strings.uni
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView
> Strings.uni
> index 9433e8a25f..5a83e9834b 100644
> ---
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView
> Strings.uni
> +++
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/SmbiosView
> Strings.uni
> @@ -163,6 +163,8 @@
> #string STR_SMBIOSVIEW_PRINTINFO_ENABLE_TAR_CONT_DIST
> #language en-US "Enable Targeted Content Distribution\r\n"
> #string STR_SMBIOSVIEW_PRINTINFO_UEFI_SPEC_SUPPORT
> #language en-US "UEFI Specification is supported\r\n"
> #string STR_SMBIOSVIEW_PRINTINFO_VIRTUAL_MACHINE
> #language en-US "The SMBIOS table describes a virtual machine\r\n"
> +#string STR_SMBIOSVIEW_PRINTINFO_MCFG_SUPPORTED
> #language en-US "Manufacturing mode is supported\r\n"
> +#string STR_SMBIOSVIEW_PRINTINFO_MCFG_ENABLED
> #language en-US "Manufacturing mode is enabled\r\n"
> #string STR_SMBIOSVIEW_PRINTINFO_BITS_RSVD_FOR_FUTURE
> #language en-US " Bits %d:7 are reserved for future assignment\r\n"
> #string STR_SMBIOSVIEW_PRINTINFO_PROCESSOR_FAMILY
> #language en-US "Processor Family: "
> #string STR_SMBIOSVIEW_PRINTINFO_OTHER #language en-US
> "Other\r\n"
> --
> 2.32.0.windows.1
prev parent reply other threads:[~2022-04-22 1:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-20 6:42 [PATCH] ShellPkg: Update smbiosview type 0 with SMBIOS 3.5 fields Bo Chang Ke
2022-04-22 1:35 ` Gao, Zhichao [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=DM4PR11MB5277CE6F9C44AF3154C05BC3F6F79@DM4PR11MB5277.namprd11.prod.outlook.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