-#/** @file\r
-# Memory-only library functions with no library constructor/destructor\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
-#\r
-# All rights reserved. This program and the accompanying materials\r
+## @file \r
+# Performance library instance used in PEI phase.\r
+# \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
+# 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
[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
+# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only)\r
#\r
\r
-[Sources.common]\r
+[Sources]\r
PeiPerformanceLib.c\r
\r
\r
\r
\r
[Guids]\r
- gPeiPerformanceHobGuid # SOMETIMES_CONSUMED\r
-\r
-\r
-[FixedPcd.common]\r
- gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask\r
-\r
-\r
-[Pcd.common]\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries\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