2016-06-18 03:31:28 +02:00
|
|
|
## @file
|
2018-06-27 15:08:52 +02:00
|
|
|
# Instance of Memory Allocation Library using EFI Boot Services,
|
2016-06-18 03:31:28 +02:00
|
|
|
# with memory profile support.
|
|
|
|
#
|
|
|
|
# Memory Allocation Library that uses EFI Boot Services to allocate
|
|
|
|
# and free memory, with memory profile support.
|
|
|
|
#
|
|
|
|
# The implementation of this instance is copied from UefiMemoryAllocationLib
|
|
|
|
# in MdePkg and updated to support both MemoryAllocationLib and MemoryProfileLib.
|
|
|
|
#
|
2018-06-27 15:08:52 +02:00
|
|
|
# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
2016-06-18 03:31:28 +02:00
|
|
|
#
|
|
|
|
# This program and the accompanying materials
|
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php.
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = UefiMemoryAllocationProfileLib
|
|
|
|
MODULE_UNI_FILE = UefiMemoryAllocationProfileLib.uni
|
|
|
|
FILE_GUID = 9E8A380A-231E-41E4-AD40-5E706196B853
|
|
|
|
MODULE_TYPE = UEFI_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
2018-06-29 05:27:00 +02:00
|
|
|
LIBRARY_CLASS = MemoryAllocationLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
|
|
|
|
LIBRARY_CLASS = MemoryProfileLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
|
2016-06-18 03:31:28 +02:00
|
|
|
CONSTRUCTOR = MemoryProfileLibConstructor
|
|
|
|
|
|
|
|
#
|
2018-06-29 05:27:00 +02:00
|
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
2016-06-18 03:31:28 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
MemoryAllocationLib.c
|
|
|
|
DxeMemoryProfileLib.c
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
DebugLib
|
|
|
|
BaseMemoryLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
|
|
|
|
[Guids]
|
|
|
|
gEdkiiMemoryProfileGuid ## SOMETIMES_CONSUMES ## GUID # Locate protocol
|
|
|
|
|