From 3c146a2f613b72da38853c084d1d6658a62adf59 Mon Sep 17 00:00:00 2001 From: Bret Barkelew Date: Tue, 21 Sep 2021 16:54:20 -0700 Subject: [PATCH] ArmPkg/ArmMmuBaseLib: Disallow STANDALONE_MM Not sure what all module types this HAS been validated against, but it doesn't work with STANDALONE_MM or STANDALONE_MM_CORE. --- ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf b/ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf index 468eb1cda9..7063a25a55 100644 --- a/ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf +++ b/ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf @@ -13,7 +13,8 @@ FILE_GUID = da8f0232-fb14-42f0-922c-63104d2c70bd MODULE_TYPE = BASE VERSION_STRING = 1.0 - LIBRARY_CLASS = ArmMmuLib + # MU_CHANGE - Can't be fully BASE, because it doesn't work in MM_STANDALONE. + LIBRARY_CLASS = ArmMmuLib | DXE_DRIVER PEIM PEI_CORE DXE_CORE DXE_RUNTIME_DRIVER SEC [Defines.AARCH64] CONSTRUCTOR = ArmMmuBaseLibConstructor