summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf
blob: ac25a434d2b4b22f5f374d4c25d55e1152d5a2aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
## @file
#  Performance library instance used in SMM phase.
#  
#  This library instance provides infrastructure for SMM drivers to log performance
#  data. It consumes SMM PerformanceEx or Performance Protocol published by SmmCorePerformanceLib
#  to log performance data. If both SMM PerformanceEx and Performance Protocol are not available, it does not log any
#  performance information.
#  
#  Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>
#  This program and the accompanying materials
#  are licensed and made available under the terms and conditions of the BSD License
#  which accompanies this distribution.  The full text of the license may be found at
#  http://opensource.org/licenses/bsd-license.php
#  
#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#  
##

[Defines]
  INF_VERSION                    = 0x00010005
  BASE_NAME                      = SmmPerformanceLib
  FILE_GUID                      = 1EDD13E6-D0CD-4432-A692-FF65C9B4F039
  MODULE_TYPE                    = DXE_SMM_DRIVER
  VERSION_STRING                 = 1.0
  LIBRARY_CLASS                  = PerformanceLib|DXE_SMM_DRIVER

  CONSTRUCTOR                    = SmmPerformanceLibConstructor

#
# The following information is for reference only and not required by the build tools.
#
#  VALID_ARCHITECTURES           = IA32 X64
#

[Sources]
  SmmPerformanceLib.c


[Packages]
  MdePkg/MdePkg.dec
  MdeModulePkg/MdeModulePkg.dec


[LibraryClasses]
  PcdLib
  SmmServicesTableLib
  DebugLib
  BaseMemoryLib

[Guids]
  gSmmPerformanceProtocolGuid           ## SOMETIMES_CONSUMES
  gSmmPerformanceExProtocolGuid         ## SOMETIMES_CONSUMES

[Pcd]
  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask