From nobody Mon Feb 9 23:38:39 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+110974+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+110974+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1699531597; cv=none; d=zohomail.com; s=zohoarc; b=MswATYsIIs+ITNLf5M/aX70SBDIOOBfl+XqnPXFyWYknTNt71k3Q4iOsiMW2lD3EVA8bM+X7rlIyRyncAgNkv1v3IH03CbUOkK+xaxEjyoHtKTYo6229CcAVC+At7umaaDzORcSALIcfAUnNLP5yv1W+cgUXQo+wi4EuBtgo/l4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1699531597; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Sender:Subject:Subject:To:To:Message-Id; bh=WkqyPrGBrUZm6urkvzgnw1Lz8rkjTVcdlpZquH1bZck=; b=Trgj76BVhvARINmJHv+WHEh9UgtTyE+v5y2pi3I+BVbpxRUOYQ+ACJifcTs0I+/QSfTsNaobqrX9lhZ88IQCAZD86Us/SYVvN/bBsRRUWbnJS15x0WgLHER8tdgghjAQ+kUf1IzizhAh5tNt+9OoSYLnVeBdtrm7csM5QrxXw+E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+110974+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1699531597219838.9701779743206; Thu, 9 Nov 2023 04:06:37 -0800 (PST) Return-Path: DKIM-Signature: a=rsa-sha256; bh=WkqyPrGBrUZm6urkvzgnw1Lz8rkjTVcdlpZquH1bZck=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20140610; t=1699531596; v=1; b=k80ECA8+f7DocfkXIB0Mv7HkSWAYzL8DXtaOHId8+83mev0whCpaaahpJsnKANJ8SLhPKtYG DnigPwXYPpPkY3ZGFDyM0SvqexRnCIYrw0hPSy+bmxwY8QL6t3VX8sMrp+9lmvroKZ0NGJW+Dl/ j4Mf6GxeBczYHJ4K4GY7KBP0= X-Received: by 127.0.0.2 with SMTP id J5gOYY1788612xD6eakEg8FV; Thu, 09 Nov 2023 04:06:36 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.119743.1699531595895009964 for ; Thu, 09 Nov 2023 04:06:36 -0800 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-648-NFNP_ZfYMSG-A42Mj4lyoQ-1; Thu, 09 Nov 2023 07:06:33 -0500 X-MC-Unique: NFNP_ZfYMSG-A42Mj4lyoQ-1 X-Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D39F4185A783; Thu, 9 Nov 2023 12:06:32 +0000 (UTC) X-Received: from lacos-laptop-9.usersys.redhat.com (unknown [10.39.192.212]) by smtp.corp.redhat.com (Postfix) with ESMTP id 46CDE1121306; Thu, 9 Nov 2023 12:06:32 +0000 (UTC) From: "Laszlo Ersek" To: devel@edk2.groups.io Cc: Zhichao Gao Subject: [edk2-devel] [PATCH 2/3] ShellPkg/UefiShellDebug1CommandsLib: remove gEfiMpsTableGuid ref from DMEM Date: Thu, 9 Nov 2023 13:06:27 +0100 Message-Id: <20231109120628.55913-3-lersek@redhat.com> In-Reply-To: <20231109120628.55913-1-lersek@redhat.com> References: <6f4604d0-c12e-f818-2de1-44e9b1f4dbc7@redhat.com> <20231109120628.55913-1-lersek@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.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 Reply-To: devel@edk2.groups.io,lersek@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 4HVcwWlhw9AcBUDlosd62SlIx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1699531597549100004 Content-Type: text/plain; charset="utf-8"; x-default="true" We're removing . First, remove the gEfiMpsTableGuid system config table reference from the UEFI Shell's DMEM debug command. Cc: Zhichao Gao Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1754 Signed-off-by: Laszlo Ersek --- ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.uni= | 1 - ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf= | 1 - ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c = | 9 --------- 3 files changed, 11 deletions(-) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Com= mandsLib.uni b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1C= ommandsLib.uni index 4041f0cd483e..155efc1a82f1 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLi= b.uni +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLi= b.uni @@ -112,7 +112,6 @@ "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 Table = %016LX\r\n" diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Com= mandsLib.inf b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1C= ommandsLib.inf index 3741dac5d94c..2074cb7d96da 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLi= b.inf +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLi= b.inf @@ -127,7 +127,6 @@ [Guids] gEfiGlobalVariableGuid ## SOMETIMES_CONSUMES ## GUID gEfiSmbiosTableGuid ## SOMETIMES_CONSUMES ## SystemTable gEfiSmbios3TableGuid ## SOMETIMES_CONSUMES ## SystemTable - gEfiMpsTableGuid ## SOMETIMES_CONSUMES ## SystemTable gEfiAcpi10TableGuid ## SOMETIMES_CONSUMES ## SystemTable gEfiAcpi20TableGuid ## SOMETIMES_CONSUMES ## SystemTable gShellDebug1HiiGuid ## SOMETIMES_CONSUMES ## HII diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c b/ShellPkg/= Library/UefiShellDebug1CommandsLib/Dmem.c index a609971f345e..39a59c195512 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include @@ -113,7 +112,6 @@ ShellCommandRunDmem ( UINT64 Acpi20TableAddress; UINT64 SalTableAddress; UINT64 SmbiosTableAddress; - UINT64 MpsTableAddress; UINT64 DtbTableAddress; UINT64 MemoryAttributesTableAddress; UINT64 RtPropertiesTableAddress; @@ -190,7 +188,6 @@ ShellCommandRunDmem ( AcpiTableAddress =3D 0; SalTableAddress =3D 0; SmbiosTableAddress =3D 0; - MpsTableAddress =3D 0; DtbTableAddress =3D 0; MemoryAttributesTableAddress =3D 0; RtPropertiesTableAddress =3D 0; @@ -224,11 +221,6 @@ ShellCommandRunDmem ( continue; } =20 - if (CompareGuid (&gST->ConfigurationTable[TableWalker].VendorG= uid, &gEfiMpsTableGuid)) { - MpsTableAddress =3D (UINT64)(UINTN)gST->ConfigurationTable[T= ableWalker].VendorTable; - continue; - } - if (CompareGuid (&gST->ConfigurationTable[TableWalker].VendorG= uid, &gEfiMemoryAttributesTableGuid)) { MemoryAttributesTableAddress =3D (UINT64)(UINTN)gST->Configu= rationTable[TableWalker].VendorTable; continue; @@ -292,7 +284,6 @@ ShellCommandRunDmem ( SalTableAddress, AcpiTableAddress, Acpi20TableAddress, - MpsTableAddress, SmbiosTableAddress, DtbTableAddress, MemoryAttributesTableAddress, -=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 (#110974): https://edk2.groups.io/g/devel/message/110974 Mute This Topic: https://groups.io/mt/102483865/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/3901457/1787277/102458076= /xyzzy [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-