--- /dev/null
+## @file\r
+# Instance of Memory Allocation Library using EFI Boot Services, \r
+# with memory profile support.\r
+#\r
+# Memory Allocation Library that uses EFI Boot Services to allocate\r
+# and free memory, with memory profile support.\r
+#\r
+# The implementation of this instance is copied from UefiMemoryAllocationLib\r
+# in MdePkg and updated to support both MemoryAllocationLib and MemoryProfileLib.\r
+#\r
+# Copyright (c) 2007 - 2016, Intel Corporation. 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
+# 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
+\r
+[Defines]\r
+ INF_VERSION = 0x00010005\r
+ BASE_NAME = UefiMemoryAllocationProfileLib\r
+ MODULE_UNI_FILE = UefiMemoryAllocationProfileLib.uni\r
+ FILE_GUID = 9E8A380A-231E-41E4-AD40-5E706196B853\r
+ MODULE_TYPE = UEFI_DRIVER\r
+ VERSION_STRING = 1.0\r
+ LIBRARY_CLASS = MemoryAllocationLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER\r
+ LIBRARY_CLASS = MemoryProfileLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER\r
+ CONSTRUCTOR = MemoryProfileLibConstructor\r
+\r
+#\r
+# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
+#\r
+\r
+[Sources]\r
+ MemoryAllocationLib.c\r
+ DxeMemoryProfileLib.c\r
+\r
+[Packages]\r
+ MdePkg/MdePkg.dec\r
+ MdeModulePkg/MdeModulePkg.dec\r
+\r
+[LibraryClasses]\r
+ DebugLib\r
+ BaseMemoryLib\r
+ UefiBootServicesTableLib\r
+\r
+[Guids]\r
+ gEdkiiMemoryProfileGuid ## SOMETIMES_CONSUMES ## GUID # Locate protocol\r
+\r