2011-03-10 08:39:51 +01:00
|
|
|
## @file
|
|
|
|
# Performance library instance used in SMM phase.
|
2018-06-27 15:08:52 +02:00
|
|
|
#
|
2011-03-10 08:39:51 +01:00
|
|
|
# This library instance provides infrastructure for SMM drivers to log performance
|
2012-04-24 11:12:36 +02:00
|
|
|
# data. It consumes SMM PerformanceEx or Performance Protocol published by SmmCorePerformanceLib
|
2014-08-28 08:34:06 +02:00
|
|
|
# to log performance data. If both SMM PerformanceEx and Performance Protocol are not available,
|
|
|
|
# it does not log any performance information.
|
2018-06-27 15:08:52 +02:00
|
|
|
#
|
2018-06-22 10:56:16 +02:00
|
|
|
# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:05:13 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2018-06-27 15:08:52 +02:00
|
|
|
#
|
2011-03-10 08:39:51 +01:00
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = SmmPerformanceLib
|
2014-08-28 08:34:06 +02:00
|
|
|
MODULE_UNI_FILE = SmmPerformanceLib.uni
|
2011-03-10 08:39:51 +01:00
|
|
|
FILE_GUID = 1EDD13E6-D0CD-4432-A692-FF65C9B4F039
|
|
|
|
MODULE_TYPE = DXE_SMM_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
LIBRARY_CLASS = PerformanceLib|DXE_SMM_DRIVER
|
|
|
|
|
|
|
|
CONSTRUCTOR = SmmPerformanceLibConstructor
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
SmmPerformanceLib.c
|
|
|
|
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
PcdLib
|
|
|
|
SmmServicesTableLib
|
|
|
|
DebugLib
|
|
|
|
BaseMemoryLib
|
|
|
|
|
|
|
|
[Guids]
|
2018-06-22 10:56:16 +02:00
|
|
|
gEdkiiSmmPerformanceMeasurementProtocolGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Locate protocol
|
2011-03-10 08:39:51 +01:00
|
|
|
|
|
|
|
[Pcd]
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES
|