]>
Commit | Line | Data |
---|---|---|
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 SMM Performance and PerformanceEx 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 and PerformanceEx Protocol are installed at the very beginning of SMM phase.\r | |
10 | #\r | |
11 | # Copyright (c) 2011 - 2018, 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 | MODULE_UNI_FILE = SmmCorePerformanceLib.uni\r | |
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 | |
58 | SmmServicesTableLib\r | |
59 | SmmMemLib\r | |
60 | UefiLib\r | |
61 | ReportStatusCodeLib\r | |
62 | PeCoffGetEntryPointLib\r | |
63 | \r | |
64 | [Protocols]\r | |
65 | gEfiSmmBase2ProtocolGuid ## CONSUMES\r | |
66 | gEdkiiSmmReadyToBootProtocolGuid ## NOTIFY\r | |
67 | \r | |
68 | [Guids]\r | |
69 | ## PRODUCES ## SystemTable\r | |
70 | gPerformanceProtocolGuid\r | |
71 | gEdkiiFpdtExtendedFirmwarePerformanceGuid ## SOMETIMES_PRODUCES ## UNDEFINED # StatusCode Data\r | |
72 | gZeroGuid ## SOMETIMES_CONSUMES ## GUID\r | |
73 | gEdkiiSmmPerformanceMeasurementProtocolGuid ## PRODUCES ## UNDEFINED # Install protocol\r | |
74 | \r | |
75 | [Pcd]\r | |
76 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES\r | |
77 | gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly ## CONSUMES\r |