[edk2] [PATCH edk2-platforms\devel-MinPlatform] MinPlatformPkg: Update PerformanceLib instance for UEFI_APPLICATION

Hao Wu posted 1 patch 5 years, 9 months ago
Failed in applying to current master (apply log)
Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[edk2] [PATCH edk2-platforms\devel-MinPlatform] MinPlatformPkg: Update PerformanceLib instance for UEFI_APPLICATION
Posted by Hao Wu 5 years, 9 months ago
Replace the to-be-deprecated PerformanceLib instance:
DxeSmmPerformanceLib

with:
DxePerformanceLib

for UEFI_APPLICATION.

Test performed:
MinPurley VS2015 build pass.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
---
 Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc b/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc
index 255a1c7ff3..1103572408 100644
--- a/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc
+++ b/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc
@@ -1,7 +1,7 @@
 ## @file
 #  Platform description.
 #
-# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR>
 #
 # This program and the accompanying materials are licensed and made available under
 # the terms and conditions of the BSD License which accompanies this distribution.
@@ -132,6 +132,6 @@
   SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
 
 !if gMinPlatformPkgTokenSpaceGuid.PcdPerformanceEnable == TRUE
-  PerformanceLib|MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf
+  PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
   TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
 !endif
-- 
2.12.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH edk2-platforms\devel-MinPlatform] MinPlatformPkg: Update PerformanceLib instance for UEFI_APPLICATION
Posted by Yao, Jiewen 5 years, 9 months ago
Reviewed by Jiewen.yao@intel.com

thank you!
Yao, Jiewen


> 在 2018年7月8日,下午7:05,Wu, Hao A <hao.a.wu@intel.com> 写道:
> 
> Replace the to-be-deprecated PerformanceLib instance:
> DxeSmmPerformanceLib
> 
> with:
> DxePerformanceLib
> 
> for UEFI_APPLICATION.
> 
> Test performed:
> MinPurley VS2015 build pass.
> 
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Hao Wu <hao.a.wu@intel.com>
> ---
> Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc b/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc
> index 255a1c7ff3..1103572408 100644
> --- a/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc
> +++ b/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc
> @@ -1,7 +1,7 @@
> ## @file
> #  Platform description.
> #
> -# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
> +# Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR>
> #
> # This program and the accompanying materials are licensed and made available under
> # the terms and conditions of the BSD License which accompanies this distribution.
> @@ -132,6 +132,6 @@
>   SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
> 
> !if gMinPlatformPkgTokenSpaceGuid.PcdPerformanceEnable == TRUE
> -  PerformanceLib|MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf
> +  PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
>   TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
> !endif
> -- 
> 2.12.0.windows.1
> 
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel