From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id D4422740046 for ; Tue, 23 Apr 2024 14:56:14 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Ks2cbbx8CK+1OVCIxzD1Vi9Plm6PXNLEU2n0LRVToog=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1713884173; v=1; b=Tw7PzAJ1fat8eySm9y8RHFqcDirc210CaZ84pfMp+XV+i/KWRKuMioquuE0cyF1KQX6MjzKP I8VFXcByuz8Ap6ksTkNHLb8Mp+DVaH2GelwW3ocWa1Uk80bj0xC4b7W3nb5If7bD+suMTzwIFZd pagnsRE1Wkepv8w1PYnBtiocRxjTaF1sNRd/9hzlahRXiehRZ37O8+hp7xT/QBUwmxBbf0t62sK uBXET0LONEoTJU0ckWNzY3y3CnajjmfPf7kFO3xp+r4tsOUQPQXaddEx8+I/t1Pe7rY5B6k+fLD F0rXYVLQxSyYKadEAww0xj6igoCgzz1Vqs1tGVrHghJ4Q== X-Received: by 127.0.0.2 with SMTP id OiqKYY7687511xojU1h0JL1L; Tue, 23 Apr 2024 07:56:13 -0700 X-Received: from NAM11-BN8-obe.outbound.protection.outlook.com (NAM11-BN8-obe.outbound.protection.outlook.com [40.107.236.105]) by mx.groups.io with SMTP id smtpd.web10.16630.1713873595205153132 for ; Tue, 23 Apr 2024 04:59:55 -0700 X-Received: from DM6PR10MB4282.namprd10.prod.outlook.com (2603:10b6:5:222::11) by PH0PR10MB7028.namprd10.prod.outlook.com (2603:10b6:510:281::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Tue, 23 Apr 2024 11:59:50 +0000 X-Received: from DM6PR10MB4282.namprd10.prod.outlook.com ([fe80::4bdb:b856:a974:619]) by DM6PR10MB4282.namprd10.prod.outlook.com ([fe80::4bdb:b856:a974:619%5]) with mapi id 15.20.7519.021; Tue, 23 Apr 2024 11:59:50 +0000 From: "Shenbagadevi R via groups.io" To: "devel@edk2.groups.io" , Shenbagadevi R CC: "gaoliming@byosoft.com.cn" , Sainadh Nagolu , Sundaresan S , Srinivasan Mani , Ramesh R , Karthika R Subject: [edk2-devel] [PATCH] Changes to print PMIC&RCD info in Shell Smbiosview Thread-Topic: [PATCH] Changes to print PMIC&RCD info in Shell Smbiosview Thread-Index: AQHalXW+wohXPgf1kUWFwuM/Utc3Fw== Date: Tue, 23 Apr 2024 11:59:50 +0000 Message-ID: <20240423115910.646-1-shenbagadevir@ami.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR10MB4282:EE_|PH0PR10MB7028:EE_ x-ms-office365-filtering-correlation-id: 5c4a7b28-d69b-49fe-9b1f-08dc638ce10b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?iso-8859-1?Q?6Uk7Oi4FGIcYxEuiWCW8jj6+zBTtSnzMKXJx2vgEzhlsrDe4sNvO3xgmMy?= =?iso-8859-1?Q?qtLxsfFxTbU273e4BpQTZ5XSpd5ER5TK/p2dwXQmMyeEzoitUnVyyWuQKK?= =?iso-8859-1?Q?5wRHyUjgF27ptrVWd0yym6VpVgBNnTsnvxar+LudezLxsr+gt5zM6XxcNe?= =?iso-8859-1?Q?1DekM7Nr2r+DlZKWS6UnEYrpBtlN/4Hd28BEtiV04beWHlDsyLSw5mTEar?= =?iso-8859-1?Q?znPp1HCgPTE9I46zD3OzKjMQxhwk02lO2SQtDvA2Hz5YABabAjJBsyLZb/?= =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/a8XkC7XbNH6hRm?= =?iso-8859-1?Q?VCeq7wdCIKEwxB4803oKmCqZaRONhTJw7IoL0pR2IuJORgQpqBqS+BIeyZ?= =?iso-8859-1?Q?j2q554dLMmEx0Rd3Dez0bYJOUZLKDTs+slAasBDg2hWILhAVZhPXIbAcbC?= =?iso-8859-1?Q?17U7l8ePXcg0n3/y/uLEea38UgFB8fcONXmDI/1FqmScMVEFNzFu1/MWWq?= =?iso-8859-1?Q?/9Wz9UdF2MGoRq6gRTZtPjTwm8+8a8PQ=3D=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?wxpD3rOIQEUaKnvVCdr3sB+ouade5jPOQjR8xhR4O2/7bFAxmmOuWh5dTN?= =?iso-8859-1?Q?1Dd9YuYMTc3FSab2Fz3thYwAHhR2s5JEiu86ZZs3nYHCIOAS6GCnRMq1dZ?= =?iso-8859-1?Q?ofpobsYgB/Kp1YXnQy08n7rO9vRK4MghL7dlnSDEXk+37x31ngY3vvvFpZ?= =?iso-8859-1?Q?GaD2K8ooyG6t3YH3kZE3W9nLHHSM9ZQig74rY3P69ABuWPggOikNBFDXiN?= =?iso-8859-1?Q?SQ6wDP16yBamOlZdSu/onMbTJ9ddSbgUZD0tMJw+6QwQsc2vGMv9EQVngq?= =?iso-8859-1?Q?Gfmx5adV5YDnSOEz+2Jhsi+/iFDkpOjMJ71kaA4aXafYczMHT4sccNXdEg?= =?iso-8859-1?Q?RTHeJIBKVguIUnA1rkXbObcLPAP21vjLT8RvtU6baVyin3EYOm9ooP60S3?= =?iso-8859-1?Q?RbW6JlM8thDXk0IYk+04Z9prkx5tMH09k5IXb2xazuLRe3UhqfKs99KYfJ?= =?iso-8859-1?Q?WISnvMvnMmez8HQFAd15z6GPvLwZCOylBNl3p85O6EGFCgXVNVoWa6WJ5t?= =?iso-8859-1?Q?mC12gx+v+X8fFRUuFSR8Nk8BSId6zlTthNEgOZxP8gLvDzgOICN6Dl2ra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i//faywDhefstPxoGBoiG5K2GcPVhhu73Fx+f8l?= =?iso-8859-1?Q?PoYVSvqM5hMTeCKmSiHpJyHKW6Zglz6dTLhSRlMQPR7jT/7OjEWp4KkeFr?= =?iso-8859-1?Q?ul2fpUiu95Vh+bg44b84YtDghUrv90aQpE1147JdmDZ0VHCe0CCo2Z/bYq?= =?iso-8859-1?Q?1WHJy6Jtx36cbL2fLE1dKeADw6nOYoUUQPqJMThT4bojbZ/J+Z8wCMQQ?= =?iso-8859-1?Q?=3D=3D?= MIME-Version: 1.0 X-OriginatorOrg: ami.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4282.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5c4a7b28-d69b-49fe-9b1f-08dc638ce10b X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Apr 2024 11:59:50.1693 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 27e97857-e15f-486c-b58e-86c2b3040f93 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: QP1/zhk7sRlfQWgpRtsmrMFOf1rELFb3GjXFX5jaXdiur1QW4fPCSWWwVQ8/VSW/D3ROh2e/35+xREVlFx4x/Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB7028 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Tue, 23 Apr 2024 07:56:08 -0700 Resent-From: shenbagadevir@ami.com Reply-To: devel@edk2.groups.io,shenbagadevir@ami.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: X3mj6hSqbC6l8kvTFRyF0Cq7x7686176AA= Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=Tw7PzAJ1; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Add changes to print PMIC and RCD details of Smbios Type17 in Shell smbiosview command Signed-off-by: Shenbagadevi R --- .../UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintIn= fo.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->E= xtendedSpeed); 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->Ty= pe17->Pmic0ManufacturerID); + ShellPrintEx (-1, -1, L"PMIC0 Revision Number: 0x%x\n", Struct->Ty= pe17->Pmic0RevisionNumber); + ShellPrintEx (-1, -1, L"RCD Manufacturer ID: 0x%x\n", Struct->Type= 17->RcdManufacturerID); + ShellPrintEx (-1, -1, L"RCD Revision Number: 0x%x\n", Struct->Type= 17->RcdRevisionNumber); + } break; -- 2.38.0.windows.1 -The information contained in this message may be confidential and propriet= ary 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 desig= nee. If the reader of this message is not the intended recipient, you are o= n notice that any distribution of this message, in any form, is strictly pr= ohibited. 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= . -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118170): https://edk2.groups.io/g/devel/message/118170 Mute This Topic: https://groups.io/mt/105690959/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-