]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Library / SmmCorePerformanceLib / SmmCorePerformanceLib.inf
CommitLineData
d042c6e8 1## @file\r
2# Performance library instance used by SMM Core.\r
d1102dba 3#\r
d042c6e8 4# This library provides the performance measurement interfaces and initializes performance\r
6036e94d 5# logging for the SMM phase.\r
f0da4d7d 6# It initializes SMM phase performance logging by publishing the SMM Performance and PerformanceEx Protocol,\r
d042c6e8 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
f0da4d7d 9# SMM Performance and PerformanceEx Protocol are installed at the very beginning of SMM phase.\r
d1102dba 10#\r
2001f84e 11# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
9d510e61 12# SPDX-License-Identifier: BSD-2-Clause-Patent\r
d1102dba 13#\r
d042c6e8 14##\r
15\r
16[Defines]\r
17 INF_VERSION = 0x00010005\r
18 BASE_NAME = SmmCorePerformanceLib\r
6036e94d 19 MODULE_UNI_FILE = SmmCorePerformanceLib.uni\r
d042c6e8 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
f0da4d7d 52 SmmServicesTableLib\r
842b1242 53 SmmMemLib\r
cfb0aba7 54 UefiLib\r
2001f84e
DB
55 ReportStatusCodeLib\r
56 PeCoffGetEntryPointLib\r
e0c93c9b 57 DxeServicesLib\r
d042c6e8 58\r
59[Protocols]\r
60 gEfiSmmBase2ProtocolGuid ## CONSUMES\r
2001f84e 61 gEdkiiSmmReadyToBootProtocolGuid ## NOTIFY\r
d042c6e8 62\r
63[Guids]\r
cfb0aba7
SZ
64 ## PRODUCES ## SystemTable\r
65 gPerformanceProtocolGuid\r
2001f84e
DB
66 gEdkiiFpdtExtendedFirmwarePerformanceGuid ## SOMETIMES_PRODUCES ## UNDEFINED # StatusCode Data\r
67 gZeroGuid ## SOMETIMES_CONSUMES ## GUID\r
137fb13d 68 gEdkiiSmmPerformanceMeasurementProtocolGuid ## PRODUCES ## UNDEFINED # Install protocol\r
d042c6e8 69\r
70[Pcd]\r
2001f84e
DB
71 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES\r
72 gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly ## CONSUMES\r