Make the CONSTRUCTOR define in the .INF AARCH64 only, so we can drop
the empty stub that exists for ARM.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
{\r
return ArmSetMemoryAttributes (BaseAddress, Length, __EFI_MEMORY_RWX);\r
}\r
-\r
-RETURN_STATUS\r
-EFIAPI\r
-ArmMmuBaseLibConstructor (\r
- VOID\r
- )\r
-{\r
- return RETURN_SUCCESS;\r
-}\r
MODULE_TYPE = BASE\r
VERSION_STRING = 1.0\r
LIBRARY_CLASS = ArmMmuLib\r
+\r
+[Defines.AARCH64]\r
CONSTRUCTOR = ArmMmuBaseLibConstructor\r
\r
[Sources.AARCH64]\r