]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf
StandaloneMmPkg: StandaloneMmMemLib: Extends support for X64 architecture
[mirror_edk2.git] / StandaloneMmPkg / Library / StandaloneMmMemLib / StandaloneMmMemLib.inf
index 49da02e54e6dc77ee8154f05c0abb61955a5e7a4..062b0d7a1161c0b62f18b4dc1512a25efcbe7f52 100644 (file)
@@ -8,6 +8,7 @@
 #\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
@@ -42,3 +47,9 @@
 [LibraryClasses]\r
   BaseMemoryLib\r
   DebugLib\r
+  HobLib\r
+  MemoryAllocationLib\r
+\r
+[Guids]\r
+  gMmCoreDataHobGuid                  ## SOMETIMES_CONSUMES ## HOB\r
+  gEfiMmPeiMmramMemoryReserveGuid     ## SOMETIMES_CONSUMES ## HOB\r