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