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