diff options
author | Star Zeng <star.zeng@intel.com> | 2015-06-08 09:36:20 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@Edk2> | 2015-06-08 09:36:20 +0000 |
commit | f5e9390ef2b32749970f907bbf75f8500d994f2d (patch) | |
tree | 8fd5d22d4cf7b63ba75b6edcf17e57a3755d9b96 /SecurityPkg/VariableAuthenticated | |
parent | 03e2cad6ddcaa628a4aa8110b30e01b52cd47378 (diff) | |
download | edk2-f5e9390ef2b32749970f907bbf75f8500d994f2d.tar.gz edk2-f5e9390ef2b32749970f907bbf75f8500d994f2d.tar.bz2 edk2-f5e9390ef2b32749970f907bbf75f8500d994f2d.zip |
SecurityPkg Variable: Add SysPrepOrder and SysPrep#### to global list.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17578 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/VariableAuthenticated')
-rw-r--r-- | SecurityPkg/VariableAuthenticated/RuntimeDxe/VarCheck.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/SecurityPkg/VariableAuthenticated/RuntimeDxe/VarCheck.c b/SecurityPkg/VariableAuthenticated/RuntimeDxe/VarCheck.c index da834e15d0..740632f288 100644 --- a/SecurityPkg/VariableAuthenticated/RuntimeDxe/VarCheck.c +++ b/SecurityPkg/VariableAuthenticated/RuntimeDxe/VarCheck.c @@ -405,6 +405,17 @@ UEFI_DEFINED_VARIABLE_ENTRY mGlobalVariableList[] = { InternalVarCheckSizeArray
},
{
+ EFI_SYS_PREP_ORDER_VARIABLE_NAME,
+ {
+ VAR_CHECK_VARIABLE_PROPERTY_REVISION,
+ 0,
+ VARIABLE_ATTRIBUTE_NV_BS_RT,
+ sizeof (UINT16),
+ MAX_UINTN
+ },
+ InternalVarCheckSizeArray
+ },
+ {
EFI_HW_ERR_REC_SUPPORT_VARIABLE_NAME,
{
VAR_CHECK_VARIABLE_PROPERTY_REVISION,
@@ -583,6 +594,17 @@ UEFI_DEFINED_VARIABLE_ENTRY mGlobalVariableList2[] = { InternalVarCheckLoadOption
},
{
+ L"SysPrep####",
+ {
+ VAR_CHECK_VARIABLE_PROPERTY_REVISION,
+ 0,
+ VARIABLE_ATTRIBUTE_NV_BS_RT,
+ sizeof (UINT32) + sizeof (UINT16),
+ MAX_UINTN
+ },
+ InternalVarCheckLoadOption
+ },
+ {
L"Key####",
{
VAR_CHECK_VARIABLE_PROPERTY_REVISION,
|