From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 951EB821CF for ; Tue, 28 Feb 2017 23:53:07 -0800 (PST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Feb 2017 23:53:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,224,1484035200"; d="scan'208";a="63151425" Received: from lzeng14-mobl1.ccr.corp.intel.com ([10.239.198.153]) by orsmga004.jf.intel.com with ESMTP; 28 Feb 2017 23:53:06 -0800 From: Star Zeng To: edk2-devel@lists.01.org Cc: Star Zeng , Liming Gao Date: Wed, 1 Mar 2017 15:53:02 +0800 Message-Id: <1488354783-13920-2-git-send-email-star.zeng@intel.com> X-Mailer: git-send-email 2.8.1.windows.1 In-Reply-To: <1488354783-13920-1-git-send-email-star.zeng@intel.com> References: <1488354783-13920-1-git-send-email-star.zeng@intel.com> Subject: [PATCH 1/2] PerformancePkg: Link DxeSmmPerformanceLib to make DP command generic X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2017 07:53:07 -0000 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=412 Also remove the unreferenced TimerLib mapping. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- PerformancePkg/PerformancePkg.dsc | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/PerformancePkg/PerformancePkg.dsc b/PerformancePkg/PerformancePkg.dsc index 4278cbd09271..95cc905cbb66 100644 --- a/PerformancePkg/PerformancePkg.dsc +++ b/PerformancePkg/PerformancePkg.dsc @@ -1,7 +1,7 @@ ## @file # Build description file to generate Shell DP application. # -# Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.
+# Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
# This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may be found at @@ -45,7 +45,7 @@ [LibraryClasses] PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf - PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf + PerformanceLib|MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf @@ -56,23 +56,6 @@ [LibraryClasses] PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf -[LibraryClasses.IA32, LibraryClasses.X64] - # This library instance mapping needs adjusting based on platform. - # The TimerLib instance must match the TimerLib the platform was built with. - # If the platform was built with more than one TimerLib type, then this utility - # will produce invalid results for any measurements done with a TimerLib instance - # that is different than the one below. - # - # TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf - TimerLib|PerformancePkg/Library/TscTimerLib/DxeTscTimerLib.inf - -[LibraryClasses.IPF] - PalLib|MdePkg/Library/UefiPalLib/UefiPalLib.inf - TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf - -[LibraryClasses.EBC] - TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf - [Components.IA32, Components.X64] PerformancePkg/Library/TscTimerLib/DxeTscTimerLib.inf PerformancePkg/Library/TscTimerLib/PeiTscTimerLib.inf -- 2.8.1.windows.1