#\r
# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
# Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>\r
+# Copyright (c) Microsoft Corporation.\r
#\r
# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
PI_SPECIFICATION_VERSION = 0x00010032\r
LIBRARY_CLASS = MemLib|MM_STANDALONE MM_CORE_STANDALONE\r
CONSTRUCTOR = MemLibConstructor\r
+ DESTRUCTOR = MemLibDestructor\r
\r
#\r
# The following information is for reference only and not required by the build tools.\r
#\r
-# VALID_ARCHITECTURES = AARCH64\r
+# VALID_ARCHITECTURES = IA32 X64 AARCH64\r
#\r
\r
[Sources.Common]\r
StandaloneMmMemLib.c\r
\r
+[Sources.IA32, Sources.X64]\r
+ X86StandaloneMmMemLibInternal.c\r
+\r
[Sources.AARCH64]\r
AArch64/StandaloneMmMemLibInternal.c\r
\r
[LibraryClasses]\r
BaseMemoryLib\r
DebugLib\r
+ HobLib\r
+ MemoryAllocationLib\r
+\r
+[Guids]\r
+ gMmCoreDataHobGuid ## SOMETIMES_CONSUMES ## HOB\r
+ gEfiMmPeiMmramMemoryReserveGuid ## SOMETIMES_CONSUMES ## HOB\r