]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
Add new extension PerformanceLib APIs to store ID info.
[mirror_edk2.git] / MdeModulePkg / Library / SmmCorePerformanceLib / SmmCorePerformanceLib.inf
1 ## @file
2 # Performance library instance used by SMM Core.
3 #
4 # This library provides the performance measurement interfaces and initializes performance
5 # logging for the SMM phase.
6 # It initializes SMM phase performance logging by publishing the SMM Performance and PerformanceEx Protocol,
7 # which is consumed by SmmPerformanceLib to logging performance data in SMM phase.
8 # This library is mainly used by SMM Core to start performance logging to ensure that
9 # SMM Performance and PerformanceEx Protocol are installed at the very beginning of SMM phase.
10 #
11 # Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>
12 # This program and the accompanying materials
13 # are licensed and made available under the terms and conditions of the BSD License
14 # which accompanies this distribution. The full text of the license may be found at
15 # http://opensource.org/licenses/bsd-license.php
16 #
17 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
18 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 #
20 ##
21
22 [Defines]
23 INF_VERSION = 0x00010005
24 BASE_NAME = SmmCorePerformanceLib
25 FILE_GUID = 36290D10-0F47-42c1-BBCE-E191C7928DCF
26 MODULE_TYPE = SMM_CORE
27 VERSION_STRING = 1.0
28 PI_SPECIFICATION_VERSION = 0x0001000A
29 LIBRARY_CLASS = PerformanceLib|SMM_CORE
30
31 CONSTRUCTOR = SmmCorePerformanceLibConstructor
32
33 #
34 # The following information is for reference only and not required by the build tools.
35 #
36 # VALID_ARCHITECTURES = IA32 X64
37 #
38
39 [Sources]
40 SmmCorePerformanceLib.c
41 SmmCorePerformanceLibInternal.h
42
43 [Packages]
44 MdePkg/MdePkg.dec
45 MdeModulePkg/MdeModulePkg.dec
46
47
48 [LibraryClasses]
49 MemoryAllocationLib
50 UefiBootServicesTableLib
51 PcdLib
52 TimerLib
53 BaseMemoryLib
54 BaseLib
55 DebugLib
56 SynchronizationLib
57 SmmServicesTableLib
58
59 [Protocols]
60 gEfiSmmBase2ProtocolGuid ## CONSUMES
61 gEfiSmmAccess2ProtocolGuid ## CONSUMES
62
63 [Guids]
64 gSmmPerformanceProtocolGuid ## PRODUCES
65 gSmmPerformanceExProtocolGuid ## PRODUCES
66
67 [Pcd]
68 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask