public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] SecurityPkg: SmmTcg2PhysicalPresenceLib: Fix GCC build failure
@ 2016-10-10  8:44 Zhang, Chao B
  2016-10-10  8:45 ` Gao, Liming
  2016-10-10  8:47 ` Long, Qin
  0 siblings, 2 replies; 3+ messages in thread
From: Zhang, Chao B @ 2016-10-10  8:44 UTC (permalink / raw)
  To: edk2-devel; +Cc: qin.long, liming.gao, Chao Zhang

GCC is case sensitive. Also add BaseMemoryLib in INF.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
---
 .../Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c    | 2 +-
 .../Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf  | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c
index 8fcce74..c03b42b 100644
--- a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c
+++ b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c
@@ -28,7 +28,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Protocol/SmmVariable.h>
 
 #include <Library/DebugLib.h>
-#include <Library/BaseMemorylib.h>
+#include <Library/BaseMemoryLib.h>
 #include <Library/Tcg2PpVendorLib.h>
 #include <Library/SmmServicesTableLib.h>
 
diff --git a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf
index a351dcb..5fa84b1 100644
--- a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf
+++ b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf
@@ -45,7 +45,8 @@
   DebugLib
   Tcg2PpVendorLib
   SmmServicesTableLib
-  
+  BaseMemoryLib
+
 [Guids]
   ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresence"
   ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresence"
-- 
1.9.5.msysgit.1



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

* Re: [PATCH] SecurityPkg: SmmTcg2PhysicalPresenceLib: Fix GCC build failure
  2016-10-10  8:44 [PATCH] SecurityPkg: SmmTcg2PhysicalPresenceLib: Fix GCC build failure Zhang, Chao B
@ 2016-10-10  8:45 ` Gao, Liming
  2016-10-10  8:47 ` Long, Qin
  1 sibling, 0 replies; 3+ messages in thread
From: Gao, Liming @ 2016-10-10  8:45 UTC (permalink / raw)
  To: Zhang, Chao B, edk2-devel@lists.01.org; +Cc: Long, Qin

Reviewed-by: Liming Gao <liming.gao@intel.com>

> -----Original Message-----
> From: Zhang, Chao B
> Sent: Monday, October 10, 2016 4:45 PM
> To: edk2-devel@lists.01.org
> Cc: Long, Qin <qin.long@intel.com>; Gao, Liming <liming.gao@intel.com>;
> Zhang, Chao B <chao.b.zhang@intel.com>
> Subject: [PATCH] SecurityPkg: SmmTcg2PhysicalPresenceLib: Fix GCC build
> failure
> 
> GCC is case sensitive. Also add BaseMemoryLib in INF.
> 
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
> ---
>  .../Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c    |
> 2 +-
>  .../Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf  |
> 3 ++-
>  2 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git
> a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese
> nceLib.c
> b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese
> nceLib.c
> index 8fcce74..c03b42b 100644
> ---
> a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese
> nceLib.c
> +++
> b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese
> nceLib.c
> @@ -28,7 +28,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY
> KIND, EITHER EXPRESS OR IMPLIED.
>  #include <Protocol/SmmVariable.h>
> 
>  #include <Library/DebugLib.h>
> -#include <Library/BaseMemorylib.h>
> +#include <Library/BaseMemoryLib.h>
>  #include <Library/Tcg2PpVendorLib.h>
>  #include <Library/SmmServicesTableLib.h>
> 
> diff --git
> a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese
> nceLib.inf
> b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese
> nceLib.inf
> index a351dcb..5fa84b1 100644
> ---
> a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese
> nceLib.inf
> +++
> b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese
> nceLib.inf
> @@ -45,7 +45,8 @@
>    DebugLib
>    Tcg2PpVendorLib
>    SmmServicesTableLib
> -
> +  BaseMemoryLib
> +
>  [Guids]
>    ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresence"
>    ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresence"
> --
> 1.9.5.msysgit.1



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

* Re: [PATCH] SecurityPkg: SmmTcg2PhysicalPresenceLib: Fix GCC build failure
  2016-10-10  8:44 [PATCH] SecurityPkg: SmmTcg2PhysicalPresenceLib: Fix GCC build failure Zhang, Chao B
  2016-10-10  8:45 ` Gao, Liming
@ 2016-10-10  8:47 ` Long, Qin
  1 sibling, 0 replies; 3+ messages in thread
From: Long, Qin @ 2016-10-10  8:47 UTC (permalink / raw)
  To: Zhang, Chao B, edk2-devel@lists.01.org; +Cc: Gao, Liming

Reviewed-by: Qin Long <qin.long@intel.com>


> -----Original Message-----
> From: Zhang, Chao B
> Sent: Monday, October 10, 2016 4:45 PM
> To: edk2-devel@lists.01.org
> Cc: Long, Qin; Gao, Liming; Zhang, Chao B
> Subject: [PATCH] SecurityPkg: SmmTcg2PhysicalPresenceLib: Fix GCC build
> failure
> 
> GCC is case sensitive. Also add BaseMemoryLib in INF.
> 
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
> ---
>  .../Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c    |
> 2 +-
>  .../Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf  |
> 3 ++-
>  2 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git
> a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese
> nceLib.c
> b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese
> nceLib.c
> index 8fcce74..c03b42b 100644
> ---
> a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese
> nceLib.c
> +++
> b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese
> nceLib.c
> @@ -28,7 +28,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY
> KIND, EITHER EXPRESS OR IMPLIED.
>  #include <Protocol/SmmVariable.h>
> 
>  #include <Library/DebugLib.h>
> -#include <Library/BaseMemorylib.h>
> +#include <Library/BaseMemoryLib.h>
>  #include <Library/Tcg2PpVendorLib.h>
>  #include <Library/SmmServicesTableLib.h>
> 
> diff --git
> a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese
> nceLib.inf
> b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese
> nceLib.inf
> index a351dcb..5fa84b1 100644
> ---
> a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese
> nceLib.inf
> +++
> b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPrese
> nceLib.inf
> @@ -45,7 +45,8 @@
>    DebugLib
>    Tcg2PpVendorLib
>    SmmServicesTableLib
> -
> +  BaseMemoryLib
> +
>  [Guids]
>    ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresence"
>    ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresence"
> --
> 1.9.5.msysgit.1



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

end of thread, other threads:[~2016-10-10  8:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-10  8:44 [PATCH] SecurityPkg: SmmTcg2PhysicalPresenceLib: Fix GCC build failure Zhang, Chao B
2016-10-10  8:45 ` Gao, Liming
2016-10-10  8:47 ` Long, Qin

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