From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.78]) by mx.groups.io with SMTP id smtpd.web10.26007.1677597420409786390 for ; Tue, 28 Feb 2023 07:17:01 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=IHnMO5ZA; spf=pass (domain: arm.com, ip: 40.107.22.78, mailfrom: samer.el-haj-mahmoud@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l8PDG+9WQaxX4sSZ8m8r6/9+Z4JHpKKMvl0Ueo992vk=; b=IHnMO5ZAdeLnA870rV4TXZ1hxBDlObD5uHVuZj+Ds2h+GsXrLI0gx9PrlDVLNHQtvGuwZ6y4Mp4EhDMh57Be8k+yik06jkmKLWKJP73JXh8icZXlTA4WgQD2UNrp8muUfZQWS7CF0MtJ6sktj790NQn7A2zs6zAjzIrNKnNmbCs= Received: from DB7PR02CA0033.eurprd02.prod.outlook.com (2603:10a6:10:52::46) by PAXPR08MB7525.eurprd08.prod.outlook.com (2603:10a6:102:24b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.30; Tue, 28 Feb 2023 15:16:57 +0000 Received: from DBAEUR03FT026.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::22) by DB7PR02CA0033.outlook.office365.com (2603:10a6:10:52::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.30 via Frontend Transport; Tue, 28 Feb 2023 15:16:57 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT026.mail.protection.outlook.com (100.127.142.242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17 via Frontend Transport; Tue, 28 Feb 2023 15:16:56 +0000 Received: ("Tessian outbound f2a8d6d66d12:v135"); Tue, 28 Feb 2023 15:16:56 +0000 X-CR-MTA-TID: 64aa7808 Received: from 498678f8edfa.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id FE73D5D9-EAF2-4EAB-9164-C7CE64D6014F.1; Tue, 28 Feb 2023 15:16:46 +0000 Received: from EUR02-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 498678f8edfa.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 28 Feb 2023 15:16:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IUqK0AQJyUJB82XxjnApwP1pferBJO+bGBrDToe8n6DCICod1EPPr58OYvd7i8AcE89jBOaREYeWWlL37fZqH6JJDHNAud6VmE2/7y70mtVArTbXCORStXNIYbCG58RXc7azAojhfoits7phNY21fd7v/0RT+7IthV0D0w3n2XaS9aUqIGm9ydWXFI/kfdpZqqOUc7TP1KkAOQ+BMfM8D1Uy5SvGqa/vuIpCxM3kmuQMedUC7Frwi6QjPgc/b5KPp9IynRcAp75mEMAri13GOJQdKrLSgQJIwmdpIKsOW72Fw7H+0W+ItxI7aPW/6wFWyTjnp/ADoMPMVJP/KEbabA== 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=l8PDG+9WQaxX4sSZ8m8r6/9+Z4JHpKKMvl0Ueo992vk=; b=fGpYhPNlT7FeF6XRFasbxC/MXobwtFsqUF1TO5YM0NMNSQmwcLS3G6sv8dWYbS4nXtXdXErdDeMOoC8VelkDKPYkRekaNrM1OyoOc3MLOMSBivdtF5BQoNdIVgSJnSGy6jkNsyuJXSYJql53x+nYVdmYjlFNWR3LO6dn/Ef+Ws3CGuB1T4E5RzL2q5s7gDJ8H2Osb3aExSwz9PcPeV1NUXNuZn449DwB0v97TE7su5yYcP4PPljjaAFpg0Sj/NTmAP+hEsjGlbgaPVHBtWDtOBFXYnGk8D5G+JEmuYLA1XQQ7078T5WA1UCylCedzqH1ydyQ6D5oDbxqWs3/LrNxTQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l8PDG+9WQaxX4sSZ8m8r6/9+Z4JHpKKMvl0Ueo992vk=; b=IHnMO5ZAdeLnA870rV4TXZ1hxBDlObD5uHVuZj+Ds2h+GsXrLI0gx9PrlDVLNHQtvGuwZ6y4Mp4EhDMh57Be8k+yik06jkmKLWKJP73JXh8icZXlTA4WgQD2UNrp8muUfZQWS7CF0MtJ6sktj790NQn7A2zs6zAjzIrNKnNmbCs= Received: from VI1PR08MB5312.eurprd08.prod.outlook.com (2603:10a6:803:139::24) by AS8PR08MB9409.eurprd08.prod.outlook.com (2603:10a6:20b:5a8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.30; Tue, 28 Feb 2023 15:16:43 +0000 Received: from VI1PR08MB5312.eurprd08.prod.outlook.com ([fe80::a4b4:b5eb:d1dc:8194]) by VI1PR08MB5312.eurprd08.prod.outlook.com ([fe80::a4b4:b5eb:d1dc:8194%8]) with mapi id 15.20.6134.030; Tue, 28 Feb 2023 15:16:43 +0000 From: "Samer El-Haj-Mahmoud" To: "devel@edk2.groups.io" , "zhichao.gao@intel.com" , Sunny Wang , Sam Kaynor CC: "Ni, Ray" , Samer El-Haj-Mahmoud 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: AQHZOzouSAMTm7QWz0KK2BIquiO5x67Oo2KAgAK1SYCAEz+MsA== Date: Tue, 28 Feb 2023 15:16:43 +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: x-ts-tracking-id: A1B773A66CF5C14898DF4E82175B0FD4.0 x-checkrecipientchecked: true Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: VI1PR08MB5312:EE_|AS8PR08MB9409:EE_|DBAEUR03FT026:EE_|PAXPR08MB7525:EE_ X-MS-Office365-Filtering-Correlation-Id: 4359c76d-6b6d-459b-0dc9-08db199ed4dd x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: YGXDLBBhpFM7kNMtQT1P8Pht7i6jq0DSnMVkD7PnTsgGoCAQXaLHL4AtCxr2TMdf36VwdfWBXRagsw/UG17vq2HHmGAt0l7yyiNapEEO4xtFUUti2NMu8iP8jgxdZOCJSFPw/tCzQYGd9j/ccdBkP1xGvKhCnzv6yrR89lLaw3kPZ21Rs0wR3QMlZtZExq163NQ3lXjEB/tZlSLNikU3fF9UzcyExnoKb6K7e+VzhJu6zP8Fs7ZVyzO2R/TY8xSYogz91+IVOlahe4K6Qbf+sYneU8pqYTA6xjslyLiVWN6tWqFbS4EMJ1oegvcfCzbeaIB/Rwqo9l/FGSXYrZXbTQeGBZzPmENO5tYklUibZYLjQ1LQqm3YbPRXX1+VnocpYHU1DGYbyHudAUUClRkv18qSoY5AQjuFAcie3AU9LfFZxwhINiK/JOvaoFPzP0m2tWlXwQeRe6E9Z/YdIDDvVWhwSchvcm7Vl3H/LvmtDeYKr5ZI8W+Sf5UQu0nV0dz3bAbdiPRg7QNBZ4/HONQnc7U1zBSjAiUs4kY3ZxoARtCTXUTfDZaNmVSBs4wikzKNQt3ruYIWqetAulJDKA4bVlTjO5YlSpEhKN6XIwGYoNcvPcYGGSnYXYNOIxMUzyrA2IBK1TRJMB/Pr/PR3LOnLMLSyFoZdRhMWnR9H7ofqHL9Bp4vHzxiO/o1O8rIvbSlXKFZC/OIfGwGe0h6d2+UcRg7SeHLcdMTxF7f7lXw+PM= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR08MB5312.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(346002)(136003)(366004)(396003)(39860400002)(376002)(451199018)(66899018)(4326008)(86362001)(33656002)(66476007)(64756008)(66946007)(55016003)(66556008)(66446008)(8676002)(5660300002)(2906002)(41300700001)(8936002)(30864003)(52536014)(38070700005)(122000001)(38100700002)(71200400001)(966005)(478600001)(6636002)(316002)(19627235002)(76116006)(54906003)(7696005)(83380400001)(110136005)(186003)(9686003)(26005)(6506007)(53546011);DIR:OUT;SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB9409 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Return-Path: Samer.El-Haj-Mahmoud@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT026.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: eed2edf5-62c5-48de-f8fc-08db199eccbd X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fox4yzk5Zi5CQnDWDVCsmv6gJo4Smab3VzIV6MFhB7gXYReraeKIrUTkyYHH3tztIbin6u0Ra6pOilOPhHUuhED5RGx3PC5hU1X4Ki5so7n+NFCppdQnmeDpZfJJbFgUyzaUTpem3+UI1GdDE0UcOVwOkEBPfbaCsK4NFxUL9lo7FOFFLEuda4rxo+c1AWKHrPLa3HxIoYE6fLhmPAbjLDxsSHxs/L8vQrPod8ysWpUUfDmTNY1SJQqcUh6fSfwo1EwGMoBrtepCqN7zL84PXVkNu7+aZKm06eHAyJuMtEp6IAIZ11RDBe0FjL2ZQs4YpuHedm5m3fLKtiXXS3o4KqskjVaRwyGVT/JCLRE3kQntZY/YooEvYAVH6ZZUMRLqEVyTOPCG47SzuQyxD0XebrETN7+wkbiI1IP+HJ05y0rld8QPEzNzMejgfJWprIZQxzE51NBnb4rEv/i9YPQd78WT9luqIi/CPXCgD/pF24fCm6QSWpNO7a7wyaFrJjmUMzVm66QGZw3B5F3fc3ojwRQtpbPH18kcDORtXFLDYy806dhVT4vpJAgE2jLA1YEUOq9ALeaxP7XA+lCu4v1Z40qMs9eksxBXsqB15LBriTdTpydq8ICeJm+SqxxVW3mI1Ywz6ZQZtsubVeInYsmA8sfGy4XN9i8hyPr0rWMU02WOl/oyRG0AnXigoMop4iTrwmwQ8rf2SGesSrvRXup2WXP3Jxlq/rhXZDTJrAvgw6E= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230025)(4636009)(346002)(39860400002)(376002)(136003)(396003)(451199018)(46966006)(40470700004)(36840700001)(47076005)(83380400001)(54906003)(110136005)(336012)(81166007)(2906002)(66899018)(316002)(19627235002)(6636002)(30864003)(186003)(9686003)(7696005)(33656002)(966005)(36860700001)(26005)(86362001)(5660300002)(82740400003)(52536014)(82310400005)(8936002)(55016003)(478600001)(356005)(40460700003)(41300700001)(53546011)(6506007)(8676002)(40480700001)(4326008)(70586007)(70206006);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 15:16:56.9684 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4359c76d-6b6d-459b-0dc9-08db199ed4dd X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT026.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB7525 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Looks good to me. Reviewed-by Samer El-Haj-Mahmoud > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Gao, > Zhichao via groups.io > Sent: Thursday, February 16, 2023 4:18 AM > 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 > > 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 > > > > 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 Configurati= on 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/pul= l/4038 > > > > Reviewed-by: Sunny Wang > > > > -----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 > > > > Added entries for UEFI Config Tables not present in current Dmem output= . > > > > Cc: Ray Ni > > Cc: Zhichao Gao > > Signed-off-by: Sam Kaynor > > --- > > > > > ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Commands > > Lib.inf | 9 ++ > > ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c = | 89 > > ++++++++++++++++++-- > > > > > ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Commands > > Lib.uni | 28 ++++-- > > 3 files changed, 112 insertions(+), 14 deletions(-) > > > > 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 > > > > gEfiSimplePointerProtocolGuid ## SOMETIMES_CONSUMES > > > > gEfiCpuIo2ProtocolGuid ## SOMETIMES_CONSUMES > > > > + gEfiHiiDatabaseProtocolGuid ## SOMETIMES_CONSUMES > > > > > > > > [Guids] > > > > gEfiGlobalVariableGuid ## SOMETIMES_CONSUMES ## GUID > > > > @@ -130,3 +131,11 @@ [Guids] > > gEfiAcpi10TableGuid ## SOMETIMES_CONSUMES ## SystemTable > > > > gEfiAcpi20TableGuid ## SOMETIMES_CONSUMES ## SystemTable > > > > gShellDebug1HiiGuid ## SOMETIMES_CONSUMES ## HII > > > > + gEfiMemoryAttributesTableGuid ## SOMETIMES_CONSUMES ## > > SystemTable > > > > + gEfiRtPropertiesTableGuid ## SOMETIMES_CONSUMES ## > SystemTable > > > > + gEfiSystemResourceTableGuid ## SOMETIMES_CONSUMES ## > > SystemTable > > > > + gEfiDebugImageInfoTableGuid ## SOMETIMES_CONSUMES ## > > SystemTable > > > > + gEfiImageSecurityDatabaseGuid ## SOMETIMES_CONSUMES ## > > SystemTable > > > > + gEfiJsonConfigDataTableGuid ## SOMETIMES_CONSUMES ## > > SystemTable > > > > + gEfiJsonCapsuleDataTableGuid ## SOMETIMES_CONSUMES ## > > SystemTable > > > > + gEfiJsonCapsuleResultTableGuid ## SOMETIMES_CONSUMES ## > > SystemTable > > > > 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 @@ > > > > > > #include "UefiShellDebug1CommandsLib.h" > > > > #include > > > > +#include > > > > #include > > > > #include > > > > #include > > > > +#include > > > > +#include > > > > +#include > > > > +#include > > > > +#include > > > > +#include > > > > > > > > /** > > > > Make a printable character. > > > > @@ -108,6 +115,18 @@ ShellCommandRunDmem ( > > UINT64 SalTableAddress; > > > > UINT64 SmbiosTableAddress; > > > > UINT64 MpsTableAddress; > > > > + UINT64 DtbTableAddress; > > > > + UINT64 MemoryAttributesTableAddress; > > > > + UINT64 RtPropertiesTableAddress; > > > > + UINT64 SystemResourceTableAddress; > > > > + UINT64 DebugImageInfoTableAddress; > > > > + UINT64 ImageExecutionTableAddress; > > > > + UINT64 JsonConfigDataTableAddress; > > > > + UINT64 JsonCapsuleDataTableAddress; > > > > + UINT64 JsonCapsuleResultTableAddress; > > > > + UINT64 MemoryRangeCapsuleAddress; > > > > + UINT64 HiiDatabaseExportBufferAddress; > > > > + UINT64 ConformanceProfileTableAddress; > > > > UINTN TableWalker; > > > > > > > > ShellStatus =3D SHELL_SUCCESS; > > > > @@ -168,11 +187,23 @@ ShellCommandRunDmem ( > > ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN > > (STR_DMEM_HEADER_ROW), gShellDebug1HiiHandle, > > (UINT64)(UINTN)Address, Size); > > > > DumpHex (2, (UINTN)Address, (UINTN)Size, Address); > > > > if (Address =3D=3D (VOID *)gST) { > > > > - Acpi20TableAddress =3D 0; > > > > - AcpiTableAddress =3D 0; > > > > - SalTableAddress =3D 0; > > > > - SmbiosTableAddress =3D 0; > > > > - MpsTableAddress =3D 0; > > > > + Acpi20TableAddress =3D 0; > > > > + AcpiTableAddress =3D 0; > > > > + SalTableAddress =3D 0; > > > > + SmbiosTableAddress =3D 0; > > > > + MpsTableAddress =3D 0; > > > > + DtbTableAddress =3D 0; > > > > + MemoryAttributesTableAddress =3D 0; > > > > + RtPropertiesTableAddress =3D 0; > > > > + SystemResourceTableAddress =3D 0; > > > > + DebugImageInfoTableAddress =3D 0; > > > > + ImageExecutionTableAddress =3D 0; > > > > + JsonConfigDataTableAddress =3D 0; > > > > + JsonCapsuleDataTableAddress =3D 0; > > > > + JsonCapsuleResultTableAddress =3D 0; > > > > + MemoryRangeCapsuleAddress =3D 0; > > > > + HiiDatabaseExportBufferAddress =3D 0; > > > > + ConformanceProfileTableAddress =3D 0; > > > > for (TableWalker =3D 0; TableWalker < gST->NumberOfTableEntr= ies; > > TableWalker++) { > > > > if (CompareGuid (&gST- > > >ConfigurationTable[TableWalker].VendorGuid, &gEfiAcpi20TableGuid)) { > > > > Acpi20TableAddress =3D (UINT64)(UINTN)gST- > > >ConfigurationTable[TableWalker].VendorTable; > > > > @@ -193,11 +224,43 @@ ShellCommandRunDmem ( > > SmbiosTableAddress =3D (UINT64)(UINTN)gST- > > >ConfigurationTable[TableWalker].VendorTable; > > > > continue; > > > > } > > > > - > > > > if (CompareGuid (&gST- > > >ConfigurationTable[TableWalker].VendorGuid, &gEfiMpsTableGuid)) { > > > > MpsTableAddress =3D (UINT64)(UINTN)gST- > > >ConfigurationTable[TableWalker].VendorTable; > > > > continue; > > > > } > > > > + if > > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > > + &gEfiMemoryAttributesTableGuid)) { > > > > + MemoryAttributesTableAddress =3D > > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; > > > > + continue; > > > > + } > > > > + if > > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > > + &gEfiRtPropertiesTableGuid)) { > > > > + RtPropertiesTableAddress =3D > > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; > > > > + continue; > > > > + } > > > > + if > > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > > + &gEfiSystemResourceTableGuid)) { > > > > + SystemResourceTableAddress =3D > > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; > > > > + continue; > > > > + } > > > > + if > > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > > + &gEfiDebugImageInfoTableGuid)) { > > > > + DebugImageInfoTableAddress =3D > > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; > > > > + continue; > > > > + } > > > > + if > > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > > + &gEfiImageSecurityDatabaseGuid)) { > > > > + ImageExecutionTableAddress =3D > > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; > > > > + } > > > > + if > > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > > + &gEfiJsonConfigDataTableGuid)) { > > > > + JsonConfigDataTableAddress =3D > > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; > > > > + continue; > > > > + } > > > > + if > > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > > + &gEfiJsonCapsuleDataTableGuid)) { > > > > + JsonCapsuleDataTableAddress =3D > > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; > > > > + continue; > > > > + } > > > > + if > > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > > + &gEfiJsonCapsuleResultTableGuid)) { > > > > + JsonCapsuleResultTableAddress =3D > > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; > > > > + } > > > > + if > > + (CompareGuid(&gST->ConfigurationTable[TableWalker].VendorGuid, > > + &gEfiHiiDatabaseProtocolGuid)) { > > > > + HiiDatabaseExportBufferAddress =3D > > + (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable; > > > > + } > > > > } > > > > > > > > ShellPrintHiiEx ( > > > > @@ -218,7 +281,19 @@ ShellCommandRunDmem ( > > AcpiTableAddress, > > > > Acpi20TableAddress, > > > > MpsTableAddress, > > > > - SmbiosTableAddress > > > > + SmbiosTableAddress, > > > > + DtbTableAddress, > > > > + MemoryAttributesTableAddress, > > > > + RtPropertiesTableAddress, > > > > + SystemResourceTableAddress, > > > > + DebugImageInfoTableAddress, > > > > + ImageExecutionTableAddress, > > > > + JsonConfigDataTableAddress, > > > > + JsonCapsuleDataTableAddress, > > > > + JsonCapsuleResultTableAddress, > > > > + MemoryRangeCapsuleAddress, > > > > + HiiDatabaseExportBufferAddress, > > > > + ConformanceProfileTableAddress > > > > ); > > > > } > > > > } else { > > > > 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" > > > > "System: Table Struc= ture size %08x > > revision %08x\r\n" > > > > "ConIn (%016LX) ConO= ut (%016LX) StdErr > > (%016LX)\r\n" > > > > - "Runtime Services %0= 16LX\r\n" > > > > - "Boot Services %0= 16LX\r\n" > > > > - "SAL System Table %0= 16LX\r\n" > > > > - "ACPI Table %0= 16LX\r\n" > > > > - "ACPI 2.0 Table %0= 16LX\r\n" > > > > - "MPS Table %0= 16LX\r\n" > > > > - "SMBIOS Table %0= 16LX\r\n" > > > > + "Runtime Services = %016LX\r\n" > > > > + "Boot Services = %016LX\r\n" > > > > + "SAL System Table = %016LX\r\n" > > > > + "ACPI Table = %016LX\r\n" > > > > + "ACPI 2.0 Table = %016LX\r\n" > > > > + "MPS Table = %016LX\r\n" > > > > + "SMBIOS Table = %016LX\r\n" > > > > + "DTB Table = %016LX\r\n" > > > > + "Memory Attribute Ta= ble %016LX\r\n" > > > > + "RT Properties Table= %016LX\r\n" > > > > + "System Resource Tab= le %016LX\r\n" > > > > + "Debug Image Info Ta= ble %016LX\r\n" > > > > + "Image Execution Inf= o Table %016LX\r\n" > > > > + "Json Config Data Ta= ble %016LX\r\n" > > > > + "Json Capsule Data T= able %016LX\r\n" > > > > + "Json Capsule Result= s Table %016LX\r\n" > > > > + "Memory Range Capsul= e %016LX\r\n" > > > > + "Hii Database Export= Buffer %016LX\r\n" > > > > + "Conformance Profile= Table %016LX\r\n" > > > > + > > > > + > > > > > > > > #string STR_LOAD_PCI_ROM_RES #language en-US "Image '%B%s%N' > > load result: %r\r\n" > > > > #string STR_LOADPCIROM_CORRUPT #language en-US "%H%s%N: File > > '%B%s%N' Image %d is corrupt.\r\n" > > > > -- > > 2.25.1 > > > > > > > > -=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 > > > > > > IMPORTANT NOTICE: The contents of this email and any attachments are > > confidential and may also be privileged. If you are not the intended > recipient, > > please notify the sender immediately and do not disclose the contents t= o > any > > other person, use it for any purpose, or store or copy the information = in > any > > medium. Thank you. > > >=20 > IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease 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.