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