2 # Performance library instance used by SMM Core.
4 # This library provides the performance measurement interfaces and initializes performance
5 # logging for the SMM phase.
6 # It initializes SMM phase performance logging by publishing the SMM Performance and PerformanceEx Protocol,
7 # which is consumed by SmmPerformanceLib to logging performance data in SMM phase.
8 # This library is mainly used by SMM Core to start performance logging to ensure that
9 # SMM Performance and PerformanceEx Protocol are installed at the very beginning of SMM phase.
11 # Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>
12 # This program and the accompanying materials
13 # are licensed and made available under the terms and conditions of the BSD License
14 # which accompanies this distribution. The full text of the license may be found at
15 # http://opensource.org/licenses/bsd-license.php
17 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
18 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
23 INF_VERSION = 0x00010005
24 BASE_NAME = SmmCorePerformanceLib
25 FILE_GUID = 36290D10-0F47-42c1-BBCE-E191C7928DCF
26 MODULE_TYPE = SMM_CORE
28 PI_SPECIFICATION_VERSION = 0x0001000A
29 LIBRARY_CLASS = PerformanceLib|SMM_CORE
31 CONSTRUCTOR = SmmCorePerformanceLibConstructor
34 # The following information is for reference only and not required by the build tools.
36 # VALID_ARCHITECTURES = IA32 X64
40 SmmCorePerformanceLib.c
41 SmmCorePerformanceLibInternal.h
45 MdeModulePkg/MdeModulePkg.dec
50 UefiBootServicesTableLib
60 gEfiSmmBase2ProtocolGuid ## CONSUMES
61 gEfiSmmAccess2ProtocolGuid ## CONSUMES
64 gSmmPerformanceProtocolGuid ## PRODUCES
65 gSmmPerformanceExProtocolGuid ## PRODUCES
68 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask