[PATCH v2 01/16] ArmPkg/ArmMmuBaseLib: Disallow STANDALONE_MM


Bret Barkelew
 

From: Bret Barkelew <brbarkel@...>

Not sure what all module types this HAS been validated against, but it
doesn't work with STANDALONE_MM or STANDALONE_MM_CORE.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3647

Cc: Leif Lindholm <leif@...>
Cc: Ard Biesheuvel <ardb+tianocore@...>
Cc: Sean Brogan <sean.brogan@...>
Signed-off-by: Bret Barkelew <bret.barkelew@...>
Reviewed-by: Leif Lindholm <leif@...>
---
ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf b/ArmPkg/Library/Ar=
mMmuLib/ArmMmuBaseLib.inf
index 2a7e7147958c..d0988b27d582 100644
--- a/ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
+++ b/ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
@@ -13,7 +13,7 @@ [Defines]
FILE_GUID =3D da8f0232-fb14-42f0-922c-63104d2c70bd=
=0D
MODULE_TYPE =3D BASE=0D
VERSION_STRING =3D 1.0=0D
- LIBRARY_CLASS =3D ArmMmuLib=0D
+ LIBRARY_CLASS =3D ArmMmuLib | DXE_DRIVER PEIM PEI_CORE =
DXE_CORE DXE_RUNTIME_DRIVER SEC=0D
=0D
[Defines.AARCH64]=0D
CONSTRUCTOR =3D ArmMmuBaseLibConstructor=0D
--=20
2.31.1.windows.1

Join devel@edk2.groups.io to automatically receive all group messages.