]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf
StandaloneMmPkg/MemLib: Add Standalone MM instance of memory check library.
[mirror_edk2.git] / StandaloneMmPkg / Library / StandaloneMmMemLib / StandaloneMmMemLib.inf
diff --git a/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf b/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf
new file mode 100644 (file)
index 0000000..db1041c
--- /dev/null
@@ -0,0 +1,50 @@
+## @file\r
+#  Instance of MM memory check library.\r
+#\r
+#  MM memory check library library implementation. This library consumes MM_ACCESS_PROTOCOL\r
+#  to get MMRAM information. In order to use this library instance, the platform should produce\r
+#  all MMRAM range via MM_ACCESS_PROTOCOL, including the range for firmware (like MM Core\r
+#  and MM driver) and/or specific dedicated hardware.\r
+#\r
+#  Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+#  Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>\r
+#\r
+#  This program and the accompanying materials\r
+#  are licensed and made available under the terms and conditions of the BSD License\r
+#  which accompanies this distribution.  The full text of the license may be found at\r
+#  http://opensource.org/licenses/bsd-license.php\r
+#\r
+#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+##\r
+\r
+[Defines]\r
+  INF_VERSION                    = 0x0001001A\r
+  BASE_NAME                      = MemLib\r
+  FILE_GUID                      = EA355F14-6409-4716-829F-37B3BC7C7F26\r
+  MODULE_TYPE                    = MM_STANDALONE\r
+  VERSION_STRING                 = 1.0\r
+  PI_SPECIFICATION_VERSION       = 0x00010032\r
+  LIBRARY_CLASS                  = MemLib|MM_STANDALONE MM_CORE_STANDALONE\r
+  CONSTRUCTOR                    = MemLibConstructor\r
+\r
+#\r
+# The following information is for reference only and not required by the build tools.\r
+#\r
+#  VALID_ARCHITECTURES           = AARCH64\r
+#\r
+\r
+[Sources.Common]\r
+  StandaloneMmMemLib.c\r
+\r
+[Sources.AARCH64]\r
+  AArch64/StandaloneMmMemLibInternal.c\r
+\r
+[Packages]\r
+  MdePkg/MdePkg.dec\r
+  StandaloneMmPkg/StandaloneMmPkg.dec\r
+\r
+[LibraryClasses]\r
+  BaseMemoryLib\r
+  DebugLib\r