summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2018-07-02 11:16:22 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2018-07-03 14:39:57 +0800
commitc0bf47682d6bcecc3889ff849c81cc06a22debc4 (patch)
tree0d0b28cbc687d67c0b08646d5b29dcab57d20080
parent93f5a54ff3386a44b08de22e9b9230e3ed92b90c (diff)
downloadedk2-c0bf47682d6bcecc3889ff849c81cc06a22debc4.tar.gz
edk2-c0bf47682d6bcecc3889ff849c81cc06a22debc4.tar.bz2
edk2-c0bf47682d6bcecc3889ff849c81cc06a22debc4.zip
MdeModulePkg/[Pei|Dxe]ResetSystemLib: Add PPI/Protocol dependency
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
-rw-r--r--MdeModulePkg/Library/DxeResetSystemLib/DxeResetSystemLib.inf3
-rw-r--r--MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.inf2
2 files changed, 5 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/DxeResetSystemLib/DxeResetSystemLib.inf b/MdeModulePkg/Library/DxeResetSystemLib/DxeResetSystemLib.inf
index 5cd52d8859..e25c3e7d55 100644
--- a/MdeModulePkg/Library/DxeResetSystemLib/DxeResetSystemLib.inf
+++ b/MdeModulePkg/Library/DxeResetSystemLib/DxeResetSystemLib.inf
@@ -36,3 +36,6 @@
[LibraryClasses]
UefiRuntimeServicesTableLib
+
+[Depex]
+ gEfiResetArchProtocolGuid
diff --git a/MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.inf b/MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.inf
index b1b9388c63..5af03f305c 100644
--- a/MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.inf
+++ b/MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.inf
@@ -37,3 +37,5 @@
[LibraryClasses]
PeiServicesLib
+[Depex]
+ gEfiPeiReset2PpiGuid