Reviewed-by: Liming Gao <[email protected]> > -----邮件原件----- > 发件人: [email protected] <[email protected]> 代表 Shenbagadevi > R via groups.io > 发送时间: 2024年4月23日 20:00 > 收件人: [email protected]; Shenbagadevi R <[email protected]> > 抄送: [email protected]; Sainadh Nagolu <[email protected]>; > Sundaresan S <[email protected]>; Srinivasan Mani > <[email protected]>; Ramesh R <[email protected]>; Karthika R > <[email protected]> > 主题: [edk2-devel] [PATCH] Changes to print PMIC&RCD info in Shell > Smbiosview > > Add changes to print PMIC and RCD details of Smbios Type17 in Shell > smbiosview command > > Signed-off-by: Shenbagadevi R <[email protected]> > --- > .../UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 7 > +++++++ > 1 file changed, 7 insertions(+) > > diff --git > a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c > b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c > index 35369f0183..0fbaeb88ae 100644 > --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c > +++ > b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c > @@ -902,6 +902,13 @@ SmbiosPrintStructure ( > ShellPrintEx (-1, -1, L"Extended Speed: 0x%x\n", > Struct->Type17->ExtendedSpeed); > > ShellPrintEx (-1, -1, L"Extended Configured Memory Speed: > 0x%x\n", Struct->Type17->ExtendedConfiguredMemorySpeed); > > } > > + > > + if (AE_SMBIOS_VERSION (0x3, 0x7) && (Struct->Hdr->Length > 0x5C)) > { > > + ShellPrintEx (-1, -1, L"PMIC0 Manufacturer ID: 0x%x\n", > Struct->Type17->Pmic0ManufacturerID); > > + ShellPrintEx (-1, -1, L"PMIC0 Revision Number: 0x%x\n", > Struct->Type17->Pmic0RevisionNumber); > > + ShellPrintEx (-1, -1, L"RCD Manufacturer ID: 0x%x\n", > Struct->Type17->RcdManufacturerID); > > + ShellPrintEx (-1, -1, L"RCD Revision Number: 0x%x\n", > Struct->Type17->RcdRevisionNumber); > > + } > > > > break; > > > > -- > 2.38.0.windows.1 > -The information contained in this message may be confidential and > proprietary to American Megatrends (AMI). This communication is intended to > be read only by the individual or entity to whom it is addressed or by their > designee. If the reader of this message is not the intended recipient, you are > on notice that any distribution of this message, in any form, is strictly > prohibited. Please promptly notify the sender by reply e-mail or by telephone > at 770-246-8600, and then delete or destroy all copies of the transmission. > > > >
-=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118417): https://edk2.groups.io/g/devel/message/118417 Mute This Topic: https://groups.io/mt/105816495/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
