]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Library / SmmCorePerformanceLib / SmmCorePerformanceLib.inf
... / ...
CommitLineData
1## @file\r
2# Performance library instance used by SMM Core.\r
3#\r
4# This library provides the performance measurement interfaces and initializes performance\r
5# logging for the SMM phase.\r
6# It initializes SMM phase performance logging by publishing the SMM Performance and PerformanceEx Protocol,\r
7# which is consumed by SmmPerformanceLib to logging performance data in SMM phase.\r
8# This library is mainly used by SMM Core to start performance logging to ensure that\r
9# SMM Performance and PerformanceEx Protocol are installed at the very beginning of SMM phase.\r
10#\r
11# Copyright (c) 2011 - 2021, Intel Corporation. All rights reserved.<BR>\r
12# SPDX-License-Identifier: BSD-2-Clause-Patent\r
13#\r
14##\r
15\r
16[Defines]\r
17 INF_VERSION = 0x00010005\r
18 BASE_NAME = SmmCorePerformanceLib\r
19 MODULE_UNI_FILE = SmmCorePerformanceLib.uni\r
20 FILE_GUID = 36290D10-0F47-42c1-BBCE-E191C7928DCF\r
21 MODULE_TYPE = SMM_CORE\r
22 VERSION_STRING = 1.0\r
23 PI_SPECIFICATION_VERSION = 0x0001000A\r
24 LIBRARY_CLASS = PerformanceLib|SMM_CORE\r
25\r
26 CONSTRUCTOR = SmmCorePerformanceLibConstructor\r
27\r
28#\r
29# The following information is for reference only and not required by the build tools.\r
30#\r
31# VALID_ARCHITECTURES = IA32 X64\r
32#\r
33\r
34[Sources]\r
35 SmmCorePerformanceLib.c\r
36 SmmCorePerformanceLibInternal.h\r
37\r
38[Packages]\r
39 MdePkg/MdePkg.dec\r
40 MdeModulePkg/MdeModulePkg.dec\r
41\r
42\r
43[LibraryClasses]\r
44 MemoryAllocationLib\r
45 UefiBootServicesTableLib\r
46 PcdLib\r
47 TimerLib\r
48 BaseMemoryLib\r
49 BaseLib\r
50 DebugLib\r
51 SynchronizationLib\r
52 SmmServicesTableLib\r
53 SmmMemLib\r
54 UefiLib\r
55 ReportStatusCodeLib\r
56 PeCoffGetEntryPointLib\r
57 DxeServicesLib\r
58\r
59[Protocols]\r
60 gEfiSmmBase2ProtocolGuid ## CONSUMES\r
61\r
62[Guids]\r
63 ## PRODUCES ## SystemTable\r
64 gPerformanceProtocolGuid\r
65 gZeroGuid ## SOMETIMES_CONSUMES ## GUID\r
66 gEdkiiSmmPerformanceMeasurementProtocolGuid ## PRODUCES ## UNDEFINED # Install protocol\r
67 gEfiFirmwarePerformanceGuid ## SOMETIMES_PRODUCES ## UNDEFINED # SmiHandlerRegister\r
68\r
69[Pcd]\r
70 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES\r
71 gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly ## CONSUMES\r