]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/MdeModulePkg.dsc
MdeModulePkg: Add AuthVariableLib LibraryClass
authorStar Zeng <star.zeng@intel.com>
Wed, 1 Jul 2015 03:04:18 +0000 (03:04 +0000)
committerlzeng14 <lzeng14@Edk2>
Wed, 1 Jul 2015 03:04:18 +0000 (03:04 +0000)
commitb6477d820b783d08c56a444905d1681de5c698b2
tree8ef0562a3ce4c8865749653e2ae295cabc289ac8
parent77ba12cc618cac1bf9b0200414828d6267791961
MdeModulePkg: Add AuthVariableLib LibraryClass

What to do:
1. Add AuthVariableLib LibraryClass definitions.
2. Implement a NULL AuthVariableLib library instance.
3. Add VARIABLE_ENTRY_PROPERTY definition to VarCheck.h.
4. Add VARIABLE_ENTRY_CONSISTENCY and variable attribute
combinations definitions to VariableFormat.h.

Why to do:
1. Share code.
1.1. Separate auth variable service from Auth Variable driver in
SecurityPkg to AuthVariableLib. Then the AuthVariableLib could benefit
and be used by different implementation of Auth Variable drivers.

1.2 The VARIABLE_ENTRY_PROPERTY definition to VarCheck.h,
VARIABLE_ENTRY_CONSISTENCY and variable attribute
combinations definitions to VariableFormat.h will be shared
by merged Variable driver and AuthVariableLib.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17757 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Include/Guid/VariableFormat.h
MdeModulePkg/Include/Library/AuthVariableLib.h [new file with mode: 0644]
MdeModulePkg/Include/Protocol/VarCheck.h
MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.c [new file with mode: 0644]
MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf [new file with mode: 0644]
MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.uni [new file with mode: 0644]
MdeModulePkg/MdeModulePkg.dec
MdeModulePkg/MdeModulePkg.dsc
MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.h