]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # Performance library instance used in SMM phase.\r | |
3 | # \r | |
4 | # This library instance provides infrastructure for SMM drivers to log performance\r | |
5 | # data. It consumes SMM PerformanceEx or Performance Protocol published by SmmCorePerformanceLib\r | |
6 | # to log performance data. If both SMM PerformanceEx and Performance Protocol are not available,\r | |
7 | # it does not log any performance information.\r | |
8 | # \r | |
9 | # Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>\r | |
10 | # This program and the accompanying materials\r | |
11 | # are licensed and made available under the terms and conditions of the BSD License\r | |
12 | # which accompanies this distribution. The full text of the license may be found at\r | |
13 | # http://opensource.org/licenses/bsd-license.php\r | |
14 | # \r | |
15 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
16 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
17 | # \r | |
18 | ##\r | |
19 | \r | |
20 | [Defines]\r | |
21 | INF_VERSION = 0x00010005\r | |
22 | BASE_NAME = SmmPerformanceLib\r | |
23 | MODULE_UNI_FILE = SmmPerformanceLib.uni\r | |
24 | FILE_GUID = 1EDD13E6-D0CD-4432-A692-FF65C9B4F039\r | |
25 | MODULE_TYPE = DXE_SMM_DRIVER\r | |
26 | VERSION_STRING = 1.0\r | |
27 | LIBRARY_CLASS = PerformanceLib|DXE_SMM_DRIVER\r | |
28 | \r | |
29 | CONSTRUCTOR = SmmPerformanceLibConstructor\r | |
30 | \r | |
31 | #\r | |
32 | # The following information is for reference only and not required by the build tools.\r | |
33 | #\r | |
34 | # VALID_ARCHITECTURES = IA32 X64\r | |
35 | #\r | |
36 | \r | |
37 | [Sources]\r | |
38 | SmmPerformanceLib.c\r | |
39 | \r | |
40 | \r | |
41 | [Packages]\r | |
42 | MdePkg/MdePkg.dec\r | |
43 | MdeModulePkg/MdeModulePkg.dec\r | |
44 | \r | |
45 | \r | |
46 | [LibraryClasses]\r | |
47 | PcdLib\r | |
48 | SmmServicesTableLib\r | |
49 | DebugLib\r | |
50 | BaseMemoryLib\r | |
51 | \r | |
52 | [Guids]\r | |
53 | gSmmPerformanceProtocolGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Locate protocol\r | |
54 | gSmmPerformanceExProtocolGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Locate protocol\r | |
55 | \r | |
56 | [Pcd]\r | |
57 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES\r |