From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web11.6299.1676539083431444654 for ; Thu, 16 Feb 2023 01:18:03 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=YYcImQam; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: zhichao.gao@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676539083; x=1708075083; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=G0TGot0RwZM9WVeoZk0Hc3HTrQhlkX3hOQ5Vho5EHX0=; b=YYcImQamqJkdU9ZnWrsoeFwu7sSjKMwcTD6TZ0RoSCQXjVnkuneqZzyP KS9CN0hHe1bUUjz0EXMJZWSWDUweXh/To9elqHWcp1gvctSHj3IX05I5U e1OSpRNKP/19tBLF1xnziMi3bRfV8cZyuCAeRt3U2jdOwXYe0/FPeWy5N Nv3dLU6cPkjJ9pBxqsUdXXFArtHkne0iwqJ4wl+3F4rf4FMmSOZEvy7Mh ktarhqiiAaCYwPHSl0oFJ2JiHQDvrvfy5nt1CIsUVlEkOnWOLbo3Milyw zprGWWhsyX3QQqmbUlKUpkn5y2M63Q993agt8i4enmkzCvZDS6/rEP3pu A==; X-IronPort-AV: E=McAfee;i="6500,9779,10622"; a="311299427" X-IronPort-AV: E=Sophos;i="5.97,302,1669104000"; d="scan'208";a="311299427" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2023 01:18:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10622"; a="738776863" X-IronPort-AV: E=Sophos;i="5.97,302,1669104000"; d="scan'208";a="738776863" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga004.fm.intel.com with ESMTP; 16 Feb 2023 01:18:02 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 16 Feb 2023 01:18:02 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.16 via Frontend Transport; Thu, 16 Feb 2023 01:18:02 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.173) 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.16; Thu, 16 Feb 2023 01:18:01 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q4pwC9+4HvLNRS6PqanynVC132SmedXLCsnUfZrRyp4ASZnYxwXoHEQmS+8Xp3iwDRI75499kT9Eb/JtyhPEspvEOAX+LLsZguCifAtPANitgt6qYW59tzbvq3G3b3sWhuK2E1XBtCnF0/cmHRZ1AojVyETsKVHUfnix4EDUoKQMC3lsFrzvZEHBvz32eO75Ktf4XpMA0OSK0TEhY59Sv0vzoKcypqDEuNujmfUZlgknU/KiaAJY6hKbqoLuGArD2FFRTNLHc4MEtSyN2B4aYDjPdS6kiTg3UmaNy8HiF+L29t48vMfLT90edjDW+UDFGAWLopnEfn/yvIjny2bEdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aBtnOsAQ6XF8oMOB9+txx0N00Js2cjozUjigy/h0T5c=; b=SuFUUQsm6XmmBK0i+G+MKkdZ6tU8uerrAgfb9CHoN7x7XMr2Z0yzE0yk5Iqq7rCjccQqmNx3U2XBgY2miA19kk1tIsqQRpiQ7WNkLQNYpuESUl2zoQnIx5BKfAde2jIIoJ09iwjPiaaJTtGgK8TwlRmuiHhU9kkpJ5NhgaDY3AODvg8zzmvBu15n+rQa62XuI0gdaDGojof4rlnqIhiEec02draHLkZD3GIMFcnVmco0ExiIK/okUN7HvBl6/sPLyuqgYyHV+yHPFmKuYHiyz+gI6e1hTX/b/HH0z85dVUZM7lnracBEsu9WEH2zTWojWlyrfIhckO+5hy8/orudXg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from PH7PR11MB6377.namprd11.prod.outlook.com (2603:10b6:510:1fb::13) by BL1PR11MB5223.namprd11.prod.outlook.com (2603:10b6:208:31a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.26; Thu, 16 Feb 2023 09:17:59 +0000 Received: from PH7PR11MB6377.namprd11.prod.outlook.com ([fe80::5f27:d428:eb21:fbeb]) by PH7PR11MB6377.namprd11.prod.outlook.com ([fe80::5f27:d428:eb21:fbeb%9]) with mapi id 15.20.6086.026; Thu, 16 Feb 2023 09:17:59 +0000 From: "Gao, Zhichao" To: Sunny Wang , "devel@edk2.groups.io" , Sam Kaynor CC: "Ni, Ray" Subject: Re: [edk2-devel] [PATCH v1 1/1] ShellPkg: UefiShellDebug1CommandsLib: Uefi Config Tables in Dmem.c Thread-Topic: [edk2-devel] [PATCH v1 1/1] ShellPkg: UefiShellDebug1CommandsLib: Uefi Config Tables in Dmem.c Thread-Index: AQHZOzoPetda5I6yOkSMYpztlfr5aa7Oo2KAgAK1LWA= Date: Thu, 16 Feb 2023 09:17:59 +0000 Message-ID: References: <20230207211957.62077-1-Sam.Kaynor@arm.com> <20230207211957.62077-2-Sam.Kaynor@arm.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR11MB6377:EE_|BL1PR11MB5223:EE_ x-ms-office365-filtering-correlation-id: bb68e508-09ee-4f54-8fe1-08db0ffeb29a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eX3tJi4LZtzXyoEp/otsv7+l+HhykPYDn0/ePs+Y6TnHhdFplKou9/sofbv7gAku5QAHC09k+5ztcAu0MPYa5Wk5P+f8hNVSup/AMwPZlFcnGe9TL5+qVlGbdIJZKJuQn+3O+YEJXesPExctZ8Xz2o1530U9gWuTAxa5TP1OjY5v/CuOenhuVz/LGvC46Q7wfUJxbiF3UEZPzqiLErOyNEc1r00tWeezX7DaUdjeDN/xUdsOZcGWCM9qqnhsOhIpnd5TsCF47Ui1rIuY6QSwT55RHkUhY+nIejeYNzJHaAQf7RPpvgG+Kltlw3zDSVWo/pMB1q5Gbk0I0tbjvSHLSzadisZCAN56AgUszwCqmkwQvb5We32ApdgjwC9zYbK0Wcm1x7hRcoXzXTt9nQkDMWAds65qk9Yat5cr7+GXeq1etMkTfuFcMBp+JZxnFVCdXijR+AcpFQKSYFllZ5RKpNVD5qojCiKRPkxGf0UNJF5R6rosOlM6je8Fm/UvCdPVJkny8g1xcc4IHflgrVGr3PYTY17F0hdpZzpJbeGJgdjN3Nwkr2EpfMLMtvRpDIAHWGs5foCTiHSsVUGg0LKZ3uvF13Dhk5v0k/f1tjSg7TMBRGFTow5Lgy/t/QFWWT0ha+a/Jx9Qwr5w6ayVTk+p/sS1m6KsOWylzOzF6H3m/ffYbiquQtskmxxHfjeuRW0qK4DGdXYeWtMOCgH5M2YCGmeJCmR4jFJHO1EgSieIS84= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR11MB6377.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(396003)(366004)(376002)(136003)(346002)(451199018)(38070700005)(8936002)(86362001)(52536014)(30864003)(38100700002)(41300700001)(5660300002)(82960400001)(64756008)(76116006)(122000001)(4326008)(66946007)(66556008)(66476007)(66899018)(2906002)(66446008)(8676002)(19627235002)(316002)(107886003)(55016003)(71200400001)(478600001)(33656002)(110136005)(83380400001)(26005)(6506007)(53546011)(7696005)(966005)(186003)(9686003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?4wVm4kCkIZWHUQnHbp7y3dFGreCc73ipBAvVJijnF9nSzxeQAQjeKNryhXwg?= =?us-ascii?Q?86Um69FUOy/Gw++Z0tIObFS5CDhMcozhCt9wf0EvIqtb3fiZdcwPZcKcckL4?= =?us-ascii?Q?VrK+85HOpc0SocfEBSQKkwUTlHjoLMEC+BOEfyXDd16HkN9l2eVz3Hlcqhno?= =?us-ascii?Q?ANj62Ja4IK6RjLxgKl1GAuXTCxn5sIcaoUUp9H7emAI7iWPv+/c1k4WhfCaV?= =?us-ascii?Q?aaI1wDt7Fd+oxZU4P7Ft96w20hBDT3W28z+1XgSfqODQveN0fIHPKVRBxKYR?= =?us-ascii?Q?7ZkBhtU0vjqQ9kIzdMmZkqqJFZ40i1z8VGR8wTdFG6DS8BBROjzbWhN2NZTC?= =?us-ascii?Q?QIGfHiG8e6yoKgH0kKMpJmJhofFDQIxaUwvjbqKvQ3UlX73hA82lDGz6oX58?= =?us-ascii?Q?imZLchx0oJAyIs3f+2Icq6N8RMkq4Tt2sMlgFx/2q6ZRI93Z/p/vbMaFuSXt?= =?us-ascii?Q?RAbI2J6YnPTnWZqxzWfvuJbz9xUnZFYJ2XxtSr0OKia3bPBo14bc1fIgwFti?= =?us-ascii?Q?PDIMe6MkE+MaJQ5r+t6CA4aAiT2m6QYx1F6FS80Xe4nK32BEH70p6d+7BVoD?= =?us-ascii?Q?/NZEVwvWZqo06UMz1xFRD0kKZzXKKxicvsLFq0lZU/NC9F8+4Hjh1ttl9LFf?= =?us-ascii?Q?Yn1fldPoMtUInOG4qu8UoKrQEOqhBGIL21kAcCJOjgVd/7jStQj93f81jEL6?= =?us-ascii?Q?MrYgh8Eiip6sEuyYkx/Fr51Lh3E6ez+stVIwmG+YIZBRdLDvUP/wUw6IVM7f?= =?us-ascii?Q?RWkD9qMG5Mc3j3LouwTG0cNd4iDrE3QLQ4tgX62/hlKdLlJnt4LnLfTPfX0s?= =?us-ascii?Q?TXv9qJdaNJZ4lK0rjBcbXjsIEUeYFF3EOqERnma96yTFWSVkyPKYHfN20lpO?= =?us-ascii?Q?8qnTsGvkSqcOLAjBDf7XLkU2auaZ4S7RHUVWboyhyeeFfbYa9dU/O09fTLPN?= =?us-ascii?Q?f+a/NtqPYYibypb4WNgwELnBPn/02HbSL0LrDN2KvWRowuctBRYOsmx3ZyWp?= =?us-ascii?Q?8nOZXyD2hShdsQV2wCB1Jz25DnAAWY/v8Inga79lRpD78v+0bAXNiXpDT6DM?= =?us-ascii?Q?nxGwPSfzKW/WGOPBd0sgWYiJfyRg4ZgVR6yAvM2QiaBeCHurlLnBkX1S/rBX?= =?us-ascii?Q?ImB1KrQlxrOm4J+9Tm7A1yqUlY7yXycKbTzkJkHDI+vOpKln/Fr9Ak+bKwEg?= =?us-ascii?Q?pfH4XCRHmaCoJtdwdmfU8SJA2+yEfTf2WNy3CPp2n988VuLjkMlO6TqB52++?= =?us-ascii?Q?IqwF58KcxtcU1GRYH9a2+hVoQB7ni7T8m5h+cE1QSkg7lGkXx9M1obY0fr88?= =?us-ascii?Q?o3SjbON3rBhdDDJ5DGdpuF63e0vznU65FoYPZJsdEO0QYM2cFeSy41CFRJYj?= =?us-ascii?Q?ofkUrBl/AYZPp9hQNB5IBMhZd3Z6YASF2qj+dgaYbxZmXy8BCjAoMvcmxLz6?= =?us-ascii?Q?Z8ORcVzz8nP2CQAqDTENmYXRdNYAik6KSctMxOQJkmGGTgS0dOY76O4X256K?= =?us-ascii?Q?EaXau/riBaFxg+AnwnWni1n6vGLCbi7P3O07aSwAaTSWtGXUyDrTDEz4Blke?= =?us-ascii?Q?bYNbo0SS621DvAPaWpI+pfMwv+JzmdJLFM95Ie5Y?= 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: bb68e508-09ee-4f54-8fe1-08db0ffeb29a X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Feb 2023 09:17:59.5015 (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: 1y1UkxvJVTA5YL19C9lS8U2+WJ7jwsv9Wk7+EEU0Ae5psUg2IE9PwCvTxG7y2KyXylJbh88ackZGEW4LeD6PWw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB5223 Return-Path: zhichao.gao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Zhichao Gao Thanks, Zhichao > -----Original Message----- > From: Sunny Wang > Sent: Tuesday, February 14, 2023 11:57 PM > To: devel@edk2.groups.io; Sam Kaynor > Cc: Ni, Ray ; Gao, Zhichao ; > Sunny Wang > Subject: RE: [edk2-devel] [PATCH v1 1/1] ShellPkg: > UefiShellDebug1CommandsLib: Uefi Config Tables in Dmem.c >=20 > Looks good to me. Thanks for working on this, Sam. > Just for others' information, I also had an offline discussion with Sam. > - This is change is based on UEFI 2.10 section 4.6. EFI Configuration= Table & > Properties Table > https://uefi.org/specs/UEFI/2.10/04_EFI_System_Table.html#efi- > configuration-table-properties-table. > - The link of pull request is https://github.com/tianocore/edk2/pull/= 4038 >=20 > Reviewed-by: Sunny Wang >=20 > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Sam > Kaynor via groups.io > Sent: 07 February 2023 21:20 > To: devel@edk2.groups.io > Cc: Sam Kaynor ; Ray Ni ; > Zhichao Gao > Subject: [edk2-devel] [PATCH v1 1/1] ShellPkg: > UefiShellDebug1CommandsLib: Uefi Config Tables in Dmem.c >=20 > Added entries for UEFI Config Tables not present in current Dmem output. >=20 > Cc: Ray Ni > Cc: Zhichao Gao > Signed-off-by: Sam Kaynor > --- >=20 > ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Commands > Lib.inf | 9 ++ > ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c = | 89 > ++++++++++++++++++-- >=20 > ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Commands > Lib.uni | 28 ++++-- > 3 files changed, 112 insertions(+), 14 deletions(-) >=20 > diff --git > a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comman > dsLib.inf > b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comman > dsLib.inf > index 74ad5facf6b1..3741dac5d94c 100644 > --- > a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comman > dsLib.inf > +++ > b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comman > d > +++ sLib.inf > @@ -121,6 +121,7 @@ [Protocols] > gEfiBlockIoProtocolGuid ## SOMETIMES_CONSUMES >=20 > gEfiSimplePointerProtocolGuid ## SOMETIMES_CONSUMES >=20 > gEfiCpuIo2ProtocolGuid ## SOMETIMES_CONSUMES >=20 > + gEfiHiiDatabaseProtocolGuid ## SOMETIMES_CONSUMES >=20 >=20 >=20 > [Guids] >=20 > gEfiGlobalVariableGuid ## SOMETIMES_CONSUMES ## GUID >=20 > @@ -130,3 +131,11 @@ [Guids] > gEfiAcpi10TableGuid ## SOMETIMES_CONSUMES ## SystemTable >=20 > gEfiAcpi20TableGuid ## SOMETIMES_CONSUMES ## SystemTable >=20 > gShellDebug1HiiGuid ## SOMETIMES_CONSUMES ## HII >=20 > + gEfiMemoryAttributesTableGuid ## SOMETIMES_CONSUMES ## > SystemTable >=20 > + gEfiRtPropertiesTableGuid ## SOMETIMES_CONSUMES ## SystemTable >=20 > + gEfiSystemResourceTableGuid ## SOMETIMES_CONSUMES ## > SystemTable >=20 > + gEfiDebugImageInfoTableGuid ## SOMETIMES_CONSUMES ## > SystemTable >=20 > + gEfiImageSecurityDatabaseGuid ## SOMETIMES_CONSUMES ## > SystemTable >=20 > + gEfiJsonConfigDataTableGuid ## SOMETIMES_CONSUMES ## > SystemTable >=20 > + gEfiJsonCapsuleDataTableGuid ## SOMETIMES_CONSUMES ## > SystemTable >=20 > + gEfiJsonCapsuleResultTableGuid ## SOMETIMES_CONSUMES ## > SystemTable >=20 > diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c > b/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c > index c52c212a56f8..e2aed306d466 100644 > --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c > +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c > @@ -10,9 +10,16 @@ >=20 >=20 > #include "UefiShellDebug1CommandsLib.h" >=20 > #include >=20 > +#include >=20 > #include >=20 > #include >=20 > #include >=20 > +#include >=20 > +#include >=20 > +#include >=20 > +#include >=20 > +#include >=20 > +#include >=20 >=20 >=20 > /** >=20 > Make a printable character. >=20 > @@ -108,6 +115,18 @@ ShellCommandRunDmem ( > UINT64 SalTableAddress; >=20 > UINT64 SmbiosTableAddress; >=20 > UINT64 MpsTableAddress; >=20 > + UINT64 DtbTableAddress; >=20 > + UINT64 MemoryAttributesTableAddress; >=20 > + UINT64 RtPropertiesTableAddress; >=20 > + UINT64 SystemResourceTableAddress; >=20 > + UINT64 DebugImageInfoTableAddress; >=20 > + UINT64 ImageExecutionTableAddress; >=20 > + UINT64 JsonConfigDataTableAddress; >=20 > + UINT64 JsonCapsuleDataTableAddress; >=20 > + UINT64 JsonCapsuleResultTableAddress; >=20 > + UINT64 MemoryRangeCapsuleAddress; >=20 > + UINT64 HiiDatabaseExportBufferAddress; >=20 > + UINT64 ConformanceProfileTableAddress; >=20 > UINTN TableWalker; >=20 >=20 >=20 > ShellStatus =3D SHELL_SUCCESS; >=20 > @@ -168,11 +187,23 @@ ShellCommandRunDmem ( > ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN > (STR_DMEM_HEADER_ROW), gShellDebug1HiiHandle, > (UINT64)(UINTN)Address, Size); >=20 > DumpHex (2, (UINTN)Address, (UINTN)Size, Address); >=20 > if (Address =3D=3D (VOID *)gST) { >=20 > - Acpi20TableAddress =3D 0; >=20 > - AcpiTableAddress =3D 0; >=20 > - SalTableAddress =3D 0; >=20 > - SmbiosTableAddress =3D 0; >=20 > - MpsTableAddress =3D 0; >=20 > + Acpi20TableAddress =3D 0; >=20 > + AcpiTableAddress =3D 0; >=20 > + SalTableAddress =3D 0; >=20 > + SmbiosTableAddress =3D 0; >=20 > + MpsTableAddress =3D 0; >=20 > + DtbTableAddress =3D 0; >=20 > + MemoryAttributesTableAddress =3D 0; >=20 > + RtPropertiesTableAddress =3D 0; >=20 > + SystemResourceTableAddress =3D 0; >=20 > + DebugImageInfoTableAddress =3D 0; >=20 > + ImageExecutionTableAddress =3D 0; >=20 > + JsonConfigDataTableAddress =3D 0; >=20 > + JsonCapsuleDataTableAddress =3D 0; >=20 > + JsonCapsuleResultTableAddress =3D 0; >=20 > + MemoryRangeCapsuleAddress =3D 0; >=20 > + HiiDatabaseExportBufferAddress =3D 0; >=20 > + ConformanceProfileTableAddress =3D 0; >=20 > for (TableWalker =3D 0; TableWalker < gST->NumberOfTableEntrie= s; > TableWalker++) { >=20 > if (CompareGuid (&gST- > >ConfigurationTable[TableWalker].VendorGuid, &gEfiAcpi20TableGuid)) { >=20 > Acpi20TableAddress =3D (UINT64)(UINTN)gST- > >ConfigurationTable[TableWalker].VendorTable; >=20 > @@ -193,11 +224,43 @@ ShellCommandRunDmem ( > SmbiosTableAddress =3D (UINT64)(UINTN)gST- > >ConfigurationTable[TableWalker].VendorTable; >=20 > continue; >=20 > } >=20 > - >=20 > if (CompareGuid (&gST- > >ConfigurationTable[TableWalker].VendorGuid, &gEfiMpsTableGuid)) { >=20 > MpsTableAddress =3D (UINT64)(UINTN)gST- > >ConfigurationTable[TableWalker].VendorTable; >=20 > continue; >=20 > } >=20 > + if > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > + &gEfiMemoryAttributesTableGuid)) { >=20 > + MemoryAttributesTableAddress =3D > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; >=20 > + continue; >=20 > + } >=20 > + if > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > + &gEfiRtPropertiesTableGuid)) { >=20 > + RtPropertiesTableAddress =3D > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; >=20 > + continue; >=20 > + } >=20 > + if > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > + &gEfiSystemResourceTableGuid)) { >=20 > + SystemResourceTableAddress =3D > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; >=20 > + continue; >=20 > + } >=20 > + if > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > + &gEfiDebugImageInfoTableGuid)) { >=20 > + DebugImageInfoTableAddress =3D > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; >=20 > + continue; >=20 > + } >=20 > + if > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > + &gEfiImageSecurityDatabaseGuid)) { >=20 > + ImageExecutionTableAddress =3D > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; >=20 > + } >=20 > + if > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > + &gEfiJsonConfigDataTableGuid)) { >=20 > + JsonConfigDataTableAddress =3D > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; >=20 > + continue; >=20 > + } >=20 > + if > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > + &gEfiJsonCapsuleDataTableGuid)) { >=20 > + JsonCapsuleDataTableAddress =3D > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; >=20 > + continue; >=20 > + } >=20 > + if > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > + &gEfiJsonCapsuleResultTableGuid)) { >=20 > + JsonCapsuleResultTableAddress =3D > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; >=20 > + } >=20 > + if > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > + &gEfiHiiDatabaseProtocolGuid)) { >=20 > + HiiDatabaseExportBufferAddress =3D > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; >=20 > + } >=20 > } >=20 >=20 >=20 > ShellPrintHiiEx ( >=20 > @@ -218,7 +281,19 @@ ShellCommandRunDmem ( > AcpiTableAddress, >=20 > Acpi20TableAddress, >=20 > MpsTableAddress, >=20 > - SmbiosTableAddress >=20 > + SmbiosTableAddress, >=20 > + DtbTableAddress, >=20 > + MemoryAttributesTableAddress, >=20 > + RtPropertiesTableAddress, >=20 > + SystemResourceTableAddress, >=20 > + DebugImageInfoTableAddress, >=20 > + ImageExecutionTableAddress, >=20 > + JsonConfigDataTableAddress, >=20 > + JsonCapsuleDataTableAddress, >=20 > + JsonCapsuleResultTableAddress, >=20 > + MemoryRangeCapsuleAddress, >=20 > + HiiDatabaseExportBufferAddress, >=20 > + ConformanceProfileTableAddress >=20 > ); >=20 > } >=20 > } else { >=20 > diff --git > a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comman > dsLib.uni > b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comman > dsLib.uni > index b1d239ed37ea..c1067a0474cd 100644 > --- > a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comman > dsLib.uni > +++ > b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comman > d > +++ sLib.uni > @@ -108,13 +108,27 @@ > "---------------------= ------------------------\r\n" >=20 > "System: Table Structu= re size %08x > revision %08x\r\n" >=20 > "ConIn (%016LX) ConOut= (%016LX) StdErr > (%016LX)\r\n" >=20 > - "Runtime Services %016= LX\r\n" >=20 > - "Boot Services %016= LX\r\n" >=20 > - "SAL System Table %016= LX\r\n" >=20 > - "ACPI Table %016= LX\r\n" >=20 > - "ACPI 2.0 Table %016= LX\r\n" >=20 > - "MPS Table %016= LX\r\n" >=20 > - "SMBIOS Table %016= LX\r\n" >=20 > + "Runtime Services = %016LX\r\n" >=20 > + "Boot Services = %016LX\r\n" >=20 > + "SAL System Table = %016LX\r\n" >=20 > + "ACPI Table = %016LX\r\n" >=20 > + "ACPI 2.0 Table = %016LX\r\n" >=20 > + "MPS Table = %016LX\r\n" >=20 > + "SMBIOS Table = %016LX\r\n" >=20 > + "DTB Table = %016LX\r\n" >=20 > + "Memory Attribute Tabl= e %016LX\r\n" >=20 > + "RT Properties Table = %016LX\r\n" >=20 > + "System Resource Table= %016LX\r\n" >=20 > + "Debug Image Info Tabl= e %016LX\r\n" >=20 > + "Image Execution Info = Table %016LX\r\n" >=20 > + "Json Config Data Tabl= e %016LX\r\n" >=20 > + "Json Capsule Data Tab= le %016LX\r\n" >=20 > + "Json Capsule Results = Table %016LX\r\n" >=20 > + "Memory Range Capsule = %016LX\r\n" >=20 > + "Hii Database Export B= uffer %016LX\r\n" >=20 > + "Conformance Profile T= able %016LX\r\n" >=20 > + >=20 > + >=20 >=20 >=20 > #string STR_LOAD_PCI_ROM_RES #language en-US "Image '%B%s%N' > load result: %r\r\n" >=20 > #string STR_LOADPCIROM_CORRUPT #language en-US "%H%s%N: File > '%B%s%N' Image %d is corrupt.\r\n" >=20 > -- > 2.25.1 >=20 >=20 >=20 > -=3D-=3D-=3D-=3D-=3D-=3D > Groups.io Links: You receive all messages sent to this group. > View/Reply Online (#99774): https://edk2.groups.io/g/devel/message/99774 > Mute This Topic: https://groups.io/mt/96817141/5985097 > Group Owner: devel+owner@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub > [Sunny.Wang@arm.com] -=3D-=3D-=3D-=3D-=3D-=3D >=20 >=20 > IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended reci= pient, > please notify the sender immediately and do not disclose the contents to = any > other person, use it for any purpose, or store or copy the information in= any > medium. Thank you.