Reviewed-by: Zhichao Gao <zhichao....@intel.com> Thanks, Zhichao
> -----Original Message----- > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Lien, > HoraceX > Sent: Tuesday, March 26, 2024 5:11 PM > To: devel@edk2.groups.io > Cc: Lien, HoraceX <horacex.l...@intel.com>; Gao, Zhichao > <zhichao....@intel.com> > Subject: [edk2-devel] [PATCH] ShellPkg: Update smbiosview type 4 with > SMBIOS 3.6 fields > > From: HoraceX Lien <horacex.l...@intel.com> > > REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4737 > > update smbiosview type 4 related fileds. > > Signed-off-by: HoraceX Lien <horacex.l...@intel.com> > Cc: Zhichao Gao <zhichao....@intel.com> > --- > .../Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git > a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c > b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c > index f96317b314..48b4488215 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"Thead Enable: %u\n", > Struct->Type4->ThreadEnabled);+ }+ break; //-- > 2.43.0.windows.1 > > > > -=-=-=-=-=-= > Groups.io Links: You receive all messages sent to this group. > View/Reply Online (#117106): > https://edk2.groups.io/g/devel/message/117106 > Mute This Topic: https://groups.io/mt/105155005/1768756 > Group Owner: devel+ow...@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub [zhichao....@intel.com] > -=-=-=-=-=-= > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117146): https://edk2.groups.io/g/devel/message/117146 Mute This Topic: https://groups.io/mt/105155005/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-