summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/SmmPerformanceLib/StandaloneMmPerformanceLib.inf
blob: b99625f378423b70eb6c285f8f89179c12b280c3 (plain)
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
## @file
#  Performance library instance used in Standalone MM phase.
#
#  This library instance provides infrastructure for Standalone MM drivers to log performance
#  data. It consumes the MM PerformanceEx or Performance Protocol to log performance data. If
#  both MM PerformanceEx and Performance Protocol are not available, it does not log any
#  performance information.
#
#  Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
#  Copyright Microsoft Corporation.
#  SPDX-License-Identifier: BSD-2-Clause-Patent
#
##

[Defines]
  INF_VERSION                    = 0x0001001B
  BASE_NAME                      = StandaloneMmPerformanceLib
  MODULE_UNI_FILE                = StandaloneMmPerformanceLib.uni
  FILE_GUID                      = 7E7415FC-0BFB-47B4-B1C8-66149CC9050C
  MODULE_TYPE                    = MM_STANDALONE
  VERSION_STRING                 = 1.0
  PI_SPECIFICATION_VERSION       = 0x00010032
  LIBRARY_CLASS                  = PerformanceLib|MM_STANDALONE

  CONSTRUCTOR                    = StandaloneMmPerformanceLibConstructor
  DESTRUCTOR                     = StandaloneMmPerformanceLibDestructor

[Sources]
  SmmPerformanceLibInternal.h
  SmmPerformanceLibInternal.c
  StandaloneMmPerformanceLib.c

[Packages]
  MdePkg/MdePkg.dec
  MdeModulePkg/MdeModulePkg.dec

[LibraryClasses]
  PcdLib
  MmServicesTableLib
  DebugLib
  BaseMemoryLib

[Guids]
  gEdkiiSmmPerformanceMeasurementProtocolGuid                   ## SOMETIMES_CONSUMES   ## UNDEFINED # Locate protocol
  gEfiEventExitBootServicesGuid                                 ## CONSUMES

[Pcd]
  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask    ## CONSUMES