]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
Use SmmMemLib to check communication buffer.
[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
6036e94d 5# logging for the SMM phase.\r
f0da4d7d 6# It initializes SMM phase performance logging by publishing the SMM Performance and PerformanceEx Protocol,\r
d042c6e8 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
f0da4d7d 9# SMM Performance and PerformanceEx Protocol are installed at the very beginning of SMM phase.\r
d042c6e8 10# \r
842b1242 11# Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>\r
d042c6e8 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
6036e94d 25 MODULE_UNI_FILE = SmmCorePerformanceLib.uni\r
d042c6e8 26 FILE_GUID = 36290D10-0F47-42c1-BBCE-E191C7928DCF\r
27 MODULE_TYPE = SMM_CORE\r
28 VERSION_STRING = 1.0\r
29 PI_SPECIFICATION_VERSION = 0x0001000A\r
30 LIBRARY_CLASS = PerformanceLib|SMM_CORE\r
31\r
32 CONSTRUCTOR = SmmCorePerformanceLibConstructor\r
33\r
34#\r
35# The following information is for reference only and not required by the build tools.\r
36#\r
37# VALID_ARCHITECTURES = IA32 X64\r
38#\r
39\r
40[Sources]\r
41 SmmCorePerformanceLib.c\r
42 SmmCorePerformanceLibInternal.h\r
43\r
44[Packages]\r
45 MdePkg/MdePkg.dec\r
46 MdeModulePkg/MdeModulePkg.dec\r
47\r
48\r
49[LibraryClasses]\r
50 MemoryAllocationLib\r
51 UefiBootServicesTableLib\r
52 PcdLib\r
53 TimerLib\r
54 BaseMemoryLib\r
55 BaseLib\r
56 DebugLib\r
57 SynchronizationLib\r
f0da4d7d 58 SmmServicesTableLib\r
842b1242 59 SmmMemLib\r
d042c6e8 60\r
61[Protocols]\r
62 gEfiSmmBase2ProtocolGuid ## CONSUMES\r
63 gEfiSmmAccess2ProtocolGuid ## CONSUMES\r
64\r
65[Guids]\r
6036e94d
SZ
66 ## PRODUCES ## UNDEFINED # Install protocol\r
67 ## CONSUMES ## UNDEFINED # SmiHandlerRegister\r
68 gSmmPerformanceProtocolGuid\r
69 ## PRODUCES ## UNDEFINED # Install protocol\r
70 ## CONSUMES ## UNDEFINED # SmiHandlerRegister\r
71 gSmmPerformanceExProtocolGuid\r
d042c6e8 72\r
73[Pcd]\r
6036e94d 74 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES\r