]>
Commit | Line | Data |
---|---|---|
d042c6e8 | 1 | ## @file\r |
2 | # Performance library instance used by SMM Core.\r | |
d1102dba | 3 | #\r |
d042c6e8 | 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 |
d1102dba | 10 | #\r |
2001f84e | 11 | # Copyright (c) 2011 - 2018, 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 | |
d1102dba | 16 | #\r |
d042c6e8 | 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 | |
d1102dba | 19 | #\r |
d042c6e8 | 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 |
cfb0aba7 | 60 | UefiLib\r |
2001f84e DB |
61 | ReportStatusCodeLib\r |
62 | PeCoffGetEntryPointLib\r | |
e0c93c9b | 63 | DxeServicesLib\r |
d042c6e8 | 64 | \r |
65 | [Protocols]\r | |
66 | gEfiSmmBase2ProtocolGuid ## CONSUMES\r | |
2001f84e | 67 | gEdkiiSmmReadyToBootProtocolGuid ## NOTIFY\r |
d042c6e8 | 68 | \r |
69 | [Guids]\r | |
cfb0aba7 SZ |
70 | ## PRODUCES ## SystemTable\r |
71 | gPerformanceProtocolGuid\r | |
2001f84e DB |
72 | gEdkiiFpdtExtendedFirmwarePerformanceGuid ## SOMETIMES_PRODUCES ## UNDEFINED # StatusCode Data\r |
73 | gZeroGuid ## SOMETIMES_CONSUMES ## GUID\r | |
137fb13d | 74 | gEdkiiSmmPerformanceMeasurementProtocolGuid ## PRODUCES ## UNDEFINED # Install protocol\r |
d042c6e8 | 75 | \r |
76 | [Pcd]\r | |
2001f84e DB |
77 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES\r |
78 | gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly ## CONSUMES\r |