]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Library / DxeCorePerformanceLib / DxeCorePerformanceLib.inf
CommitLineData
6bfbb5f0 1## @file\r
857dfc45 2# Performance library instance mainly for DxeCore usage.\r
d1102dba 3#\r
857dfc45 4# This library provides the performance measurement interfaces and initializes performance\r
5# logging for DXE phase. It first initializes its private global data structure for\r
d1102dba 6# performance logging and saves the performance GUIDed HOB passed from PEI phase.\r
f0da4d7d 7# It initializes DXE phase performance logging by publishing the Performance and PerformanceEx Protocol,\r
857dfc45 8# which is consumed by DxePerformanceLib to logging performance data in DXE phase.\r
9# This library is mainly used by DxeCore to start performance logging to ensure that\r
f0da4d7d 10# Performance and PerformanceEx Protocol are installed at the very beginning of DXE phase.\r
d1102dba 11#\r
9609d24b 12# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
7c50b343 13# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
9d510e61 14# SPDX-License-Identifier: BSD-2-Clause-Patent\r
d1102dba 15#\r
6bfbb5f0 16##\r
a0afd019 17\r
a0afd019 18[Defines]\r
19 INF_VERSION = 0x00010005\r
20 BASE_NAME = DxeCorePerformanceLib\r
6036e94d 21 MODULE_UNI_FILE = DxeCorePerformanceLib.uni\r
a0afd019 22 FILE_GUID = D0F78BBF-0A30-4c63-8A48-0F618A4AFACD\r
23 MODULE_TYPE = DXE_CORE\r
24 VERSION_STRING = 1.0\r
4d5c1d50 25 LIBRARY_CLASS = PerformanceLib|DXE_CORE\r
a0afd019 26\r
27 CONSTRUCTOR = DxeCorePerformanceLibConstructor\r
28\r
29#\r
30# The following information is for reference only and not required by the build tools.\r
31#\r
de005223 32# VALID_ARCHITECTURES = IA32 X64 EBC\r
a0afd019 33#\r
34\r
6bfbb5f0 35[Sources]\r
a0afd019 36 DxeCorePerformanceLib.c\r
aa79b0b3 37 DxeCorePerformanceLibInternal.h\r
a0afd019 38\r
a0afd019 39[Packages]\r
40 MdePkg/MdePkg.dec\r
41 MdeModulePkg/MdeModulePkg.dec\r
42\r
43\r
a0afd019 44[LibraryClasses]\r
45 MemoryAllocationLib\r
46 UefiBootServicesTableLib\r
9609d24b 47 UefiRuntimeServicesTableLib\r
a0afd019 48 PcdLib\r
49 TimerLib\r
50 BaseMemoryLib\r
51 BaseLib\r
52 HobLib\r
53 DebugLib\r
cfb0aba7 54 UefiLib\r
9609d24b
DB
55 ReportStatusCodeLib\r
56 DxeServicesLib\r
57 PeCoffGetEntryPointLib\r
6b4d58a1 58 DevicePathLib\r
9609d24b
DB
59\r
60[Protocols]\r
61 gEfiSmmCommunicationProtocolGuid ## SOMETIMES_CONSUMES\r
a0afd019 62\r
63\r
a0afd019 64[Guids]\r
cfb0aba7 65 ## PRODUCES ## SystemTable\r
6036e94d 66 gPerformanceProtocolGuid\r
9609d24b
DB
67 gZeroGuid ## SOMETIMES_CONSUMES ## GUID\r
68 gEfiFirmwarePerformanceGuid ## SOMETIMES_PRODUCES ## UNDEFINED # StatusCode Data\r
69 gEdkiiFpdtExtendedFirmwarePerformanceGuid ## SOMETIMES_CONSUMES ## HOB # StatusCode Data\r
70 gEfiEventReadyToBootGuid ## CONSUMES ## Event\r
71 gEdkiiPiSmmCommunicationRegionTableGuid ## SOMETIMES_CONSUMES ## SystemTable\r
137fb13d 72 gEdkiiPerformanceMeasurementProtocolGuid ## PRODUCES ## UNDEFINED # Install protocol\r
a0afd019 73\r
6bfbb5f0 74[Pcd]\r
9609d24b
DB
75 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES\r
76 gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly ## CONSUMES\r
77 gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize ## CONSUMES\r