From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id ABF7CD801B0 for ; Wed, 10 Apr 2024 05:10:57 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=1DRMw1r85Ry+RMVIaKBh9dgl8wMb4PSJP0Hyz5Gjo0I=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To: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=1712725856; v=1; b=M2p/gDz8peKGx9SVoZaVbZv6g7B3/u9uC3kqRZjEkAjtzGBxnsqzUtZ/6HyoLAL7PxMTtmS4 PEM/hEl1sl91BVsk+hpezS1vWfR75TLU9l0XRmQvGlKiJZiozso9n1Psef9ymdCzbVXJ52jDAzk f6Y+tQjospdns/kCSarNY38OFc1nXf4+ldhAWvcKE9TdiupM6k7UEvY0d5hBRjXJE8veRm1+GH7 3ydEwWOknBpQ7mtsrji2KYGRf3MWFop1AsMH+rHTToKaNs3c3irno0tZptT07Bt9m2jU57CnNCT aVc4QxcpX+/Wc9rCEeq+hdrKFQs9jg6xdFLNIbiongcIQ== X-Received: by 127.0.0.2 with SMTP id R76TYY7687511xmEtZukRBDH; Tue, 09 Apr 2024 22:10:56 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) by mx.groups.io with SMTP id smtpd.web11.159342.1712725855377587975 for ; Tue, 09 Apr 2024 22:10:55 -0700 X-CSE-ConnectionGUID: iqOAxIpOSjSYnPHRtIRvjg== X-CSE-MsgGUID: 695TyDehQyS0avatlFieig== X-IronPort-AV: E=McAfee;i="6600,9927,11039"; a="8194441" X-IronPort-AV: E=Sophos;i="6.07,190,1708416000"; d="scan'208";a="8194441" X-Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2024 22:10:55 -0700 X-CSE-ConnectionGUID: GtrOcHRqT8i/79aXH7Y9aQ== X-CSE-MsgGUID: qBFAmNfAQkKJPYSJAgdPaA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,190,1708416000"; d="scan'208";a="20475585" X-Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmviesa009.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 09 Apr 2024 22:10:54 -0700 X-Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 9 Apr 2024 22:10:54 -0700 X-Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 9 Apr 2024 22:10:53 -0700 X-Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Tue, 9 Apr 2024 22:10:53 -0700 X-Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.41) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 9 Apr 2024 22:10:53 -0700 X-Received: from PH7PR11MB6377.namprd11.prod.outlook.com (2603:10b6:510:1fb::13) by IA1PR11MB7366.namprd11.prod.outlook.com (2603:10b6:208:422::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.26; Wed, 10 Apr 2024 05:10:49 +0000 X-Received: from PH7PR11MB6377.namprd11.prod.outlook.com ([fe80::71c8:68c8:8486:492a]) by PH7PR11MB6377.namprd11.prod.outlook.com ([fe80::71c8:68c8:8486:492a%4]) with mapi id 15.20.7452.019; Wed, 10 Apr 2024 05:10:48 +0000 From: "Gao, Zhichao" To: Sam Kaynor , "devel@edk2.groups.io" CC: "Ni, Ray" , "Kinney, Michael D" , Liming Gao , "Liu, Zhiguang" Subject: Re: [edk2-devel] [PATCH v5 3/3] ShellPkg: UefiShellDebug1CommandsLib: Conformance Profiles in Dmem.c Thread-Topic: [PATCH v5 3/3] ShellPkg: UefiShellDebug1CommandsLib: Conformance Profiles in Dmem.c Thread-Index: AQHaiq82PlQf65CD9kWJwlvK9eh5PLFg9Rzg Date: Wed, 10 Apr 2024 05:10:48 +0000 Message-ID: References: <20240409185311.2868024-1-Sam.Kaynor@arm.com> <20240409185311.2868024-4-Sam.Kaynor@arm.com> In-Reply-To: <20240409185311.2868024-4-Sam.Kaynor@arm.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR11MB6377:EE_|IA1PR11MB7366:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: w35nFiJ7nPoSK3UrRKSMF+MK4QiRVeHWDl1kUxj6GYWZkOTiMyPykktUIGL96iZqVXNFgtXdHCjwIdXYeM7MoGq6R8JoyZDpAvXcX4qN0mMn2PfeZwkgV3uZye824+w0xrUWhR8jvC8zpAWKfM9lGwAdFxLcDNZ7EX4tOqFiG13cwEb2wkeOxdc7/vE17f0EUWHiI7b/i+3Mxou+Qmr1ZM8b0D6ID3hnTWW7iKcQAnF4nr59LsLrQoYHHPNVVzx16fKJMK/2NQCAR/pFMa9a0Ixlr21GPnaMehfE57l4C3R0XzFde2QJXIiOq0/pq5urYGssWycBiCtm7Hyjfi6HKvak0+CIYiTMWP+2dNIusg3boi73CF2x6ms5zY6RR/eA49SSJ6/xqMfcYPc8O6CfPns0IAUSHHx85hvtJ9w4ul7Of+6SnihtuqRzTKtGcmY1gAYytQu1JYv8FUxzkzjXoplDEonuMQa+WRPwpo9Lmbx+AIpqISKh6HklO5YXJNF8Gnh49kjecwRt36ponjzNtOaGaI4sMnkM5RhfRJa9SKb7NH1Lvfkpqba8JyTgaXFP6YK9dRfeP7PVu9nrO3ONIPuxQG9MkK/PPy9YyvPPHwk= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?WtuE7SmNtCZWJRjXxjTnSKtwNkIjpuEp4tNG+bk/2X3UWKFiG4EOq6d+XJPY?= =?us-ascii?Q?8nwouqfReSop+MyesBa3lzAT1Q//TEJFai8IMEog2gdcjVo7gvE7Ygnsj1ZS?= =?us-ascii?Q?HcIgkuvHr1u8/KOUZ5/BscpovIYos+8almPc/qCYWYarSoXmfOYePjZfxHkK?= =?us-ascii?Q?1STAadnGkvxytqM19Jj0BBlxwsXS6MDy8IBC2YD9idiVY6gMVwgOLyTZtQRb?= =?us-ascii?Q?Fo696UvWs+ILJPqalRZHXDH42merVDU6T1Wo3JfKpdsNboMgNQ+N8D24XVFE?= =?us-ascii?Q?MQt437XG0RFCatVLA89NTSJCdiaXsYAu+IYkQGxxw5uazrNk6AGRXunn5o6B?= =?us-ascii?Q?Ss+wTB2Azfv6Gxxo9YL/TXn7VtZKeEjoNSgPCgDgzxL5/NptVApj6j8lIpt5?= =?us-ascii?Q?s5tS8K52OaqaojdOl2t2bZwax01HPHx81+1VnjRZhkcSh7htufhccIj4EreU?= =?us-ascii?Q?VDWcgwBWDlfScoFE1qHpQXSY4m9zVfdxir+RZOJuxl3t0rCwL7QbfmgqRrbV?= =?us-ascii?Q?wv0mk3rT113JR3kur949oSqwDNuK5DIh6LIrTDxrR3K9at0awKcNJy+0pGRr?= =?us-ascii?Q?MUJXi+UTq0PpFAwTgEY/6pgBF+eFryjAnRoBjRxbD+phYMStgrX2+wLgbm7r?= =?us-ascii?Q?oWDRvAemyY5TA1K7X33fNtnSEOxGrV11TtbSG85zr94nxshTOJ2NpXzCnsfc?= =?us-ascii?Q?mEE0K4H7coTdWWPJvGE1mjmF8hXRlRwPXwIl+vU82WiXDexWpfgiGyu/J7LC?= =?us-ascii?Q?djK7nPMmK+GA50eFB5BkLtEHJWu/Vd81UWrCGSt/S2Lrxi3MM85LqtsbTRWF?= =?us-ascii?Q?lYu/Il9NvbJ7472LSn8SRgTBJilPHYnvFnLg24tcEIVxrZwJ9GijAXYtpU3b?= =?us-ascii?Q?06USjc3xeX2Txj5C7lUNYWw2FZucyyRU3/DWBEYXrjxjfRM9LmlyBTzxuBYP?= =?us-ascii?Q?VR31+psTsv3GJtpOgzpjC097CNDETAAlr+GfzRQfySLyz2KhMtzGrPRlAfls?= =?us-ascii?Q?4gN043nHxzATBjqbHw9YxFO+7nB00pBXrSIrz8ZYb09TzyKyakBzeLqMDsC0?= =?us-ascii?Q?+AtRTS+M/umvcnpL9wbPKdb+AXt78rKuxorcyFgcVp+2Fib31fJpieXmM7lm?= =?us-ascii?Q?1gHTyvoHo1R0r9Dxr9jeqIYcwqZF2xLuMn7CftILmAGV49UsmIklP7AoUGak?= =?us-ascii?Q?EKn46q/C6003K5VM18WZjyJiOw/xVUuMGlCZvb3y4t/OZLVxGUlWx1lnzAe2?= =?us-ascii?Q?qYmr41PhPjx9DX3KjZqQ2iZTr3YHdGI4+FPUOgcDu7WKYDtEr6tOREtBLrzB?= =?us-ascii?Q?bNjxBNTql93MFtZkRb1NrHI7mlvQODsbXZ96hrI0XsTMzD4tMDeq4YrEjgIj?= =?us-ascii?Q?OI4KHpL+KSehWr8Xu0afsUVssfMJXCIre8aYaCixF1Snd6sa2WRfZeC5zEW0?= =?us-ascii?Q?fJ25LCu3EUtwhfrDzNRriSHNX6w708eQU+1yGIERzlWUuvpCG5Fh+V5Zn1Cl?= =?us-ascii?Q?pPZ/eagNSbm21Gb0nu9vIQrGruDYat+K0C6B41n8WIGlKgcBoJFoj4S1lWu1?= =?us-ascii?Q?rb4amWuVF3W3Hk54GOiL63CPQiY0Hb6EuQgWlXA+?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB6377.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d476227a-59d0-43b5-c1fd-08dc591c95e2 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Apr 2024 05:10:48.8233 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DgdrcXK59VnqP7J54cLDntpnAD9mEOWafg4YaxeL37hXUzBNh/8FFBhQhbuOrRwV4rM3AaFbztFnxrZwu+ASvg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB7366 X-OriginatorOrg: intel.com 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, 09 Apr 2024 22:10:55 -0700 Resent-From: zhichao.gao@intel.com Reply-To: devel@edk2.groups.io,zhichao.gao@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: XL5U8yAlWYtG1MvddLh8ewnTx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" 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="M2p/gDz8"; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none) You cannot change across packages. You need to separate the MdePkg change i= nto one single patch and get reviewed by the reviewer/maintainer of MdePkg. Thanks, Zhichao > -----Original Message----- > From: Sam Kaynor > Sent: Wednesday, April 10, 2024 2:53 AM > To: devel@edk2.groups.io > Cc: Ni, Ray ; Gao, Zhichao ; > Kinney, Michael D ; Liming Gao > ; Liu, Zhiguang > Subject: [PATCH v5 3/3] ShellPkg: UefiShellDebug1CommandsLib: > Conformance Profiles in Dmem.c >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4352 >=20 > Implemented dumping of the UEFI Conformance Profiles Table using > Dmem.c Additionally added the base support for the table with new header > file ConformanceProfiles.h (Cc'd maintainers of MdePkg for this) >=20 > Cc: Ray Ni > Cc: Zhichao Gao > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Zhiguang Liu > Signed-off-by: Sam Kaynor > Tested-by: Stuart Yoder > Reviewed-by: Stuart Yoder > Reviewed-by: Zhichao Gao > --- >=20 > Notes: > v5: > - corrected style error (spaces before '(') > v3: > - fixed build errors > - properly using Address variable > - removed unecessary comment in header file >=20 > MdePkg/MdePkg.dec = | 5 ++ >=20 > ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Commands > Lib.inf | 3 + > MdePkg/Include/Guid/ConformanceProfiles.h = | 56 > ++++++++++++++++ > ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c = | 69 > ++++++++++++++++++++ >=20 > ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Commands > Lib.uni | 5 ++ > 5 files changed, 138 insertions(+) >=20 > diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index > bf94549cbfbd..2c053a7459f3 100644 > --- a/MdePkg/MdePkg.dec > +++ b/MdePkg/MdePkg.dec > @@ -746,6 +746,11 @@ [Guids] > ## Include/Guid/DeviceAuthentication.h > gEfiDeviceSignatureDatabaseGuid =3D { 0xb9c2b4f4, 0xbf5f, 0x462d, {0x= 8a, > 0xdf, 0xc5, 0xc7, 0xa, 0xc3, 0x5d, 0xad }} >=20 > + ## Include/Guid/ConformanceProfiles.h > + gEfiConfProfilesTableGuid =3D { 0x36122546, 0xf7e7, 0x4c8f, { 0= xbd, 0x9b, > 0xeb, 0x85, 0x25, 0xb5, 0x0c, 0x0b }} > + gEfiConfProfilesUefiSpecGuid =3D { 0x523c91af, 0xa195, 0x4382, { 0= x81, > 0x8d, 0x29, 0x5f, 0xe4, 0x00, 0x64, 0x65 }} > + gEfiConfProfilesEbbrSpecGuid =3D { 0xcce33c35, 0x74ac, 0x4087, { 0= xbc, > 0xe7, 0x8b, 0x29, 0xb0, 0x2e, 0xeb, 0x27 }} > + > # > # GUID defined in PI1.0 > # > diff --git > a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comman > dsLib.inf > b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comman > dsLib.inf > index 3741dac5d94c..172ac2862ba1 100644 > --- > a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comman > dsLib.inf > +++ > b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comman > d > +++ sLib.inf > @@ -139,3 +139,6 @@ [Guids] > gEfiJsonConfigDataTableGuid ## SOMETIMES_CONSUMES ## > SystemTable > gEfiJsonCapsuleDataTableGuid ## SOMETIMES_CONSUMES ## > SystemTable > gEfiJsonCapsuleResultTableGuid ## SOMETIMES_CONSUMES ## > SystemTable > + gEfiConfProfilesTableGuid ## SOMETIMES_CONSUMES ## SystemTable > + gEfiConfProfilesUefiSpecGuid ## SOMETIMES_CONSUMES ## GUID > + gEfiConfProfilesEbbrSpecGuid ## SOMETIMES_CONSUMES ## GUID > diff --git a/MdePkg/Include/Guid/ConformanceProfiles.h > b/MdePkg/Include/Guid/ConformanceProfiles.h > new file mode 100644 > index 000000000000..c6211d63d79c > --- /dev/null > +++ b/MdePkg/Include/Guid/ConformanceProfiles.h > @@ -0,0 +1,56 @@ > +/** @file > + Legal information > + > +**/ > + > +#ifndef __CONFORMANCE_PROFILES_TABLE_GUID_H__ > +#define __CONFORMANCE_PROFILES_TABLE_GUID_H__ > + > + > +// > +// This table allows the platform to advertise its UEFI specification > +conformance // in the form of pre-defined profiles. Each profile is > +identified by a GUID, with // known profiles listed in the section below= . > +// The absence of this table shall indicate that the platform > +implementation is // conformant with the UEFI specification requirements= , > as defined in Section 2.6. > +// This is equivalent to publishing this configuration table with the > +// EFI_CONFORMANCE_PROFILES_UEFI_SPEC_GUID conformance profile. > +// > +#define EFI_CONFORMANCE_PROFILES_TABLE_GUID \ > + { \ > + 0x36122546, 0xf7e7, 0x4c8f, { 0xbd, 0x9b, 0xeb, 0x85, 0x25, 0xb5, > +0x0c, 0x0b } \ > + } > + > +#pragma pack(1) > + > +typedef struct { > + /// > + /// Version of the table must be 0x1 > + /// > + UINT16 Version; > + /// > + /// The number of profiles GUIDs present in ConformanceProfiles > + /// > + UINT16 NumberOfProfiles; > + /// > + /// An array of conformance profile GUIDs that are supported by this > system. > + /// EFI_GUID ConformanceProfiles[]; > + /// > +} EFI_CONFORMANCE_PROFILES_TABLE; > + > +#define EFI_CONFORMANCE_PROFILES_TABLE_VERSION 0x1 > + > +// > +// GUID defined in spec. > +// > +#define EFI_CONFORMANCE_PROFILES_UEFI_SPEC_GUID \ > + { 0x523c91af, 0xa195, 0x4382, \ > + { 0x81, 0x8d, 0x29, 0x5f, 0xe4, 0x00, 0x64, 0x65 }} #define > +EFI_CONFORMANCE_PROFILE_EBBR_2_1_GUID \ > + { 0xcce33c35, 0x74ac, 0x4087, \ > + { 0xbc, 0xe7, 0x8b, 0x29, 0xb0, 0x2e, 0xeb, 0x27 }} > + > +extern EFI_GUID gEfiConfProfilesTableGuid; extern EFI_GUID > +gEfiConfProfilesUefiSpecGuid; > + > +#endif > diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c > b/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c > index a4f404c1cdbd..53ee2b01f918 100644 > --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c > +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c > @@ -19,6 +19,7 @@ > #include > #include > #include > +#include >=20 > /** > Make a printable character. > @@ -269,7 +270,67 @@ DisplayImageExecutionEntries ( > return (ShellStatus); > } >=20 > +/** > + Display the ConformanceProfileTable entries >=20 > + @param[in] Address The pointer to the ConformanceProfileTable. > +**/ > +SHELL_STATUS > +DisplayConformanceProfiles ( > + IN UINT64 Address > + ) > +{ > + SHELL_STATUS ShellStatus; > + EFI_STATUS Status; > + EFI_GUID *EntryGuid; > + CHAR16 *GuidName; > + EFI_CONFORMANCE_PROFILES_TABLE *ConfProfTable; > + > + ShellStatus =3D SHELL_SUCCESS; > + > + if (Address !=3D 0) { > + ConfProfTable =3D (EFI_CONFORMANCE_PROFILES_TABLE *)Address; > + > + ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN > + (STR_DMEM_CONF_PRO_TABLE), gShellDebug1HiiHandle); > + > + EntryGuid =3D (EFI_GUID *) (ConfProfTable + 1); > + > + for (int Profile =3D 0; Profile < ConfProfTable->NumberOfProfiles; P= rofile++, > EntryGuid++) { > + GuidName =3D L"Unknown_Profile"; > + > + if (CompareGuid (EntryGuid, &gEfiConfProfilesEbbrSpecGuid)) { > + GuidName =3D L"EBBR_2.1"; > + } > + > + Status =3D ShellPrintHiiEx ( > + -1, > + -1, > + NULL, > + STRING_TOKEN (STR_DMEM_CONF_PRO_ROW), > + gShellDebug1HiiHandle, > + GuidName, > + EntryGuid > + ); > + } > + if (EFI_ERROR (Status)) { > + ShellStatus =3D SHELL_ABORTED; > + ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN > (STR_DMEM_ERR_GET_FAIL), gShellDebug1HiiHandle, > L"ComformanceProfilesTable"); > + } > + } else { > + ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN > (STR_DMEM_CONF_PRO_TABLE), gShellDebug1HiiHandle); > + ShellPrintHiiEx ( > + -1, > + -1, > + NULL, > + STRING_TOKEN (STR_DMEM_CONF_PRO_ROW), > + gShellDebug1HiiHandle, > + L"EFI_CONFORMANCE_PROFILES_UEFI_SPEC_GUID", > + &gEfiConfProfilesUefiSpecGuid > + ); > + } > + > + return (ShellStatus); > +} >=20 > STATIC CONST SHELL_PARAM_ITEM ParamList[] =3D { > { L"-mmio", TypeFlag }, > @@ -461,6 +522,11 @@ ShellCommandRunDmem ( > HiiDatabaseExportBufferAddress =3D (UINT64) (UINTN)gST- > >ConfigurationTable[TableWalker].VendorTable; > continue; > } > + > + if (CompareGuid (&gST- > >ConfigurationTable[TableWalker].VendorGuid, &gEfiConfProfilesTableGuid)) > { > + ConformanceProfileTableAddress =3D (UINT64) (UINTN)gST- > >ConfigurationTable[TableWalker].VendorTable; > + continue; > + } > } >=20 > ShellPrintHiiEx ( > @@ -504,6 +570,9 @@ ShellCommandRunDmem ( > if (ShellStatus =3D=3D SHELL_SUCCESS) { > ShellStatus =3D DisplayImageExecutionEntries > (ImageExecutionTableAddress); > } > + if (ShellStatus =3D=3D SHELL_SUCCESS) { > + ShellStatus =3D DisplayConformanceProfiles > (ConformanceProfileTableAddress); > + } > } >=20 > } else { > diff --git > a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comman > dsLib.uni > b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comman > dsLib.uni > index 3b730164ddce..6ef923e4fd5e 100644 > --- > a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comman > dsLib.uni > +++ > b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comman > d > +++ sLib.uni > @@ -147,6 +147,11 @@ > #string STR_DMEM_IMG_EXE_TABLE #language en-US "\r\nImage > Execution Table\r\n" > "---------------------= -------------------\r\n" > #string STR_DMEM_IMG_EXE_ENTRY #language en-US "%20s: %s\r\n" > +#string STR_DMEM_CONF_PRO_TABLE #language en-US > "\r\nConformance Profile Table\r\n" > + "---------------------= -------------------\r\n" > + "Version 0x1\r\n" > + "Profile GUIDs:\r\n" > +#string STR_DMEM_CONF_PRO_ROW #language en-US " %s %g\r\n" > #string STR_DMEM_ERR_NOT_FOUND #language en-US "\r\n%H%s%N: > Table address not found.\r\n" > #string STR_DMEM_ERR_GET_FAIL #language en-US "\r\n%H%s%N: > Unable to get table information.\r\n" >=20 > -- > 2.34.1 -=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 (#117564): https://edk2.groups.io/g/devel/message/117564 Mute This Topic: https://groups.io/mt/105428090/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-