]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
MdeModulePkg: Fix the build fail issue on VS2008\VS2010\GCC
[mirror_edk2.git] / MdeModulePkg / Library / SmmCorePerformanceLib / SmmCorePerformanceLib.inf
index cbf2c545f6852949ad138b4ec2d63c1ef3709b6d..160a749390e13be343e3d2280309f61bf88789fe 100644 (file)
@@ -2,13 +2,13 @@
 #  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
+#  logging for the SMM phase.\r
+#  It initializes SMM phase performance logging by publishing the SMM Performance and PerformanceEx 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
+#  SMM Performance and PerformanceEx Protocol are installed at the very beginning of SMM phase.\r
 #  \r
-#  Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+#  Copyright (c) 2011 - 2015, 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
@@ -22,6 +22,7 @@
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = SmmCorePerformanceLib\r
+  MODULE_UNI_FILE                = SmmCorePerformanceLib.uni\r
   FILE_GUID                      = 36290D10-0F47-42c1-BBCE-E191C7928DCF\r
   MODULE_TYPE                    = SMM_CORE\r
   VERSION_STRING                 = 1.0\r
   BaseLib\r
   DebugLib\r
   SynchronizationLib\r
+  SmmServicesTableLib\r
+  SmmMemLib\r
 \r
 [Protocols]\r
   gEfiSmmBase2ProtocolGuid                  ## CONSUMES\r
-  gEfiSmmAccess2ProtocolGuid                ## CONSUMES\r
 \r
 [Guids]\r
-  gSmmPerformanceProtocolGuid               ## PRODUCES\r
+  ## PRODUCES ## UNDEFINED # Install protocol\r
+  ## CONSUMES ## UNDEFINED # SmiHandlerRegister\r
+  gSmmPerformanceProtocolGuid\r
+  ## PRODUCES ## UNDEFINED # Install protocol\r
+  ## CONSUMES ## UNDEFINED # SmiHandlerRegister\r
+  gSmmPerformanceExProtocolGuid\r
 \r
 [Pcd]\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries\r
-  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask\r
+  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask    ## CONSUMES\r