--- /dev/null
+## @file\r
+# Performance library instance used by SMM Core.\r
+# \r
+# This library provides the performance measurement interfaces and initializes performance\r
+# logging for the SMM phase. \r
+# It initializes SMM phase performance logging by publishing the Performance Protocol,\r
+# which is consumed by SmmPerformanceLib to logging performance data in SMM phase.\r
+# This library is mainly used by SMM Core to start performance logging to ensure that\r
+# SMM Performance Protocol is installed at the very beginning of SMM phase.\r
+# \r
+# Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+# This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution. The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+# \r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# \r
+##\r
+\r
+[Defines]\r
+ INF_VERSION = 0x00010005\r
+ BASE_NAME = SmmCorePerformanceLib\r
+ FILE_GUID = 36290D10-0F47-42c1-BBCE-E191C7928DCF\r
+ MODULE_TYPE = SMM_CORE\r
+ VERSION_STRING = 1.0\r
+ PI_SPECIFICATION_VERSION = 0x0001000A\r
+ LIBRARY_CLASS = PerformanceLib|SMM_CORE\r
+\r
+ CONSTRUCTOR = SmmCorePerformanceLibConstructor\r
+\r
+#\r
+# The following information is for reference only and not required by the build tools.\r
+#\r
+# VALID_ARCHITECTURES = IA32 X64\r
+#\r
+\r
+[Sources]\r
+ SmmCorePerformanceLib.c\r
+ SmmCorePerformanceLibInternal.h\r
+\r
+[Packages]\r
+ MdePkg/MdePkg.dec\r
+ MdeModulePkg/MdeModulePkg.dec\r
+\r
+\r
+[LibraryClasses]\r
+ MemoryAllocationLib\r
+ UefiBootServicesTableLib\r
+ PcdLib\r
+ TimerLib\r
+ BaseMemoryLib\r
+ BaseLib\r
+ DebugLib\r
+ SynchronizationLib\r
+\r
+[Protocols]\r
+ gEfiSmmBase2ProtocolGuid ## CONSUMES\r
+ gEfiSmmAccess2ProtocolGuid ## CONSUMES\r
+\r
+[Guids]\r
+ gSmmPerformanceProtocolGuid ## PRODUCES\r
+\r
+[Pcd]\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries\r
+ gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask\r