2011-03-10 08:39:51 +01:00
|
|
|
## @file
|
|
|
|
# Performance library instance used in DXE phase to dump SMM performance data.
|
|
|
|
#
|
|
|
|
# This library instance allows a DXE driver or UEFI application to dump the SMM performance data.
|
2012-04-24 11:12:36 +02:00
|
|
|
# StartPerformanceMeasurement(), EndPerformanceMeasurement(), StartPerformanceMeasurementEx()
|
|
|
|
# and EndPerformanceMeasurementEx() are not implemented.
|
2011-03-10 08:39:51 +01:00
|
|
|
#
|
2014-08-28 08:34:06 +02:00
|
|
|
# Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>
|
2011-03-10 08:39:51 +01:00
|
|
|
# This program and the accompanying materials
|
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
#
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = DxeSmmPerformanceLib
|
2014-08-28 08:34:06 +02:00
|
|
|
MODULE_UNI_FILE = DxeSmmPerformanceLib.uni
|
2011-03-10 08:39:51 +01:00
|
|
|
FILE_GUID = DA80C15C-0B4D-4e75-8946-4043DE559B0C
|
|
|
|
MODULE_TYPE = DXE_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
LIBRARY_CLASS = PerformanceLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
DxeSmmPerformanceLib.c
|
|
|
|
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
PcdLib
|
|
|
|
DebugLib
|
|
|
|
BaseMemoryLib
|
|
|
|
UefiRuntimeServicesTableLib
|
|
|
|
MemoryAllocationLib
|
|
|
|
|
|
|
|
[Guids]
|
2014-08-28 08:34:06 +02:00
|
|
|
gSmmPerformanceProtocolGuid ## SOMETIMES_PRODUCES ## UNDEFINED # Used to do smm communication
|
|
|
|
gSmmPerformanceExProtocolGuid ## SOMETIMES_PRODUCES ## UNDEFINED # Used to do smm communication
|
2011-03-10 08:39:51 +01:00
|
|
|
|
|
|
|
[Protocols]
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiSmmCommunicationProtocolGuid ## CONSUMES
|
2011-03-10 08:39:51 +01:00
|
|
|
|
|
|
|
|
|
|
|
[Pcd]
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES
|
2011-03-10 08:39:51 +01:00
|
|
|
|
2011-07-27 10:54:57 +02:00
|
|
|
[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER]
|
2011-03-10 08:39:51 +01:00
|
|
|
gEfiSmmCommunicationProtocolGuid
|