This change added support of FPDT driver under StandaloneMm. It replaces SMM version ReportStatusCode protocol with MM version. This patch also abstracts standalone and traditional MM interfaces into separate files to support each corresponding function prototypes and implementations. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Kun Qin <kun.q@outlook.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
69 lines
2.0 KiB
INI
69 lines
2.0 KiB
INI
## @file
|
|
# This module collects performance data for SMM driver boot records and S3 Suspend Performance Record.
|
|
#
|
|
# This module registers report status code listener to collect performance data
|
|
# for SMM boot performance records and S3 Suspend Performance Record.
|
|
#
|
|
# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = FirmwarePerformanceSmm
|
|
MODULE_UNI_FILE = FirmwarePerformanceSmm.uni
|
|
FILE_GUID = 044310AB-77FD-402a-AF1A-87D4120E7329
|
|
MODULE_TYPE = DXE_SMM_DRIVER
|
|
VERSION_STRING = 1.0
|
|
PI_SPECIFICATION_VERSION = 0x0001000A
|
|
ENTRY_POINT = FirmwarePerformanceSmmEntryPoint
|
|
|
|
#
|
|
# The following information is for reference only and not required by the build tools.
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64
|
|
#
|
|
|
|
[Sources]
|
|
FirmwarePerformanceCommon.c
|
|
FirmwarePerformanceCommon.h
|
|
FirmwarePerformanceTraditional.c
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
[LibraryClasses]
|
|
UefiDriverEntryPoint
|
|
MmServicesTableLib
|
|
BaseLib
|
|
DebugLib
|
|
TimerLib
|
|
LockBoxLib
|
|
PcdLib
|
|
BaseMemoryLib
|
|
MemoryAllocationLib
|
|
SynchronizationLib
|
|
SmmMemLib
|
|
|
|
[Protocols]
|
|
gEfiMmRscHandlerProtocolGuid ## CONSUMES
|
|
|
|
[Guids]
|
|
## SOMETIMES_PRODUCES ## UNDEFINED # SaveLockBox
|
|
## PRODUCES ## UNDEFINED # SmiHandlerRegister
|
|
## SOMETIMES_CONSUMES ## UNDEFINED # StatusCode Data
|
|
gEfiFirmwarePerformanceGuid
|
|
gEdkiiFpdtExtendedFirmwarePerformanceGuid ## SOMETIMES_PRODUCES ## UNDEFINED # StatusCode Data
|
|
|
|
[Pcd]
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeS3SuspendStart ## CONSUMES
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeS3SuspendEnd ## CONSUMES
|
|
|
|
[Depex]
|
|
gEfiMmRscHandlerProtocolGuid
|
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
|
FirmwarePerformanceSmmExtra.uni
|