public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH edk2-platforms\devel-MinPlatform] MinPlatformPkg: Update PerformanceLib instance for UEFI_APPLICATION
@ 2018-07-09  3:05 Hao Wu
  2018-07-09  5:26 ` Yao, Jiewen
  0 siblings, 1 reply; 2+ messages in thread
From: Hao Wu @ 2018-07-09  3:05 UTC (permalink / raw)
  To: edk2-devel; +Cc: Hao Wu, Jiewen Yao

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH edk2-platforms\devel-MinPlatform] MinPlatformPkg: Update PerformanceLib instance for UEFI_APPLICATION
  2018-07-09  3:05 [PATCH edk2-platforms\devel-MinPlatform] MinPlatformPkg: Update PerformanceLib instance for UEFI_APPLICATION Hao Wu
@ 2018-07-09  5:26 ` Yao, Jiewen
  0 siblings, 0 replies; 2+ messages in thread
From: Yao, Jiewen @ 2018-07-09  5:26 UTC (permalink / raw)
  To: Wu, Hao A; +Cc: edk2-devel@lists.01.org

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
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-09  5:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-09  3:05 [PATCH edk2-platforms\devel-MinPlatform] MinPlatformPkg: Update PerformanceLib instance for UEFI_APPLICATION Hao Wu
2018-07-09  5:26 ` Yao, Jiewen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox