1## @file 2# Instance of Memory Allocation Library using EFI Boot Services, 3# with memory profile support. 4# 5# Memory Allocation Library that uses EFI Boot Services to allocate 6# and free memory, with memory profile support. 7# 8# The implementation of this instance is copied from UefiMemoryAllocationLib 9# in MdePkg and updated to support both MemoryAllocationLib and MemoryProfileLib. 10# 11# Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR> 12# 13# This program and the accompanying materials 14# are licensed and made available under the terms and conditions of the BSD License 15# which accompanies this distribution. The full text of the license may be found at 16# http://opensource.org/licenses/bsd-license.php. 17# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 18# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 19# 20# 21## 22 23[Defines] 24 INF_VERSION = 0x00010005 25 BASE_NAME = UefiMemoryAllocationProfileLib 26 MODULE_UNI_FILE = UefiMemoryAllocationProfileLib.uni 27 FILE_GUID = 9E8A380A-231E-41E4-AD40-5E706196B853 28 MODULE_TYPE = UEFI_DRIVER 29 VERSION_STRING = 1.0 30 LIBRARY_CLASS = MemoryAllocationLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER 31 LIBRARY_CLASS = MemoryProfileLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER 32 CONSTRUCTOR = MemoryProfileLibConstructor 33 34# 35# VALID_ARCHITECTURES = IA32 X64 IPF EBC 36# 37 38[Sources] 39 MemoryAllocationLib.c 40 DxeMemoryProfileLib.c 41 42[Packages] 43 MdePkg/MdePkg.dec 44 MdeModulePkg/MdeModulePkg.dec 45 46[LibraryClasses] 47 DebugLib 48 BaseMemoryLib 49 UefiBootServicesTableLib 50 51[Guids] 52 gEdkiiMemoryProfileGuid ## SOMETIMES_CONSUMES ## GUID # Locate protocol 53 54