]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.inf
MdeModulePkg/App: Add SmiHandlerProfile dump app.
[mirror_edk2.git] / MdeModulePkg / Application / SmiHandlerProfileInfo / SmiHandlerProfileInfo.inf
diff --git a/MdeModulePkg/Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.inf b/MdeModulePkg/Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.inf
new file mode 100644 (file)
index 0000000..73cc052
--- /dev/null
@@ -0,0 +1,65 @@
+## @file\r
+#  Shell application to dump SMI handler profile information.\r
+#\r
+# Note that if the feature is not enabled by setting PcdSmiHandlerProfilePropertyMask,\r
+# the application will not display SMI handler profile information.\r
+#\r
+# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>\r
+# This program and the accompanying materials are licensed and made available under\r
+# the terms and conditions of the BSD License that accompanies this distribution.\r
+# The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php.\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+##\r
+\r
+[Defines]\r
+  INF_VERSION                    = 0x00010005\r
+  BASE_NAME                      = SmiHandlerProfileInfo\r
+  MODULE_UNI_FILE                = SmiHandlerProfileInfo.uni\r
+  FILE_GUID                      = 611EA796-8DF8-4BB6-91FE-6540ED70DC66\r
+  MODULE_TYPE                    = UEFI_APPLICATION\r
+  VERSION_STRING                 = 1.0\r
+  ENTRY_POINT                    = SmiHandlerProfileInfoEntrypoint\r
+\r
+[Sources]\r
+  SmiHandlerProfileInfo.c\r
+\r
+[Packages]\r
+  MdePkg/MdePkg.dec\r
+  MdeModulePkg/MdeModulePkg.dec\r
+\r
+[LibraryClasses]\r
+  UefiApplicationEntryPoint\r
+  BaseLib\r
+  BaseMemoryLib\r
+  MemoryAllocationLib\r
+  DebugLib\r
+  UefiBootServicesTableLib\r
+  UefiRuntimeServicesTableLib\r
+  UefiLib\r
+  PrintLib\r
+  DevicePathLib\r
+  PeCoffGetEntryPointLib\r
+  DxeServicesLib\r
+\r
+[Protocols]\r
+  gEfiSmmCommunicationProtocolGuid             ## CONSUMES\r
+  gEfiSmmSwDispatch2ProtocolGuid               ## SOMETIMES_CONSUMES\r
+  gEfiSmmSxDispatch2ProtocolGuid               ## SOMETIMES_CONSUMES\r
+  gEfiSmmPowerButtonDispatch2ProtocolGuid      ## SOMETIMES_CONSUMES\r
+  gEfiSmmStandbyButtonDispatch2ProtocolGuid    ## SOMETIMES_CONSUMES\r
+  gEfiSmmPeriodicTimerDispatch2ProtocolGuid    ## SOMETIMES_CONSUMES\r
+  gEfiSmmGpiDispatch2ProtocolGuid              ## SOMETIMES_CONSUMES\r
+  gEfiSmmIoTrapDispatch2ProtocolGuid           ## SOMETIMES_CONSUMES\r
+  gEfiSmmUsbDispatch2ProtocolGuid              ## SOMETIMES_CONSUMES\r
+\r
+[Guids]\r
+  gEdkiiPiSmmCommunicationRegionTableGuid  ## CONSUMES  ## SystemTable\r
+  gSmiHandlerProfileGuid                   ## SOMETIMES_CONSUMES   ## GUID # SmiHandlerRegister\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+  SmiHandlerProfileInfoExtra.uni\r
+\r