]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
MdeModulePkg: Removing ipf which is no longer supported from edk2.
[mirror_edk2.git] / MdeModulePkg / Library / DxeCorePerformanceLib / DxeCorePerformanceLib.inf
1 ## @file
2 # Performance library instance mainly for DxeCore usage.
3 #
4 # This library provides the performance measurement interfaces and initializes performance
5 # logging for DXE phase. It first initializes its private global data structure for
6 # performance logging and saves the performance GUIDed HOB passed from PEI phase.
7 # It initializes DXE phase performance logging by publishing the Performance and PerformanceEx Protocol,
8 # which is consumed by DxePerformanceLib to logging performance data in DXE phase.
9 # This library is mainly used by DxeCore to start performance logging to ensure that
10 # Performance and PerformanceEx Protocol are installed at the very beginning of DXE phase.
11 #
12 # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
13 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
14 # This program and the accompanying materials
15 # are licensed and made available under the terms and conditions of the BSD License
16 # which accompanies this distribution. The full text of the license may be found at
17 # http://opensource.org/licenses/bsd-license.php
18 #
19 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
20 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
21 #
22 ##
23
24 [Defines]
25 INF_VERSION = 0x00010005
26 BASE_NAME = DxeCorePerformanceLib
27 MODULE_UNI_FILE = DxeCorePerformanceLib.uni
28 FILE_GUID = D0F78BBF-0A30-4c63-8A48-0F618A4AFACD
29 MODULE_TYPE = DXE_CORE
30 VERSION_STRING = 1.0
31 LIBRARY_CLASS = PerformanceLib|DXE_CORE
32
33 CONSTRUCTOR = DxeCorePerformanceLibConstructor
34
35 #
36 # The following information is for reference only and not required by the build tools.
37 #
38 # VALID_ARCHITECTURES = IA32 X64 EBC
39 #
40
41 [Sources]
42 DxeCorePerformanceLib.c
43 DxeCorePerformanceLibInternal.h
44
45 [Packages]
46 MdePkg/MdePkg.dec
47 MdeModulePkg/MdeModulePkg.dec
48
49
50 [LibraryClasses]
51 MemoryAllocationLib
52 UefiBootServicesTableLib
53 UefiRuntimeServicesTableLib
54 PcdLib
55 TimerLib
56 BaseMemoryLib
57 BaseLib
58 HobLib
59 DebugLib
60 UefiLib
61 ReportStatusCodeLib
62 DxeServicesLib
63 PeCoffGetEntryPointLib
64 DevicePathLib
65
66 [Protocols]
67 gEfiSmmCommunicationProtocolGuid ## SOMETIMES_CONSUMES
68
69
70 [Guids]
71 ## PRODUCES ## SystemTable
72 gPerformanceProtocolGuid
73 gZeroGuid ## SOMETIMES_CONSUMES ## GUID
74 gEfiFirmwarePerformanceGuid ## SOMETIMES_PRODUCES ## UNDEFINED # StatusCode Data
75 gEdkiiFpdtExtendedFirmwarePerformanceGuid ## SOMETIMES_CONSUMES ## HOB # StatusCode Data
76 gEfiEventReadyToBootGuid ## CONSUMES ## Event
77 gEdkiiPiSmmCommunicationRegionTableGuid ## SOMETIMES_CONSUMES ## SystemTable
78 gEdkiiPerformanceMeasurementProtocolGuid ## PRODUCES ## UNDEFINED # Install protocol
79
80 [Pcd]
81 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES
82 gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly ## CONSUMES
83 gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize ## CONSUMES