]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf
Add performance library instances for SMM performance measurement.
[mirror_edk2.git] / MdeModulePkg / Library / DxeSmmPerformanceLib / DxeSmmPerformanceLib.inf
1 ## @file
2 # Performance library instance used in DXE phase to dump SMM performance data.
3 #
4 # This library instance allows a DXE driver or UEFI application to dump the SMM performance data.
5 # StartPerformanceMeasurement() and EndPerformanceMeasurement() are not implemented.
6 #
7 # Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
8 # This program and the accompanying materials
9 # are licensed and made available under the terms and conditions of the BSD License
10 # which accompanies this distribution. The full text of the license may be found at
11 # http://opensource.org/licenses/bsd-license.php
12 #
13 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #
16 ##
17
18 [Defines]
19 INF_VERSION = 0x00010005
20 BASE_NAME = DxeSmmPerformanceLib
21 FILE_GUID = DA80C15C-0B4D-4e75-8946-4043DE559B0C
22 MODULE_TYPE = DXE_DRIVER
23 VERSION_STRING = 1.0
24 LIBRARY_CLASS = PerformanceLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION
25
26 #
27 # The following information is for reference only and not required by the build tools.
28 #
29 # VALID_ARCHITECTURES = IA32 X64
30 #
31
32 [Sources]
33 DxeSmmPerformanceLib.c
34
35
36 [Packages]
37 MdePkg/MdePkg.dec
38 MdeModulePkg/MdeModulePkg.dec
39
40
41 [LibraryClasses]
42 BaseLib
43 UefiBootServicesTableLib
44 PcdLib
45 DebugLib
46 BaseMemoryLib
47 UefiRuntimeServicesTableLib
48 MemoryAllocationLib
49
50 [Guids]
51 gSmmPerformanceProtocolGuid ## CONSUMES
52
53 [Protocols]
54 gEfiSmmCommunicationProtocolGuid ## CONSUMES
55
56
57 [Pcd]
58 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask
59
60 [Depex]
61 gEfiSmmCommunicationProtocolGuid