From nobody Wed Dec 25 01:43:51 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1511943287343254.29145651258477; Wed, 29 Nov 2017 00:14:47 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 7901A203564D4; Wed, 29 Nov 2017 00:10:22 -0800 (PST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 BEAE421A04E2F for ; Wed, 29 Nov 2017 00:10:19 -0800 (PST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Nov 2017 00:14:43 -0800 Received: from ray-dev.ccr.corp.intel.com ([10.239.9.50]) by fmsmga005.fm.intel.com with ESMTP; 29 Nov 2017 00:14:43 -0800 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=ruiyu.ni@intel.com; receiver=edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,471,1505804400"; d="scan'208";a="181462279" From: Ruiyu Ni To: edk2-devel@lists.01.org Date: Wed, 29 Nov 2017 16:14:38 +0800 Message-Id: <20171129081439.278964-2-ruiyu.ni@intel.com> X-Mailer: git-send-email 2.15.0.gvfs.1.preview.4 In-Reply-To: <20171129081439.278964-1-ruiyu.ni@intel.com> References: <20171129081439.278964-1-ruiyu.ni@intel.com> Subject: [edk2] [PATCH 1/2] Vlv2TbltDevicePkg: Use DpDynamicCommand to replace PerformancePkg/dp X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David David MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni Cc: David David Reviewed-by: zwei4 =20 --- Vlv2TbltDevicePkg/PlatformPkg.fdf | 9 +++++++-- Vlv2TbltDevicePkg/PlatformPkgGcc.fdf | 9 +++++++-- Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc | 18 +++++++++++------- Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | 18 +++++++++++------- Vlv2TbltDevicePkg/PlatformPkgX64.dsc | 18 +++++++++++------- 5 files changed, 47 insertions(+), 25 deletions(-) diff --git a/Vlv2TbltDevicePkg/PlatformPkg.fdf b/Vlv2TbltDevicePkg/Platform= Pkg.fdf index cb5b6b7cc3..5ed85f4dee 100644 --- a/Vlv2TbltDevicePkg/PlatformPkg.fdf +++ b/Vlv2TbltDevicePkg/PlatformPkg.fdf @@ -1,7 +1,7 @@ #/** @file # FDF file of Platform. # -# Copyright (c) 2008 - 2016, Intel Corporation. All rights reserved.
+# Copyright (c) 2008 - 2017, Intel Corporation. All rights reserved.
# # This program and the accompanying materials are licensed and made availa= ble under # the terms and conditions of the BSD License that accompanies this distri= bution. @@ -716,7 +716,12 @@ [FV.FVMAIN] SECTION PE32 =3D ShellBinPkg/UefiShell/$(EDK_DXE_ARCHITECTURE)/Shell.e= fi } =20 - +# +# dp command +# +!if $(PERFORMANCE_ENABLE) =3D=3D TRUE +INF ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf +!endif =20 !if $(GOP_DRIVER_ENABLE) =3D=3D TRUE FILE FREEFORM =3D 878AC2CC-5343-46F2-B563-51F89DAF56BA { diff --git a/Vlv2TbltDevicePkg/PlatformPkgGcc.fdf b/Vlv2TbltDevicePkg/Platf= ormPkgGcc.fdf index 4243b0797b..a02a4f6286 100644 --- a/Vlv2TbltDevicePkg/PlatformPkgGcc.fdf +++ b/Vlv2TbltDevicePkg/PlatformPkgGcc.fdf @@ -1,7 +1,7 @@ #/** @file # FDF file of Platform. # -# Copyright (c) 2008 - 2016, Intel Corporation. All rights reserved.
+# Copyright (c) 2008 - 2017, Intel Corporation. All rights reserved.
# # This program and the accompanying materials are licensed and made availa= ble under # the terms and conditions of the BSD License that accompanies this distri= bution. @@ -673,7 +673,12 @@ [FV.FVMAIN] SECTION PE32 =3D EdkShellBinPkg/MinimumShell/$(EDK_DXE_ARCHITECTURE)/Sh= ell.efi } =20 - +# +# dp command +# +!if $(PERFORMANCE_ENABLE) =3D=3D TRUE +INF ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf +!endif =20 !if $(GOP_DRIVER_ENABLE) =3D=3D TRUE FILE FREEFORM =3D 878AC2CC-5343-46F2-B563-51F89DAF56BA { diff --git a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc b/Vlv2TbltDevicePkg/Pl= atformPkgGccX64.dsc index d773cbd726..f98263d8a5 100644 --- a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc +++ b/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc @@ -1,7 +1,7 @@ #/** @file # Platform description. # -# Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.
+# Copyright (c) 2012 - 2017, Intel Corporation. All rights reserved.
# # This program and the accompanying materials are licensed and made availa= ble under # the terms and conditions of the BSD License that accompanies this distri= bution. @@ -1279,13 +1279,17 @@ [Components.X64] =20 IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.inf =20 - PerformancePkg/Dp_App/Dp.inf { - - !if $(PERFORMANCE_ENABLE) =3D=3D TRUE - PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLi= b.inf - TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpi= TimerLib.inf - !endif + # + # Performance Application; Set PERFORMANCE_ENABLE=3DTRUE for normal boot= performance and smm performance data + # +!if $(PERFORMANCE_ENABLE) =3D=3D TRUE + ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf { + + gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE + + PerformanceLib|MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerfo= rmanceLib.inf } +!endif =20 Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{ diff --git a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc b/Vlv2TbltDevicePkg/Plat= formPkgIA32.dsc index ac52340079..c755df2fe2 100644 --- a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc +++ b/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc @@ -1,7 +1,7 @@ #/** @file # Platform description. # -# Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.
+# Copyright (c) 2012 - 2017, Intel Corporation. All rights reserved.
# # This program and the accompanying materials are licensed and made availa= ble under # the terms and conditions of the BSD License that accompanies this distri= bution. @@ -1267,13 +1267,17 @@ [Components.IA32] =20 IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.inf =20 - PerformancePkg/Dp_App/Dp.inf { - - !if $(PERFORMANCE_ENABLE) =3D=3D TRUE - PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLi= b.inf - TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpi= TimerLib.inf - !endif + # + # Performance Application; Set PERFORMANCE_ENABLE=3DTRUE for normal boot= performance and smm performance data + # +!if $(PERFORMANCE_ENABLE) =3D=3D TRUE + ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf { + + gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE + + PerformanceLib|MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerfo= rmanceLib.inf } +!endif =20 Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{ diff --git a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc b/Vlv2TbltDevicePkg/Platf= ormPkgX64.dsc index 0f0eaaba6c..dda8216e6a 100644 --- a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc +++ b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc @@ -1,7 +1,7 @@ #/** @file # Platform description. # -# Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.
+# Copyright (c) 2012 - 2017, Intel Corporation. All rights reserved.
# # This program and the accompanying materials are licensed and made availa= ble under # the terms and conditions of the BSD License that accompanies this distri= bution. @@ -1279,13 +1279,17 @@ [Components.X64] =20 IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.inf =20 - PerformancePkg/Dp_App/Dp.inf { - - !if $(PERFORMANCE_ENABLE) =3D=3D TRUE - PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLi= b.inf - TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpi= TimerLib.inf - !endif + # + # Performance Application; Set PERFORMANCE_ENABLE=3DTRUE for normal boot= performance and smm performance data + # +!if $(PERFORMANCE_ENABLE) =3D=3D TRUE + ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf { + + gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE + + PerformanceLib|MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerfo= rmanceLib.inf } +!endif =20 Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{ --=20 2.15.0.gvfs.1.preview.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel