]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Library / SmmPerformanceLib / SmmPerformanceLib.inf
1 ## @file
2 # Performance library instance used in SMM phase.
3 #
4 # This library instance provides infrastructure for SMM drivers to log performance
5 # data. It consumes SMM PerformanceEx or Performance Protocol published by SmmCorePerformanceLib
6 # to log performance data. If both SMM PerformanceEx and Performance Protocol are not available,
7 # it does not log any performance information.
8 #
9 # Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
10 # SPDX-License-Identifier: BSD-2-Clause-Patent
11 #
12 ##
13
14 [Defines]
15 INF_VERSION = 0x00010005
16 BASE_NAME = SmmPerformanceLib
17 MODULE_UNI_FILE = SmmPerformanceLib.uni
18 FILE_GUID = 1EDD13E6-D0CD-4432-A692-FF65C9B4F039
19 MODULE_TYPE = DXE_SMM_DRIVER
20 VERSION_STRING = 1.0
21 LIBRARY_CLASS = PerformanceLib|DXE_SMM_DRIVER
22
23 CONSTRUCTOR = SmmPerformanceLibConstructor
24
25 #
26 # The following information is for reference only and not required by the build tools.
27 #
28 # VALID_ARCHITECTURES = IA32 X64
29 #
30
31 [Sources]
32 SmmPerformanceLib.c
33
34
35 [Packages]
36 MdePkg/MdePkg.dec
37 MdeModulePkg/MdeModulePkg.dec
38
39
40 [LibraryClasses]
41 PcdLib
42 SmmServicesTableLib
43 DebugLib
44 BaseMemoryLib
45
46 [Guids]
47 gEdkiiSmmPerformanceMeasurementProtocolGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Locate protocol
48
49 [Pcd]
50 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES