2011-12-01 02:57:27 +01:00
|
|
|
## @file
|
2014-08-28 08:34:06 +02:00
|
|
|
# Firmware Performance Pei Module.
|
|
|
|
#
|
|
|
|
# In S3 resume boot mode, it updates S3 Resume Performance Record in ACPI Firmware Performance Data Table.
|
|
|
|
# In normal boot mode, it consumes SecPerformance PPI produced by SEC phase
|
|
|
|
# and build Hob to convey the SEC performance data to DXE phase.
|
2011-12-01 02:57:27 +01:00
|
|
|
#
|
|
|
|
# This module register report status code listener to collect performance data
|
|
|
|
# for S3 Resume Performance Record on S3 resume boot path.
|
|
|
|
#
|
2014-08-28 08:34:06 +02:00
|
|
|
# Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>
|
2011-12-01 02:57:27 +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 = FirmwarePerformancePei
|
2014-08-28 08:34:06 +02:00
|
|
|
MODULE_UNI_FILE = FirmwarePerformancePei.uni
|
2011-12-01 02:57:27 +01:00
|
|
|
FILE_GUID = ADF01BF6-47D6-495d-B95B-687777807214
|
|
|
|
MODULE_TYPE = PEIM
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = FirmwarePerformancePeiEntryPoint
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
FirmwarePerformancePei.c
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
PeimEntryPoint
|
|
|
|
PeiServicesLib
|
|
|
|
BaseLib
|
|
|
|
DebugLib
|
|
|
|
HobLib
|
|
|
|
TimerLib
|
|
|
|
BaseMemoryLib
|
|
|
|
LockBoxLib
|
|
|
|
PcdLib
|
|
|
|
|
|
|
|
[Ppis]
|
|
|
|
gEfiPeiRscHandlerPpiGuid ## CONSUMES
|
2014-08-28 08:34:06 +02:00
|
|
|
gPeiSecPerformancePpiGuid ## SOMETIMES_CONSUMES
|
2011-12-01 02:57:27 +01:00
|
|
|
|
|
|
|
[Guids]
|
2014-08-28 08:34:06 +02:00
|
|
|
## SOMETIMES_CONSUMES ## UNDEFINED # RestoreLockBox
|
|
|
|
## SOMETIMES_PRODUCES ## HOB
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"FirmwarePerformance"
|
|
|
|
gEfiFirmwarePerformanceGuid
|
|
|
|
gFirmwarePerformanceS3PointerGuid ## SOMETIMES_CONSUMES ## UNDEFINED # RestoreLockBox
|
2011-12-01 02:57:27 +01:00
|
|
|
|
|
|
|
[FeaturePcd]
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwarePerformanceDataTableS3Support ## CONSUMES
|
2011-12-01 02:57:27 +01:00
|
|
|
|
|
|
|
[Depex]
|
|
|
|
gEfiPeiMasterBootModePpiGuid AND gEfiPeiRscHandlerPpiGuid
|
2014-08-28 08:34:06 +02:00
|
|
|
|
|
|
|
# [BootMode]
|
|
|
|
# S3_RESUME ## SOMETIMES_CONSUMES
|
|
|
|
|
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
|
|
|
FirmwarePerformancePeiExtra.uni
|