1## @file
2#  Performance library instance used in PEI phase.
3#
4#  This library provides the performance measurement interfaces in PEI phase, it creates
5#  and consumes GUIDed HOB for performance logging. The GUIDed HOB is passed to DXE phase
6#  so that it can be taken over by DxeCorePerformanceLib.
7#
8#  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
9#  This program and the accompanying materials
10#  are licensed and made available under the terms and conditions of the BSD License
11#  which accompanies this distribution.  The full text of the license may be found at
12#  http://opensource.org/licenses/bsd-license.php
13#
14#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16#
17##
18
19[Defines]
20  INF_VERSION                    = 0x00010005
21  BASE_NAME                      = PeiPerformanceLib
22  MODULE_UNI_FILE                = PeiPerformanceLib.uni
23  FILE_GUID                      = F72DE735-B24F-4ef6-897F-70A85D01A047
24  MODULE_TYPE                    = PEIM
25  VERSION_STRING                 = 1.0
26  LIBRARY_CLASS                  = PerformanceLib|PEIM PEI_CORE SEC
27
28#
29# The following information is for reference only and not required by the build tools.
30#
31#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC (EBC is for build only)
32#
33
34[Sources]
35  PeiPerformanceLib.c
36
37
38[Packages]
39  MdePkg/MdePkg.dec
40  MdeModulePkg/MdeModulePkg.dec
41
42
43[LibraryClasses]
44  BaseMemoryLib
45  PcdLib
46  TimerLib
47  BaseLib
48  HobLib
49  DebugLib
50
51
52[Guids]
53  ## PRODUCES ## HOB
54  ## CONSUMES ## HOB
55  gPerformanceProtocolGuid
56  ## PRODUCES ## HOB
57  ## CONSUMES ## HOB
58  gPerformanceExProtocolGuid
59
60[Pcd]
61  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries ## CONSUMES
62  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask    ## CONSUMES
63