]>
Commit | Line | Data |
---|---|---|
1439c255 | 1 | ## @file\r |
d1102dba | 2 | # Instance of Memory Allocation Library using EFI Boot Services,\r |
1439c255 SZ |
3 | # with memory profile support.\r |
4 | #\r | |
5 | # Memory Allocation Library that uses EFI Boot Services to allocate\r | |
6 | # and free memory, with memory profile support.\r | |
7 | #\r | |
8 | # The implementation of this instance is copied from UefiMemoryAllocationLib\r | |
9 | # in MdePkg and updated to support both MemoryAllocationLib and MemoryProfileLib.\r | |
10 | #\r | |
d1102dba | 11 | # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r |
1439c255 | 12 | #\r |
9d510e61 | 13 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
1439c255 SZ |
14 | #\r |
15 | #\r | |
16 | ##\r | |
17 | \r | |
18 | [Defines]\r | |
19 | INF_VERSION = 0x00010005\r | |
20 | BASE_NAME = UefiMemoryAllocationProfileLib\r | |
21 | MODULE_UNI_FILE = UefiMemoryAllocationProfileLib.uni\r | |
22 | FILE_GUID = 9E8A380A-231E-41E4-AD40-5E706196B853\r | |
23 | MODULE_TYPE = UEFI_DRIVER\r | |
24 | VERSION_STRING = 1.0\r | |
de005223 CC |
25 | LIBRARY_CLASS = MemoryAllocationLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER\r |
26 | LIBRARY_CLASS = MemoryProfileLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER\r | |
1439c255 SZ |
27 | CONSTRUCTOR = MemoryProfileLibConstructor\r |
28 | \r | |
29 | #\r | |
de005223 | 30 | # VALID_ARCHITECTURES = IA32 X64 EBC\r |
1439c255 SZ |
31 | #\r |
32 | \r | |
33 | [Sources]\r | |
34 | MemoryAllocationLib.c\r | |
35 | DxeMemoryProfileLib.c\r | |
36 | \r | |
37 | [Packages]\r | |
38 | MdePkg/MdePkg.dec\r | |
39 | MdeModulePkg/MdeModulePkg.dec\r | |
40 | \r | |
41 | [LibraryClasses]\r | |
42 | DebugLib\r | |
43 | BaseMemoryLib\r | |
44 | UefiBootServicesTableLib\r | |
45 | \r | |
46 | [Guids]\r | |
47 | gEdkiiMemoryProfileGuid ## SOMETIMES_CONSUMES ## GUID # Locate protocol\r | |
48 | \r |