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