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
|