[edk2] [PATCH] Security Tcg2Smm: Add missing gEfiTcg2ProtocolGuid dependency

Star Zeng posted 1 patch 7 years, 8 months ago
Failed in applying to current master (apply log)
SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[edk2] [PATCH] Security Tcg2Smm: Add missing gEfiTcg2ProtocolGuid dependency
Posted by Star Zeng 7 years, 8 months ago
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=380

gEfiTcgProtocolGuid dependency was added in TcgSmm.
But gEfiTcg2ProtocolGuid dependency is missing in Tcg2Smm.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
---
 SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf b/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
index 70184740c49d..c4efa2a188ef 100644
--- a/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
+++ b/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
@@ -79,7 +79,8 @@ [Pcd]
 [Depex]
   gEfiAcpiTableProtocolGuid AND
   gEfiSmmSwDispatch2ProtocolGuid AND
-  gEfiSmmVariableProtocolGuid
+  gEfiSmmVariableProtocolGuid AND
+  gEfiTcg2ProtocolGuid
 
 [UserExtensions.TianoCore."ExtraFiles"]
   Tcg2SmmExtra.uni
-- 
2.7.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH] Security Tcg2Smm: Add missing gEfiTcg2ProtocolGuid dependency
Posted by Yao, Jiewen 7 years, 8 months ago
Reviewed-by: Jiewen.yao@intel.com

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Star
> Zeng
> Sent: Monday, February 20, 2017 2:16 PM
> To: edk2-devel@lists.01.org
> Cc: Yao, Jiewen <jiewen.yao@intel.com>; Zhang, Chao B
> <chao.b.zhang@intel.com>; Zeng, Star <star.zeng@intel.com>
> Subject: [edk2] [PATCH] Security Tcg2Smm: Add missing gEfiTcg2ProtocolGuid
> dependency
> 
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=380
> 
> gEfiTcgProtocolGuid dependency was added in TcgSmm.
> But gEfiTcg2ProtocolGuid dependency is missing in Tcg2Smm.
> 
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Chao Zhang <chao.b.zhang@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Star Zeng <star.zeng@intel.com>
> ---
>  SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
> b/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
> index 70184740c49d..c4efa2a188ef 100644
> --- a/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
> +++ b/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
> @@ -79,7 +79,8 @@ [Pcd]
>  [Depex]
>    gEfiAcpiTableProtocolGuid AND
>    gEfiSmmSwDispatch2ProtocolGuid AND
> -  gEfiSmmVariableProtocolGuid
> +  gEfiSmmVariableProtocolGuid AND
> +  gEfiTcg2ProtocolGuid
> 
>  [UserExtensions.TianoCore."ExtraFiles"]
>    Tcg2SmmExtra.uni
> --
> 2.7.0.windows.1
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH] Security Tcg2Smm: Add missing gEfiTcg2ProtocolGuid dependency
Posted by Zhang, Chao B 7 years, 8 months ago
Reviewed-by : Chao Zhang <chao.b.zhang@intel.com>

-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Star Zeng
Sent: Monday, February 20, 2017 2:16 PM
To: edk2-devel@lists.01.org
Cc: Yao, Jiewen <jiewen.yao@intel.com>; Zhang, Chao B <chao.b.zhang@intel.com>; Zeng, Star <star.zeng@intel.com>
Subject: [edk2] [PATCH] Security Tcg2Smm: Add missing gEfiTcg2ProtocolGuid dependency

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=380

gEfiTcgProtocolGuid dependency was added in TcgSmm.
But gEfiTcg2ProtocolGuid dependency is missing in Tcg2Smm.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
---
 SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf b/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
index 70184740c49d..c4efa2a188ef 100644
--- a/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
+++ b/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
@@ -79,7 +79,8 @@ [Pcd]
 [Depex]
   gEfiAcpiTableProtocolGuid AND
   gEfiSmmSwDispatch2ProtocolGuid AND
-  gEfiSmmVariableProtocolGuid
+  gEfiSmmVariableProtocolGuid AND
+  gEfiTcg2ProtocolGuid
 
 [UserExtensions.TianoCore."ExtraFiles"]
   Tcg2SmmExtra.uni
-- 
2.7.0.windows.1

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