[edk2,v2,15/17] MdeModulePkg/AuthVariableLibNull: add MM_STANDALONE support

Message ID 20190114132758.24054-16-ard.biesheuvel@linaro.org
State Accepted
Commit 55b52703fa76d1572e25705837fbe12a926d5ba0
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
AuthVariableLibNull library implementation.

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

---
 MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.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

> AuthVariableLibNull 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/AuthVariableLibNull/AuthVariableLibNull.inf | 2 +-

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

> 

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

> index 900fef5d4989..93f3e675a2ff 100644

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

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

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

>     FILE_GUID                      = 435CB0E4-7C9A-4BB7-9907-8FD4643E978A

>     MODULE_TYPE                    = DXE_RUNTIME_DRIVER

>     VERSION_STRING                 = 1.0

> -  LIBRARY_CLASS                  = AuthVariableLib|DXE_RUNTIME_DRIVER DXE_SMM_DRIVER

> +  LIBRARY_CLASS                  = AuthVariableLib|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/AuthVariableLibNull/AuthVariableLibNull.inf b/MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
index 900fef5d4989..93f3e675a2ff 100644
--- a/MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
+++ b/MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
@@ -21,7 +21,7 @@  [Defines]
   FILE_GUID                      = 435CB0E4-7C9A-4BB7-9907-8FD4643E978A
   MODULE_TYPE                    = DXE_RUNTIME_DRIVER
   VERSION_STRING                 = 1.0
-  LIBRARY_CLASS                  = AuthVariableLib|DXE_RUNTIME_DRIVER DXE_SMM_DRIVER
+  LIBRARY_CLASS                  = AuthVariableLib|DXE_RUNTIME_DRIVER DXE_SMM_DRIVER MM_STANDALONE
 
 #
 # The following information is for reference only and not required by the build tools.