Qiu Shumin
2015-07-08 07:53:51 UTC
Add [Depex] section and update protocol usage.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <***@intel.com>
CC: Liming Gao <***@intel.com>
CC: "Yao, Jiewen" <***@intel.com>
---
MdePkg/Library/SmmMemLib/SmmMemLib.inf | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/MdePkg/Library/SmmMemLib/SmmMemLib.inf b/MdePkg/Library/SmmMemLib/SmmMemLib.inf
index 5531423..a9d47cc 100644
--- a/MdePkg/Library/SmmMemLib/SmmMemLib.inf
+++ b/MdePkg/Library/SmmMemLib/SmmMemLib.inf
@@ -49,4 +49,7 @@
MemoryAllocationLib
[Protocols]
- gEfiSmmAccess2ProtocolGuid ## SOMETIMES_CONSUMES
+ gEfiSmmAccess2ProtocolGuid ## CONSUMES
+
+[Depex]
+ gEfiSmmAccess2ProtocolGuid
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <***@intel.com>
CC: Liming Gao <***@intel.com>
CC: "Yao, Jiewen" <***@intel.com>
---
MdePkg/Library/SmmMemLib/SmmMemLib.inf | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/MdePkg/Library/SmmMemLib/SmmMemLib.inf b/MdePkg/Library/SmmMemLib/SmmMemLib.inf
index 5531423..a9d47cc 100644
--- a/MdePkg/Library/SmmMemLib/SmmMemLib.inf
+++ b/MdePkg/Library/SmmMemLib/SmmMemLib.inf
@@ -49,4 +49,7 @@
MemoryAllocationLib
[Protocols]
- gEfiSmmAccess2ProtocolGuid ## SOMETIMES_CONSUMES
+ gEfiSmmAccess2ProtocolGuid ## CONSUMES
+
+[Depex]
+ gEfiSmmAccess2ProtocolGuid
--
1.9.5.msysgit.1
1.9.5.msysgit.1