]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf
Add performance library instances for SMM performance measurement.
[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 Performance Protocol published by SmmCorePerformanceLib
6 # to log performance data. If Performance Protocol is not available, it does not log any
7 # performance information.
8 #
9 # Copyright (c) 2011, 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 FILE_GUID = 1EDD13E6-D0CD-4432-A692-FF65C9B4F039
24 MODULE_TYPE = DXE_SMM_DRIVER
25 VERSION_STRING = 1.0
26 LIBRARY_CLASS = PerformanceLib|DXE_SMM_DRIVER
27
28 CONSTRUCTOR = SmmPerformanceLibConstructor
29
30 #
31 # The following information is for reference only and not required by the build tools.
32 #
33 # VALID_ARCHITECTURES = IA32 X64
34 #
35
36 [Sources]
37 SmmPerformanceLib.c
38
39
40 [Packages]
41 MdePkg/MdePkg.dec
42 MdeModulePkg/MdeModulePkg.dec
43
44
45 [LibraryClasses]
46 PcdLib
47 SmmServicesTableLib
48 DebugLib
49 BaseMemoryLib
50
51 [Protocols]
52 gEfiSmmCommunicationProtocolGuid ## CONSUMES
53
54
55 [Guids]
56 gSmmPerformanceProtocolGuid ## CONSUMES
57
58
59 [Pcd]
60 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask
61
62 [Depex]
63 gEfiSmmCommunicationProtocolGuid