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  UefiLib
52
53[Guids]
54  gPerformanceProtocolGuid              ## SOMETIMES_CONSUMES   ## UNDEFINED # Locate protocol
55  gPerformanceExProtocolGuid            ## SOMETIMES_CONSUMES   ## UNDEFINED # Locate protocol
56  gSmmPerformanceProtocolGuid           ## SOMETIMES_PRODUCES   ## UNDEFINED # Used to do smm communication
57  gSmmPerformanceExProtocolGuid         ## SOMETIMES_PRODUCES   ## UNDEFINED # Used to do smm communication
58  gEdkiiPiSmmCommunicationRegionTableGuid    ## CONSUMES ## SystemTable
59
60[Protocols]
61  gEfiSmmCommunicationProtocolGuid      ## CONSUMES
62
63
64[Pcd]
65  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask    ## CONSUMES
66
67[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER]
68  gEfiSmmCommunicationProtocolGuid
69