]> git.proxmox.com Git - mirror_edk2.git/blobdiff - PerformancePkg/PerformancePkg.dsc
PerformancePkg: Link DxeSmmPerformanceLib to make DP command generic
[mirror_edk2.git] / PerformancePkg / PerformancePkg.dsc
index 4278cbd092712e6015e65ffc6f95d7b87949fd3c..95cc905cbb665c3771f7c430197d6985b1401ecc 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # Build description file to generate Shell DP application.\r
 #\r
-# Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2009 - 2017, 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
@@ -45,7 +45,7 @@
   PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
   HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
   UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
-  PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
+  PerformanceLib|MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf\r
   IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
   FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
   SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
   PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
   DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
 \r
-[LibraryClasses.IA32, LibraryClasses.X64]\r
-  # This library instance mapping needs adjusting based on platform.\r
-  # The TimerLib instance must match the TimerLib the platform was built with.\r
-  # If the platform was built with more than one TimerLib type, then this utility\r
-  # will produce invalid results for any measurements done with a TimerLib instance\r
-  # that is different than the one below.\r
-  #\r
-  # TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf\r
-  TimerLib|PerformancePkg/Library/TscTimerLib/DxeTscTimerLib.inf\r
-\r
-[LibraryClasses.IPF]\r
-  PalLib|MdePkg/Library/UefiPalLib/UefiPalLib.inf\r
-  TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
-\r
-[LibraryClasses.EBC]\r
-  TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
-\r
 [Components.IA32, Components.X64]\r
   PerformancePkg/Library/TscTimerLib/DxeTscTimerLib.inf\r
   PerformancePkg/Library/TscTimerLib/PeiTscTimerLib.inf\r