]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/UefiMemoryAllocationProfileLib/UefiMemoryAllocationProfileLib.inf
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Library / UefiMemoryAllocationProfileLib / UefiMemoryAllocationProfileLib.inf
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 - 2018, Intel Corporation. All rights reserved.<BR>
12 #
13 # SPDX-License-Identifier: BSD-2-Clause-Patent
14 #
15 #
16 ##
17
18 [Defines]
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
24 VERSION_STRING = 1.0
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
28
29 #
30 # VALID_ARCHITECTURES = IA32 X64 EBC
31 #
32
33 [Sources]
34 MemoryAllocationLib.c
35 DxeMemoryProfileLib.c
36
37 [Packages]
38 MdePkg/MdePkg.dec
39 MdeModulePkg/MdeModulePkg.dec
40
41 [LibraryClasses]
42 DebugLib
43 BaseMemoryLib
44 UefiBootServicesTableLib
45
46 [Guids]
47 gEdkiiMemoryProfileGuid ## SOMETIMES_CONSUMES ## GUID # Locate protocol
48