public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/3] DP: Fix GCC build failure
@ 2017-02-24  2:10 Star Zeng
  2017-02-24  2:10 ` [PATCH 1/3] MdeModulePkg PerformanceLib: Fix GCC build failure caused by cfb0aba Star Zeng
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Star Zeng @ 2017-02-24  2:10 UTC (permalink / raw)
  To: edk2-devel; +Cc: Star Zeng

Fix GCC build failure caused by "Remove TimerLib dependency from DP" patch series.

Star Zeng (3):
  MdeModulePkg PerformanceLib: Fix GCC build failure caused by cfb0aba
  PerformancePkg Dp_App: Fixed GCC build failure caused by 1393510
  ShellPkg UefiDpLib: Fixed GCC build failure caused by ef22403

 MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c | 2 +-
 MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c | 4 ++--
 PerformancePkg/Dp_App/Dp.c                                         | 2 +-
 ShellPkg/Library/UefiDpLib/Dp.c                                    | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

-- 
2.7.0.windows.1



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

* [PATCH 1/3] MdeModulePkg PerformanceLib: Fix GCC build failure caused by cfb0aba
  2017-02-24  2:10 [PATCH 0/3] DP: Fix GCC build failure Star Zeng
@ 2017-02-24  2:10 ` Star Zeng
  2017-02-24  2:10 ` [PATCH 2/3] PerformancePkg Dp_App: Fixed GCC build failure caused by 1393510 Star Zeng
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Star Zeng @ 2017-02-24  2:10 UTC (permalink / raw)
  To: edk2-devel
  Cc: Star Zeng, Ard Biesheuvel, Liming Gao, Feng Tian,
	Michael D Kinney

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
---
 MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c | 2 +-
 MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c
index 1564514518d3..51f488af6c14 100644
--- a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c
+++ b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c
@@ -535,7 +535,7 @@ DxeCorePerformanceLibConstructor (
 
   InternalGetPeiPerformance ();
 
-  Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, &PerformanceProperty);
+  Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, (VOID **) &PerformanceProperty);
   if (EFI_ERROR (Status)) {
     //
     // Install configuration table for performance property.
diff --git a/MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c b/MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c
index a03a8c8dcc46..cd1f1a5d5f66 100644
--- a/MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c
+++ b/MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c
@@ -16,7 +16,7 @@
 
  SmmPerformanceHandlerEx(), SmmPerformanceHandler() will receive untrusted input and do basic validation.
 
-Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2011 - 2017, 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.  The full text of the license may be found at
@@ -729,7 +729,7 @@ InitializeSmmCorePerformanceLib (
   Status = gSmst->SmiHandlerRegister (SmmPerformanceHandlerEx, &gSmmPerformanceExProtocolGuid, &Handle);
   ASSERT_EFI_ERROR (Status);
 
-  Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, &PerformanceProperty);
+  Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, (VOID **) &PerformanceProperty);
   if (EFI_ERROR (Status)) {
     //
     // Install configuration table for performance property.
-- 
2.7.0.windows.1



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

* [PATCH 2/3] PerformancePkg Dp_App: Fixed GCC build failure caused by 1393510
  2017-02-24  2:10 [PATCH 0/3] DP: Fix GCC build failure Star Zeng
  2017-02-24  2:10 ` [PATCH 1/3] MdeModulePkg PerformanceLib: Fix GCC build failure caused by cfb0aba Star Zeng
@ 2017-02-24  2:10 ` Star Zeng
  2017-02-24  2:10 ` [PATCH 3/3] ShellPkg UefiDpLib: Fixed GCC build failure caused by ef22403 Star Zeng
  2017-02-24  2:43 ` [PATCH 0/3] DP: Fix GCC build failure Gao, Liming
  3 siblings, 0 replies; 6+ messages in thread
From: Star Zeng @ 2017-02-24  2:10 UTC (permalink / raw)
  To: edk2-devel; +Cc: Star Zeng, Michael Kinney, Liming Gao, Jaben Carsey

Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
---
 PerformancePkg/Dp_App/Dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PerformancePkg/Dp_App/Dp.c b/PerformancePkg/Dp_App/Dp.c
index 389f3681e9f9..e2cb862364ab 100644
--- a/PerformancePkg/Dp_App/Dp.c
+++ b/PerformancePkg/Dp_App/Dp.c
@@ -399,7 +399,7 @@ InitializeDp (
       //    StartCount = Value loaded into the counter when it starts counting
       //      EndCount = Value counter counts to before it needs to be reset
       //
-      Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, &PerformanceProperty);
+      Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, (VOID **) &PerformanceProperty);
       if (EFI_ERROR (Status)) {
         PrintToken (STRING_TOKEN (STR_PERF_PROPERTY_NOT_FOUND));
         goto Done;
-- 
2.7.0.windows.1



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

* [PATCH 3/3] ShellPkg UefiDpLib: Fixed GCC build failure caused by ef22403
  2017-02-24  2:10 [PATCH 0/3] DP: Fix GCC build failure Star Zeng
  2017-02-24  2:10 ` [PATCH 1/3] MdeModulePkg PerformanceLib: Fix GCC build failure caused by cfb0aba Star Zeng
  2017-02-24  2:10 ` [PATCH 2/3] PerformancePkg Dp_App: Fixed GCC build failure caused by 1393510 Star Zeng
@ 2017-02-24  2:10 ` Star Zeng
  2017-02-24  4:06   ` Ni, Ruiyu
  2017-02-24  2:43 ` [PATCH 0/3] DP: Fix GCC build failure Gao, Liming
  3 siblings, 1 reply; 6+ messages in thread
From: Star Zeng @ 2017-02-24  2:10 UTC (permalink / raw)
  To: edk2-devel; +Cc: Star Zeng, Michael Kinney, Liming Gao, Jaben Carsey, Ruiyu Ni

Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
---
 ShellPkg/Library/UefiDpLib/Dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ShellPkg/Library/UefiDpLib/Dp.c b/ShellPkg/Library/UefiDpLib/Dp.c
index 444c136ab188..33f69a0c145a 100644
--- a/ShellPkg/Library/UefiDpLib/Dp.c
+++ b/ShellPkg/Library/UefiDpLib/Dp.c
@@ -271,7 +271,7 @@ ShellCommandRunDp (
   //    StartCount = Value loaded into the counter when it starts counting
   //      EndCount = Value counter counts to before it needs to be reset
   //
-  Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, &PerformanceProperty);
+  Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, (VOID **) &PerformanceProperty);
   if (EFI_ERROR (Status)) {
     ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_PERF_PROPERTY_NOT_FOUND), gDpHiiHandle);
     goto Done;
-- 
2.7.0.windows.1



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

* Re: [PATCH 0/3] DP: Fix GCC build failure
  2017-02-24  2:10 [PATCH 0/3] DP: Fix GCC build failure Star Zeng
                   ` (2 preceding siblings ...)
  2017-02-24  2:10 ` [PATCH 3/3] ShellPkg UefiDpLib: Fixed GCC build failure caused by ef22403 Star Zeng
@ 2017-02-24  2:43 ` Gao, Liming
  3 siblings, 0 replies; 6+ messages in thread
From: Gao, Liming @ 2017-02-24  2:43 UTC (permalink / raw)
  To: Zeng, Star, edk2-devel@lists.01.org; +Cc: Zeng, Star

Reviewed-by: Liming Gao <liming.gao@intel.com>
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Star Zeng
Sent: Friday, February 24, 2017 10:10 AM
To: edk2-devel@lists.01.org
Cc: Zeng, Star <star.zeng@intel.com>
Subject: [edk2] [PATCH 0/3] DP: Fix GCC build failure

Fix GCC build failure caused by "Remove TimerLib dependency from DP" patch series.

Star Zeng (3):
  MdeModulePkg PerformanceLib: Fix GCC build failure caused by cfb0aba
  PerformancePkg Dp_App: Fixed GCC build failure caused by 1393510
  ShellPkg UefiDpLib: Fixed GCC build failure caused by ef22403

 MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c | 2 +-
 MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c | 4 ++--
 PerformancePkg/Dp_App/Dp.c                                         | 2 +-
 ShellPkg/Library/UefiDpLib/Dp.c                                    | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

-- 
2.7.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


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

* Re: [PATCH 3/3] ShellPkg UefiDpLib: Fixed GCC build failure caused by ef22403
  2017-02-24  2:10 ` [PATCH 3/3] ShellPkg UefiDpLib: Fixed GCC build failure caused by ef22403 Star Zeng
@ 2017-02-24  4:06   ` Ni, Ruiyu
  0 siblings, 0 replies; 6+ messages in thread
From: Ni, Ruiyu @ 2017-02-24  4:06 UTC (permalink / raw)
  To: Zeng, Star, edk2-devel@lists.01.org
  Cc: Kinney, Michael D, Gao, Liming, Carsey, Jaben

Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>

Regards,
Ray

>-----Original Message-----
>From: Zeng, Star
>Sent: Friday, February 24, 2017 10:10 AM
>To: edk2-devel@lists.01.org
>Cc: Zeng, Star <star.zeng@intel.com>; Kinney, Michael D <michael.d.kinney@intel.com>; Gao, Liming
><liming.gao@intel.com>; Carsey, Jaben <jaben.carsey@intel.com>; Ni, Ruiyu <ruiyu.ni@intel.com>
>Subject: [PATCH 3/3] ShellPkg UefiDpLib: Fixed GCC build failure caused by ef22403
>
>Cc: Michael Kinney <michael.d.kinney@intel.com>
>Cc: Liming Gao <liming.gao@intel.com>
>Cc: Jaben Carsey <jaben.carsey@intel.com>
>Cc: Ruiyu Ni <ruiyu.ni@intel.com>
>Contributed-under: TianoCore Contribution Agreement 1.0
>Signed-off-by: Star Zeng <star.zeng@intel.com>
>---
> ShellPkg/Library/UefiDpLib/Dp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/ShellPkg/Library/UefiDpLib/Dp.c b/ShellPkg/Library/UefiDpLib/Dp.c
>index 444c136ab188..33f69a0c145a 100644
>--- a/ShellPkg/Library/UefiDpLib/Dp.c
>+++ b/ShellPkg/Library/UefiDpLib/Dp.c
>@@ -271,7 +271,7 @@ ShellCommandRunDp (
>   //    StartCount = Value loaded into the counter when it starts counting
>   //      EndCount = Value counter counts to before it needs to be reset
>   //
>-  Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, &PerformanceProperty);
>+  Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, (VOID **) &PerformanceProperty);
>   if (EFI_ERROR (Status)) {
>     ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_PERF_PROPERTY_NOT_FOUND), gDpHiiHandle);
>     goto Done;
>--
>2.7.0.windows.1



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

end of thread, other threads:[~2017-02-24  4:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-24  2:10 [PATCH 0/3] DP: Fix GCC build failure Star Zeng
2017-02-24  2:10 ` [PATCH 1/3] MdeModulePkg PerformanceLib: Fix GCC build failure caused by cfb0aba Star Zeng
2017-02-24  2:10 ` [PATCH 2/3] PerformancePkg Dp_App: Fixed GCC build failure caused by 1393510 Star Zeng
2017-02-24  2:10 ` [PATCH 3/3] ShellPkg UefiDpLib: Fixed GCC build failure caused by ef22403 Star Zeng
2017-02-24  4:06   ` Ni, Ruiyu
2017-02-24  2:43 ` [PATCH 0/3] DP: Fix GCC build failure Gao, Liming

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