]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
MdeModulePkg: Removing ipf which is no longer supported from edk2.
[mirror_edk2.git] / MdeModulePkg / Library / PeiPerformanceLib / PeiPerformanceLib.inf
index 07c08413d65ac8c530cd36e0de3cb4b048ae4570..995642eb7f5af86f6f703080ed08c5eb567d05ae 100644 (file)
@@ -1,70 +1,46 @@
-#/** @file\r
-# Memory-only library functions with no library constructor/destructor\r
+## @file\r
+#  Performance library instance used in PEI phase.\r
 #\r
-# This module provides the performance measurement interfaces in PEI phase, it is one instance of Performance Libarary.\r
-# Copyright (c) 2006, Intel Corporation\r
+#  This library provides the performance measurement interfaces in PEI phase, it creates\r
+#  and consumes GUIDed HOB for performance logging. The GUIDed HOB is passed to DXE phase\r
+#  so that it can be taken over by DxeCorePerformanceLib.\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
-################################################################################\r
-#\r
-# Defines Section - statements that will be processed to create a Makefile.\r
-#\r
-################################################################################\r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = PeiPerformanceLib\r
+  MODULE_UNI_FILE                = PeiPerformanceLib.uni\r
   FILE_GUID                      = F72DE735-B24F-4ef6-897F-70A85D01A047\r
   MODULE_TYPE                    = PEIM\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = PerformanceLib|PEIM PEI_CORE\r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
-\r
+  LIBRARY_CLASS                  = PerformanceLib|PEIM PEI_CORE SEC\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
-#\r
-\r
-################################################################################\r
-#\r
-# Sources Section - list of files that are required for the build to succeed.\r
+#  VALID_ARCHITECTURES           = IA32 X64 EBC (EBC is for build only)\r
 #\r
-################################################################################\r
 \r
-[Sources.common]\r
+[Sources]\r
   PeiPerformanceLib.c\r
 \r
 \r
-################################################################################\r
-#\r
-# Package Dependency Section - list of Package files that are required for\r
-#                              this module.\r
-#\r
-################################################################################\r
-\r
 [Packages]\r
   MdePkg/MdePkg.dec\r
   MdeModulePkg/MdeModulePkg.dec\r
 \r
 \r
-################################################################################\r
-#\r
-# Library Class Section - list of Library Classes that are required for\r
-#                         this module.\r
-#\r
-################################################################################\r
-\r
 [LibraryClasses]\r
   BaseMemoryLib\r
   PcdLib\r
   DebugLib\r
 \r
 \r
-################################################################################\r
-#\r
-# Guid C Name Section - list of Guids that this module uses or produces.\r
-#\r
-################################################################################\r
-\r
 [Guids]\r
-  gPeiPerformanceHobGuid                        # SOMETIMES_CONSUMED\r
-\r
-\r
-################################################################################\r
-#\r
-# Pcd FIXED_AT_BUILD - list of PCDs that this module is coded for.\r
-#\r
-################################################################################\r
-\r
-[PcdsFixedAtBuild.common]\r
-  PcdPerformanceLibraryPropertyMask|gEfiMdePkgTokenSpaceGuid\r
-\r
-\r
-################################################################################\r
-#\r
-# Pcd DYNAMIC - list of PCDs that this module is coded for.\r
-#\r
-################################################################################\r
-\r
-[PcdsDynamic.common]\r
-  PcdMaxPeiPerformanceLogEntries|gEfiEdkModulePkgTokenSpaceGuid\r
-\r
+  ## PRODUCES ## HOB\r
+  ## CONSUMES ## HOB\r
+  gEdkiiFpdtExtendedFirmwarePerformanceGuid\r
+\r
+[Pcd]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries     ## CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries16   ## CONSUMES\r
+  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask        ## CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly ## CONSUMES\r