]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf
9e3109140b80193ebd89e345358c9400ea2949e8
[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 # This program and the accompanying materials
11 # are licensed and made available under the terms and conditions of the BSD License
12 # which accompanies this distribution. The full text of the license may be found at
13 # http://opensource.org/licenses/bsd-license.php
14 #
15 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 #
18 ##
19
20 [Defines]
21 INF_VERSION = 0x00010005
22 BASE_NAME = SmmPerformanceLib
23 MODULE_UNI_FILE = SmmPerformanceLib.uni
24 FILE_GUID = 1EDD13E6-D0CD-4432-A692-FF65C9B4F039
25 MODULE_TYPE = DXE_SMM_DRIVER
26 VERSION_STRING = 1.0
27 LIBRARY_CLASS = PerformanceLib|DXE_SMM_DRIVER
28
29 CONSTRUCTOR = SmmPerformanceLibConstructor
30
31 #
32 # The following information is for reference only and not required by the build tools.
33 #
34 # VALID_ARCHITECTURES = IA32 X64
35 #
36
37 [Sources]
38 SmmPerformanceLib.c
39
40
41 [Packages]
42 MdePkg/MdePkg.dec
43 MdeModulePkg/MdeModulePkg.dec
44
45
46 [LibraryClasses]
47 PcdLib
48 SmmServicesTableLib
49 DebugLib
50 BaseMemoryLib
51
52 [Guids]
53 gEdkiiSmmPerformanceMeasurementProtocolGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Locate protocol
54
55 [Pcd]
56 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES