]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Library / DxeCorePerformanceLib / DxeCorePerformanceLib.inf
... / ...
CommitLineData
1## @file\r
2# Performance library instance mainly for DxeCore usage.\r
3#\r
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
6# performance logging and saves the performance GUIDed HOB passed from PEI phase.\r
7# It initializes DXE phase performance logging by publishing the Performance and PerformanceEx Protocol,\r
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
10# Performance and PerformanceEx Protocol are installed at the very beginning of DXE phase.\r
11#\r
12# Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>\r
13# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
14# SPDX-License-Identifier: BSD-2-Clause-Patent\r
15#\r
16##\r
17\r
18[Defines]\r
19 INF_VERSION = 0x00010005\r
20 BASE_NAME = DxeCorePerformanceLib\r
21 MODULE_UNI_FILE = DxeCorePerformanceLib.uni\r
22 FILE_GUID = D0F78BBF-0A30-4c63-8A48-0F618A4AFACD\r
23 MODULE_TYPE = DXE_CORE\r
24 VERSION_STRING = 1.0\r
25 LIBRARY_CLASS = PerformanceLib|DXE_CORE\r
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
32# VALID_ARCHITECTURES = IA32 X64 EBC\r
33#\r
34\r
35[Sources]\r
36 DxeCorePerformanceLib.c\r
37 DxeCorePerformanceLibInternal.h\r
38\r
39[Packages]\r
40 MdePkg/MdePkg.dec\r
41 MdeModulePkg/MdeModulePkg.dec\r
42\r
43\r
44[LibraryClasses]\r
45 MemoryAllocationLib\r
46 UefiBootServicesTableLib\r
47 UefiRuntimeServicesTableLib\r
48 PcdLib\r
49 TimerLib\r
50 BaseMemoryLib\r
51 BaseLib\r
52 HobLib\r
53 DebugLib\r
54 UefiLib\r
55 ReportStatusCodeLib\r
56 DxeServicesLib\r
57 PeCoffGetEntryPointLib\r
58 DevicePathLib\r
59\r
60[Protocols]\r
61 gEfiSmmCommunicationProtocolGuid ## SOMETIMES_CONSUMES\r
62\r
63\r
64[Guids]\r
65 ## PRODUCES ## SystemTable\r
66 gPerformanceProtocolGuid\r
67 gZeroGuid ## SOMETIMES_CONSUMES ## GUID\r
68 gEfiFirmwarePerformanceGuid ## SOMETIMES_PRODUCES ## UNDEFINED # StatusCode Data\r
69 gEdkiiFpdtExtendedFirmwarePerformanceGuid ## SOMETIMES_CONSUMES ## HOB # StatusCode Data\r
70 gEfiEndOfDxeEventGroupGuid ## CONSUMES ## Event\r
71 gEfiEventReadyToBootGuid ## CONSUMES ## Event\r
72 gEdkiiPiSmmCommunicationRegionTableGuid ## SOMETIMES_CONSUMES ## SystemTable\r
73 gEdkiiPerformanceMeasurementProtocolGuid ## PRODUCES ## UNDEFINED # Install protocol\r
74\r
75[Pcd]\r
76 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES\r
77 gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly ## CONSUMES\r
78 gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize ## CONSUMES\r