2 # Instance of Memory Allocation Library using SMM Services Table,
3 # with memory profile support.
5 # Memory Allocation Library that uses services from the SMM Services Table to
6 # allocate and free memory, with memory profile support.
8 # The implementation of this instance is copied from UefiMemoryAllocationLib
9 # in MdePkg and updated to support both MemoryAllocationLib and MemoryProfileLib.
11 # Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
12 # This program and the accompanying materials
13 # are licensed and made available under the terms and conditions of the BSD License
14 # which accompanies this distribution. The full text of the license may be found at
15 # http://opensource.org/licenses/bsd-license.php.
16 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22 INF_VERSION = 0x00010005
23 BASE_NAME = SmmMemoryAllocationProfileLib
24 MODULE_UNI_FILE = SmmMemoryAllocationProfileLib.uni
25 FILE_GUID = DC50729F-8633-47ab-8FD3-6939688CEE4C
26 MODULE_TYPE = DXE_SMM_DRIVER
28 PI_SPECIFICATION_VERSION = 0x0001000A
29 LIBRARY_CLASS = MemoryAllocationLib|DXE_SMM_DRIVER
30 CONSTRUCTOR = SmmMemoryAllocationLibConstructor
31 DESTRUCTOR = SmmMemoryAllocationLibDestructor
32 LIBRARY_CLASS = MemoryProfileLib|DXE_SMM_DRIVER
33 CONSTRUCTOR = SmmMemoryProfileLibConstructor
36 # VALID_ARCHITECTURES = IA32 X64
45 MdeModulePkg/MdeModulePkg.dec
51 UefiBootServicesTableLib
54 gEfiSmmAccess2ProtocolGuid ## CONSUMES
57 gEdkiiMemoryProfileGuid ## SOMETIMES_CONSUMES ## GUID # Locate protocol
58 gEdkiiSmmMemoryProfileGuid ## SOMETIMES_CONSUMES ## GUID # Locate protocol
61 gEfiSmmAccess2ProtocolGuid