From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nPcslxdV; spf=pass (domain: kernel.org, ip: 139.178.84.217, mailfrom: ardb@kernel.org) 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) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F8FAC433C8; Mon, 26 Jun 2023 08:36:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687768612; bh=HEDHi6m9LlV048ZBacGwSHRNY3o4FZtQ2xL6iyXRmek=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nPcslxdVQ+yzUnu2Uo5Qu2cznZV0V0v4IwXv2yuLdXI9LCIEkrjFy+hamuE6Bqejn vLxlZD5pCmBKNm3qxiHLHAkg4XrObyPzFIFmnAorl4P4OnuWwNREpaGBh4rySQJPWp 7AJvhMFXmgbhbjTNlLclww+u6iuc/UavYMTbXdPcDqR3d11pmo832jMH2voxduP76C +AQVkGQBLXI8HWlh2/N7xKbhmrTXA+ZefXLsFOH5ed5762QOmNfGnuq5T3Uqjxv3iG vjfJYTXnXdgUoYmy85TYKPtPwozNR7ZoYyAfInUByKmT3IH56ZoH8LrbCwcGNh3h50 afJI1paXoiM5A== From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Sami Mujawar , Leif Lindholm Subject: [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> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230626083644.1011698-1-ardb@kernel.org> References: <20230626083644.1011698-1-ardb@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 =0D #include =0D =0D -#include =0D #include =0D #include =0D #include =0D #include =0D #include =0D #include =0D +#include =0D #include =0D =0D #include =0D 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 =0D #include =0D =0D -#include =0D #include =0D #include =0D #include =0D #include =0D #include =0D #include =0D +#include =0D =0D typedef RETURN_STATUS (*REGION_PERMISSION_UPDATE_FUNC) (=0D IN EFI_PHYSICAL_ADDRESS BaseAddress,=0D --=20 2.39.2