]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
MdeModulePkg: Replace BSD License with BSD+Patent License
[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 # SPDX-License-Identifier: BSD-2-Clause-Patent
15 #
16 ##
17
18 [Defines]
19 INF_VERSION = 0x00010005
20 BASE_NAME = DxeCorePerformanceLib
21 MODULE_UNI_FILE = DxeCorePerformanceLib.uni
22 FILE_GUID = D0F78BBF-0A30-4c63-8A48-0F618A4AFACD
23 MODULE_TYPE = DXE_CORE
24 VERSION_STRING = 1.0
25 LIBRARY_CLASS = PerformanceLib|DXE_CORE
26
27 CONSTRUCTOR = DxeCorePerformanceLibConstructor
28
29 #
30 # The following information is for reference only and not required by the build tools.
31 #
32 # VALID_ARCHITECTURES = IA32 X64 EBC
33 #
34
35 [Sources]
36 DxeCorePerformanceLib.c
37 DxeCorePerformanceLibInternal.h
38
39 [Packages]
40 MdePkg/MdePkg.dec
41 MdeModulePkg/MdeModulePkg.dec
42
43
44 [LibraryClasses]
45 MemoryAllocationLib
46 UefiBootServicesTableLib
47 UefiRuntimeServicesTableLib
48 PcdLib
49 TimerLib
50 BaseMemoryLib
51 BaseLib
52 HobLib
53 DebugLib
54 UefiLib
55 ReportStatusCodeLib
56 DxeServicesLib
57 PeCoffGetEntryPointLib
58 DevicePathLib
59
60 [Protocols]
61 gEfiSmmCommunicationProtocolGuid ## SOMETIMES_CONSUMES
62
63
64 [Guids]
65 ## PRODUCES ## SystemTable
66 gPerformanceProtocolGuid
67 gZeroGuid ## SOMETIMES_CONSUMES ## GUID
68 gEfiFirmwarePerformanceGuid ## SOMETIMES_PRODUCES ## UNDEFINED # StatusCode Data
69 gEdkiiFpdtExtendedFirmwarePerformanceGuid ## SOMETIMES_CONSUMES ## HOB # StatusCode Data
70 gEfiEventReadyToBootGuid ## CONSUMES ## Event
71 gEdkiiPiSmmCommunicationRegionTableGuid ## SOMETIMES_CONSUMES ## SystemTable
72 gEdkiiPerformanceMeasurementProtocolGuid ## PRODUCES ## UNDEFINED # Install protocol
73
74 [Pcd]
75 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES
76 gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly ## CONSUMES
77 gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize ## CONSUMES