]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # Memory Allocation/Profile Library instance dedicated to SMM Core.\r | |
3 | # The implementation borrows the SMM Core Memory Allocation/Profile services as the primitive\r | |
4 | # for memory allocation/profile instead of using SMM System Table servces or SMM memory profile protocol in an indirect way.\r | |
5 | # It is assumed that this library instance must be linked with SMM Cre in this package.\r | |
6 | #\r | |
7 | # Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>\r | |
8 | #\r | |
9 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
10 | #\r | |
11 | ##\r | |
12 | \r | |
13 | [Defines]\r | |
14 | INF_VERSION = 0x00010005\r | |
15 | BASE_NAME = PiSmmCoreMemoryAllocationProfileLib\r | |
16 | MODULE_UNI_FILE = PiSmmCoreMemoryAllocationProfileLib.uni\r | |
17 | FILE_GUID = D55E42AD-3E63-4536-8281-82C0F1098C5E\r | |
18 | MODULE_TYPE = SMM_CORE\r | |
19 | VERSION_STRING = 1.0\r | |
20 | PI_SPECIFICATION_VERSION = 0x0001000A\r | |
21 | LIBRARY_CLASS = MemoryAllocationLib|SMM_CORE\r | |
22 | CONSTRUCTOR = PiSmmCoreMemoryAllocationLibConstructor\r | |
23 | LIBRARY_CLASS = MemoryProfileLib|SMM_CORE\r | |
24 | CONSTRUCTOR = PiSmmCoreMemoryProfileLibConstructor\r | |
25 | \r | |
26 | #\r | |
27 | # The following information is for reference only and not required by the build tools.\r | |
28 | #\r | |
29 | # VALID_ARCHITECTURES = IA32 X64\r | |
30 | #\r | |
31 | \r | |
32 | [Sources]\r | |
33 | MemoryAllocationLib.c\r | |
34 | PiSmmCoreMemoryAllocationServices.h\r | |
35 | PiSmmCoreMemoryProfileLib.c\r | |
36 | PiSmmCoreMemoryProfileServices.h\r | |
37 | \r | |
38 | [Packages]\r | |
39 | MdePkg/MdePkg.dec\r | |
40 | MdeModulePkg/MdeModulePkg.dec\r | |
41 | \r | |
42 | [LibraryClasses]\r | |
43 | DebugLib\r | |
44 | BaseMemoryLib\r | |
45 | UefiBootServicesTableLib\r | |
46 | \r | |
47 | [Guids]\r | |
48 | gEdkiiMemoryProfileGuid ## SOMETIMES_CONSUMES ## GUID # Locate protocol\r | |
49 | \r |