From nobody Sun Feb 8 16:24:03 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+106348+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+106348+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1687768614; cv=none; d=zohomail.com; s=zohoarc; b=aEEX4Wx+MeS3NK+ZyMiF3gK/nkZAKl5tyzJozaG/JTFBr9RXfCOYwQUjiCEv7GNVlqoppRM2ni1V8yQbv2ySSjVkvnpiE7Vv3kwz2tWYp/TTAHQiGa/n15TO6gpOt7+9vLz3dzs26Z+WeDE3L5jkyfMEbckM4C+1DIt4HR/CW2Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1687768614; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=0ru8OZHjwq8SAMy3WdpR74g7FnrQ9kL1bHc0nQix1ls=; b=GA2IIrM4yBTKWvoLINjzY5670J/+efZw+CpRs3o/rFdy2DONevRje+5zFPl7DzCRh1E4ogbprrRhjBoiplGGYjm/4//PqAFLmBXFIKgYimvUPDilfqkzCMWGzS6WSC4g70FR6Nn4QqsMWlHkeSGVb2UxVG48QS6c6dR+W405TYQ= 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+106348+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 1687768614160798.2691619264037; Mon, 26 Jun 2023 01:36:54 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id E2IzYY1788612xUwcVLNldqg; Mon, 26 Jun 2023 01:36:53 -0700 X-Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web10.3283.1687768613304359391 for ; Mon, 26 Jun 2023 01:36:53 -0700 X-Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D5C7060D24; Mon, 26 Jun 2023 08:36:52 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F8FAC433C8; Mon, 26 Jun 2023 08:36:51 +0000 (UTC) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Sami Mujawar , Leif Lindholm Subject: [edk2-devel] [PATCH 1/3] StandaloneMmPkg: Include correct MmuLib header Date: Mon, 26 Jun 2023 10:36:42 +0200 Message-Id: <20230626083644.1011698-2-ardb@kernel.org> In-Reply-To: <20230626083644.1011698-1-ardb@kernel.org> References: <20230626083644.1011698-1-ardb@kernel.org> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,ardb@kernel.org X-Gm-Message-State: TH3vhuAGI68L7SVRjWdyW0DRx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1687768613; bh=07n26qXjhtonZhk83cx2GCOiye3CmMYLu7OkQ9ZyJVU=; h=Cc:Date:From:Reply-To:Subject:To; b=jtNIVIYP4Dvmdrc8QeRoaMpRZ0e9TPbooU0D4Fhjg/2syBKfYocUeBWTNwp5szeeqwQ uVkS4sFRak1BhLUt5WRmq0ngiEvgKIfhbt31GGDCJpeoZTz6G//1n94K1h9uON+5xnsgJ ufInshzvYRlwi+bPhcMFL/S5do68yXb7hH0= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1687768614721100002 Content-Type: text/plain; charset="utf-8" StandaloneMm has its own version of the ArmMmuLib library class, but includes the ArmMmuLib header. This happens to work because the prototypes that are referenced are the same, but this will no longer be the case after a future patch. So correct the #includes. Signed-off-by: Ard Biesheuvel --- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/StandaloneMmCoreEnt= ryPoint.c | 2 +- StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/AArch64/Standalon= eMmPeCoffExtraActionLib.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/Standal= oneMmCoreEntryPoint.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/= Arm/StandaloneMmCoreEntryPoint.c index e78b2acacb5873cd..96de10405af829c6 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/StandaloneMmCo= reEntryPoint.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/StandaloneMmCo= reEntryPoint.c @@ -15,13 +15,13 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #include #include =20 -#include #include #include #include #include #include #include +#include #include =20 #include diff --git a/StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/AArch= 64/StandaloneMmPeCoffExtraActionLib.c b/StandaloneMmPkg/Library/StandaloneM= mPeCoffExtraActionLib/AArch64/StandaloneMmPeCoffExtraActionLib.c index 492252843e12ff69..7a5bb412d0d2d789 100644 --- a/StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/AArch64/Stan= daloneMmPeCoffExtraActionLib.c +++ b/StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/AArch64/Stan= daloneMmPeCoffExtraActionLib.c @@ -10,13 +10,13 @@ SPDX-License-Identifier: BSD-2-Clause-Patent =20 #include =20 -#include #include #include #include #include #include #include +#include =20 typedef RETURN_STATUS (*REGION_PERMISSION_UPDATE_FUNC) ( IN EFI_PHYSICAL_ADDRESS BaseAddress, --=20 2.39.2 -=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 (#106348): https://edk2.groups.io/g/devel/message/106348 Mute This Topic: https://groups.io/mt/99783773/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-