2 # Instance of Memory Allocation Library using EFI Boot Services,
3 # with memory profile support.
5 # Memory Allocation Library that uses EFI Boot Services to allocate
6 # and free memory, with memory profile support.
8 # The implementation of this instance is copied from UefiMemoryAllocationLib
9 # in MdePkg and updated to support both MemoryAllocationLib and MemoryProfileLib.
11 # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
13 # SPDX-License-Identifier: BSD-2-Clause-Patent
19 INF_VERSION = 0x00010005
20 BASE_NAME = UefiMemoryAllocationProfileLib
21 MODULE_UNI_FILE = UefiMemoryAllocationProfileLib.uni
22 FILE_GUID = 9E8A380A-231E-41E4-AD40-5E706196B853
23 MODULE_TYPE = UEFI_DRIVER
25 LIBRARY_CLASS = MemoryAllocationLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
26 LIBRARY_CLASS = MemoryProfileLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
27 CONSTRUCTOR = MemoryProfileLibConstructor
30 # VALID_ARCHITECTURES = IA32 X64 EBC
39 MdeModulePkg/MdeModulePkg.dec
44 UefiBootServicesTableLib
47 gEdkiiMemoryProfileGuid ## SOMETIMES_CONSUMES ## GUID # Locate protocol