]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
Patch from open source community for CryptoPkg to allow it to build for ARM using...
[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 Performance 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 Protocol is installed at the very beginning of SMM phase.
10 #
11 # Copyright (c) 2011, 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
58 [Protocols]
59 gEfiSmmBase2ProtocolGuid ## CONSUMES
60 gEfiSmmAccess2ProtocolGuid ## CONSUMES
61
62 [Guids]
63 gSmmPerformanceProtocolGuid ## PRODUCES
64
65 [Pcd]
66 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries
67 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask