File: StandaloneMmCorePerformanceLib.inf

package info (click to toggle)
edk2 2025.08.01-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 338,148 kB
  • sloc: ansic: 2,159,989; asm: 275,189; perl: 235,301; python: 149,743; sh: 35,024; cpp: 23,915; makefile: 3,474; pascal: 1,465; xml: 806; lisp: 35; ruby: 16; sed: 6; tcl: 4
file content (55 lines) | stat: -rw-r--r-- 1,883 bytes parent folder | download | duplicates (2)
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
50
51
52
53
54
55
## @file
# Performance library instance used by a Standalone MM Core or an early Standlaone MM module that
# should install performance measurement services.
#
# Installs the MM performance measurement protocol and returns MM performance data via MM communicate.
#
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##

[Defines]
  INF_VERSION                    = 0x0001001B
  BASE_NAME                      = StandaloneMmCorePerformanceLib
  FILE_GUID                      = 8585D462-DE63-4080-882A-A73974CE5609
  MODULE_TYPE                    = MM_CORE_STANDALONE
  VERSION_STRING                 = 1.0
  PI_SPECIFICATION_VERSION       = 0x00010032
  LIBRARY_CLASS                  = PerformanceLib|MM_CORE_STANDALONE MM_STANDALONE
  CONSTRUCTOR                    = StandaloneMmCorePerformanceLibConstructor

[Sources]
  MmCorePerformanceLib.c
  SmmCorePerformanceLibInternal.h
  StandaloneMmCorePerformanceLib.c

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

[LibraryClasses]
  BaseLib
  BaseMemoryLib
  DebugLib
  MemoryAllocationLib
  MemLib
  MmServicesTableLib
  PcdLib
  PeCoffGetEntryPointLib
  SynchronizationLib
  TimerLib

[Protocols]
  gEfiLoadedImageProtocolGuid                   ## CONSUMES

[Guids]
  gEfiFirmwarePerformanceGuid                   ## SOMETIMES_PRODUCES         # SmiHandlerRegister
  gEdkiiSmmPerformanceMeasurementProtocolGuid   ## PRODUCES                   # Install protocol
  gZeroGuid                                     ## SOMETIMES_CONSUMES ## GUID
  gEfiEventExitBootServicesGuid                 ## CONSUMES ## NOTIFY

[FixedPcd]
  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask        ## CONSUMES
  gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly ## CONSUMES