[edk2,v2,16/17] MdeModulePkg/VarCheckLib: add MM_STANDALONE support

Message ID 20190114132758.24054-17-ard.biesheuvel@linaro.org
State Accepted
Commit 9b24a7dfcb092e8aca54a5ac9d47f114f50c4e4f
Headers show
Series
  • implement standalone MM versions of the variable runtime drivers
Related show

Commit Message

Ard Biesheuvel Jan. 14, 2019, 1:27 p.m.
Add MM_STANDALONE to the list of permitted module types of the
VarCheckLib library implementation.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
 MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1

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

Comments

Zeng, Star Jan. 16, 2019, 5:03 a.m. | #1
On 2019/1/14 21:27, Ard Biesheuvel wrote:
> Add MM_STANDALONE to the list of permitted module types of the

> VarCheckLib library implementation.

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>


Reviewed-by: Star Zeng <star.zeng@intel.com>


> ---

>   MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf | 2 +-

>   1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf b/MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf

> index 099f83dd6aee..b1041c290df9 100644

> --- a/MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf

> +++ b/MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf

> @@ -21,7 +21,7 @@ [Defines]

>     FILE_GUID                      = 63E12D08-0C5D-47F8-95E4-09F89D7506C5

>     MODULE_TYPE                    = DXE_RUNTIME_DRIVER

>     VERSION_STRING                 = 1.0

> -  LIBRARY_CLASS                  = VarCheckLib|DXE_RUNTIME_DRIVER DXE_SMM_DRIVER

> +  LIBRARY_CLASS                  = VarCheckLib|DXE_RUNTIME_DRIVER DXE_SMM_DRIVER MM_STANDALONE

>   

>   #

>   # The following information is for reference only and not required by the build tools.

> 


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

Patch

diff --git a/MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf b/MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
index 099f83dd6aee..b1041c290df9 100644
--- a/MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
+++ b/MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
@@ -21,7 +21,7 @@  [Defines]
   FILE_GUID                      = 63E12D08-0C5D-47F8-95E4-09F89D7506C5
   MODULE_TYPE                    = DXE_RUNTIME_DRIVER
   VERSION_STRING                 = 1.0
-  LIBRARY_CLASS                  = VarCheckLib|DXE_RUNTIME_DRIVER DXE_SMM_DRIVER
+  LIBRARY_CLASS                  = VarCheckLib|DXE_RUNTIME_DRIVER DXE_SMM_DRIVER MM_STANDALONE
 
 #
 # The following information is for reference only and not required by the build tools.