]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
Enhance SmmMemoryAllocationLib Free function implementation to call gSmst or gBS...
[mirror_edk2.git] / MdePkg / Library / SmmMemoryAllocationLib / SmmMemoryAllocationLib.inf
1 ## @file
2 # Instance of Memory Allocation Library using SMM Services Table.
3 #
4 # Memory Allocation Library that uses services from the SMM Services Table to
5 # allocate and free memory.
6 #
7 # Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
8 # This program and the accompanying materials
9 # are licensed and made available under the terms and conditions of the BSD License
10 # which accompanies this distribution. The full text of the license may be found at
11 # http://opensource.org/licenses/bsd-license.php.
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #
15 ##
16
17 [Defines]
18 INF_VERSION = 0x00010005
19 BASE_NAME = SmmMemoryAllocationLib
20 FILE_GUID = 4DF30A5D-D5B0-4f85-80ED-6B16CD343C8E
21 MODULE_TYPE = DXE_SMM_DRIVER
22 VERSION_STRING = 1.0
23 PI_SPECIFICATION_VERSION = 0x0001000A
24 LIBRARY_CLASS = MemoryAllocationLib|DXE_SMM_DRIVER
25 CONSTRUCTOR = SmmMemoryAllocationLibConstructor
26 DESTRUCTOR = SmmMemoryAllocationLibDestructor
27
28 #
29 # VALID_ARCHITECTURES = IA32 X64
30 #
31
32 [Sources]
33 MemoryAllocationLib.c
34
35 [Packages]
36 MdePkg/MdePkg.dec
37
38 [LibraryClasses]
39 DebugLib
40 BaseMemoryLib
41 SmmServicesTableLib
42 UefiBootServicesTableLib
43
44 [Protocols]
45 gEfiSmmAccess2ProtocolGuid ## CONSUMES
46
47 [Depex]
48 gEfiSmmAccess2ProtocolGuid