MdeModulePkg/App: Add SmiHandlerProfile dump app.
This app uses SMM communication to get SMI handler profile from SMM core. Cc: Feng Tian <feng.tian@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
## @file
|
||||
# Shell application to dump SMI handler profile information.
|
||||
#
|
||||
# Note that if the feature is not enabled by setting PcdSmiHandlerProfilePropertyMask,
|
||||
# the application will not display SMI handler profile information.
|
||||
#
|
||||
# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
|
||||
# This program and the accompanying materials are licensed and made available under
|
||||
# the terms and conditions of the BSD License that 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 = SmiHandlerProfileInfo
|
||||
MODULE_UNI_FILE = SmiHandlerProfileInfo.uni
|
||||
FILE_GUID = 611EA796-8DF8-4BB6-91FE-6540ED70DC66
|
||||
MODULE_TYPE = UEFI_APPLICATION
|
||||
VERSION_STRING = 1.0
|
||||
ENTRY_POINT = SmiHandlerProfileInfoEntrypoint
|
||||
|
||||
[Sources]
|
||||
SmiHandlerProfileInfo.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
UefiApplicationEntryPoint
|
||||
BaseLib
|
||||
BaseMemoryLib
|
||||
MemoryAllocationLib
|
||||
DebugLib
|
||||
UefiBootServicesTableLib
|
||||
UefiRuntimeServicesTableLib
|
||||
UefiLib
|
||||
PrintLib
|
||||
DevicePathLib
|
||||
PeCoffGetEntryPointLib
|
||||
DxeServicesLib
|
||||
|
||||
[Protocols]
|
||||
gEfiSmmCommunicationProtocolGuid ## CONSUMES
|
||||
gEfiSmmSwDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
|
||||
gEfiSmmSxDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
|
||||
gEfiSmmPowerButtonDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
|
||||
gEfiSmmStandbyButtonDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
|
||||
gEfiSmmPeriodicTimerDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
|
||||
gEfiSmmGpiDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
|
||||
gEfiSmmIoTrapDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
|
||||
gEfiSmmUsbDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
|
||||
|
||||
[Guids]
|
||||
gEdkiiPiSmmCommunicationRegionTableGuid ## CONSUMES ## SystemTable
|
||||
gSmiHandlerProfileGuid ## SOMETIMES_CONSUMES ## GUID # SmiHandlerRegister
|
||||
|
||||
[UserExtensions.TianoCore."ExtraFiles"]
|
||||
SmiHandlerProfileInfoExtra.uni
|
||||
|
Reference in New Issue
Block a user