]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
MdeModulePkg: Removing ipf which is no longer supported from edk2.
[mirror_edk2.git] / MdeModulePkg / Library / DxeCorePerformanceLib / DxeCorePerformanceLib.inf
index de8aabd77e9531a40a1f6d3fa9aae96cfbb4ed06..685f5ee981b1206fe448dbe43d2ec60ea3f5af99 100644 (file)
@@ -1,39 +1,46 @@
-#/** @file\r
-# Component description file for DxeCore Performance Library\r
+## @file\r
+#  Performance library instance mainly for DxeCore usage.\r
 #\r
-# This library provides intrastructure for DxeCore to log performance.\r
-# Copyright (c) 2006, Intel Corporation.\r
+#  This library provides the performance measurement interfaces and initializes performance\r
+#  logging for DXE phase. It first initializes its private global data structure for\r
+#  performance logging and saves the performance GUIDed HOB passed from PEI phase.\r
+#  It initializes DXE phase performance logging by publishing the Performance and PerformanceEx Protocol,\r
+#  which is consumed by DxePerformanceLib to logging performance data in DXE phase.\r
+#  This library is mainly used by DxeCore to start performance logging to ensure that\r
+#  Performance and PerformanceEx Protocol are installed at the very beginning of DXE phase.\r
 #\r
-#  All rights reserved. This program and the accompanying materials\r
+#  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
+#  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
-#  which accompanies this distribution. The full text of the license may be found at\r
+#  which accompanies this distribution.  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
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = DxeCorePerformanceLib\r
+  MODULE_UNI_FILE                = DxeCorePerformanceLib.uni\r
   FILE_GUID                      = D0F78BBF-0A30-4c63-8A48-0F618A4AFACD\r
   MODULE_TYPE                    = DXE_CORE\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = PerformanceLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER\r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
+  LIBRARY_CLASS                  = PerformanceLib|DXE_CORE\r
 \r
   CONSTRUCTOR                    = DxeCorePerformanceLibConstructor\r
 \r
 #\r
 # The following information is for reference only and not required by the build tools.\r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
+#  VALID_ARCHITECTURES           = IA32 X64 EBC\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
   DxeCorePerformanceLib.c\r
+  DxeCorePerformanceLibInternal.h\r
 \r
 [Packages]\r
   MdePkg/MdePkg.dec\r
 [LibraryClasses]\r
   MemoryAllocationLib\r
   UefiBootServicesTableLib\r
+  UefiRuntimeServicesTableLib\r
   PcdLib\r
   TimerLib\r
   BaseMemoryLib\r
   BaseLib\r
   HobLib\r
   DebugLib\r
+  UefiLib\r
+  ReportStatusCodeLib\r
+  DxeServicesLib\r
+  PeCoffGetEntryPointLib\r
+  DevicePathLib\r
 \r
-\r
-[Guids]\r
-  gPeiPerformanceHobGuid                        # ALWAYS_CONSUMED\r
+[Protocols]\r
+  gEfiSmmCommunicationProtocolGuid              ## SOMETIMES_CONSUMES\r
 \r
 \r
-[Protocols]\r
-  gPerformanceProtocolGuid                      # PROTOCOL ALWAYS_PRODUCED\r
+[Guids]\r
+  ## PRODUCES             ## SystemTable\r
+  gPerformanceProtocolGuid\r
+  gZeroGuid                                     ## SOMETIMES_CONSUMES ## GUID\r
+  gEfiFirmwarePerformanceGuid                   ## SOMETIMES_PRODUCES ## UNDEFINED # StatusCode Data\r
+  gEdkiiFpdtExtendedFirmwarePerformanceGuid     ## SOMETIMES_CONSUMES ## HOB # StatusCode Data\r
+  gEfiEventReadyToBootGuid                      ## CONSUMES           ## Event\r
+  gEdkiiPiSmmCommunicationRegionTableGuid       ## SOMETIMES_CONSUMES    ## SystemTable\r
+  gEdkiiPerformanceMeasurementProtocolGuid      ## PRODUCES           ## UNDEFINED # Install protocol\r
 \r
-[Pcd.common]\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries\r
-  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask\r
+[Pcd]\r
+  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask         ## CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly  ## CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize         ## CONSUMES\r