diff options
author | HoraceX Lien <horacex.lien@intel.com> | 2024-03-26 16:52:14 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-04-10 02:01:37 +0000 |
commit | 963671d3801a6992d1aa06f05d86e32efa6b205e (patch) | |
tree | 0054eca8fcbdf526c5e6c521a81eecfddf5df2e7 /ShellPkg | |
parent | 665789b61bc39de67d3f17288bacb4662434e251 (diff) | |
download | edk2-963671d3801a6992d1aa06f05d86e32efa6b205e.tar.gz edk2-963671d3801a6992d1aa06f05d86e32efa6b205e.tar.bz2 edk2-963671d3801a6992d1aa06f05d86e32efa6b205e.zip |
ShellPkg: Update smbiosview type 4 with SMBIOS 3.6 fields
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4737
update smbiosview type 4 related fileds.
Signed-off-by: HoraceX Lien <horacex.lien@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Diffstat (limited to 'ShellPkg')
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c index f96317b314..35369f0183 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c @@ -520,6 +520,10 @@ SmbiosPrintStructure ( ShellPrintEx (-1, -1, L"Thread Count 2: %u\n", Struct->Type4->ThreadCount2);
}
+ if (AE_SMBIOS_VERSION (0x3, 0x6) && (Struct->Hdr->Length > 0x2E)) {
+ ShellPrintEx (-1, -1, L"Thread Enabled: %u\n", Struct->Type4->ThreadEnabled);
+ }
+
break;
//
|