]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf
MdeModulePkg-FPDT(4): Use fixed buffer for SMM_PERF_COMMUNICATE in PerfLib.
[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 both PEI/DXE and SMM performance data.
5 # StartPerformanceMeasurement(), EndPerformanceMeasurement(), StartPerformanceMeasurementEx()
6 # and EndPerformanceMeasurementEx() are not implemented.
7 #
8 # Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR>
9 # This program and the accompanying materials
10 # are licensed and made available under the terms and conditions of the BSD License
11 # which accompanies this distribution. The full text of the license may be found at
12 # http://opensource.org/licenses/bsd-license.php
13 #
14 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #
17 ##
18
19 [Defines]
20 INF_VERSION = 0x00010005
21 BASE_NAME = DxeSmmPerformanceLib
22 MODULE_UNI_FILE = DxeSmmPerformanceLib.uni
23 FILE_GUID = DA80C15C-0B4D-4e75-8946-4043DE559B0C
24 MODULE_TYPE = DXE_DRIVER
25 VERSION_STRING = 1.0
26 LIBRARY_CLASS = PerformanceLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION
27
28 #
29 # The following information is for reference only and not required by the build tools.
30 #
31 # VALID_ARCHITECTURES = IA32 X64
32 #
33
34 [Sources]
35 DxeSmmPerformanceLib.c
36
37
38 [Packages]
39 MdePkg/MdePkg.dec
40 MdeModulePkg/MdeModulePkg.dec
41
42
43 [LibraryClasses]
44 BaseLib
45 UefiBootServicesTableLib
46 PcdLib
47 DebugLib
48 BaseMemoryLib
49 UefiRuntimeServicesTableLib
50 MemoryAllocationLib
51
52 [Guids]
53 gPerformanceProtocolGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Locate protocol
54 gPerformanceExProtocolGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Locate protocol
55 gSmmPerformanceProtocolGuid ## SOMETIMES_PRODUCES ## UNDEFINED # Used to do smm communication
56 gSmmPerformanceExProtocolGuid ## SOMETIMES_PRODUCES ## UNDEFINED # Used to do smm communication
57 gEdkiiPiSmmCommunicationRegionTableGuid ## CONSUMES ## SystemTable
58
59 [Protocols]
60 gEfiSmmCommunicationProtocolGuid ## CONSUMES
61
62
63 [Pcd]
64 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES
65
66 [Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER]
67 gEfiSmmCommunicationProtocolGuid