-#/** @file\r
+## @file \r
+# Performance library instance used in PEI phase.\r
# \r
-# Memory-only library functions with no library constructor/destructor\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
-# This module provides the performance measurement interfaces in PEI phase, it is\r
-# one instance of Performance Libarary.\r
-# \r
-# Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2006 - 2014, 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
# http://opensource.org/licenses/bsd-license.php\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
[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
# 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
-[Pcd.common]\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries\r
- gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask\r
+ ## PRODUCES ## HOB\r
+ ## CONSUMES ## HOB\r
+ gPerformanceProtocolGuid\r
+ ## PRODUCES ## HOB\r
+ ## CONSUMES ## HOB\r
+ gPerformanceExProtocolGuid\r
\r
+[Pcd]\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries ## CONSUMES\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries16 ## CONSUMES\r
+ gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES\r