summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Variable
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2015-06-08 09:35:53 +0000
committerlzeng14 <lzeng14@Edk2>2015-06-08 09:35:53 +0000
commit03e2cad6ddcaa628a4aa8110b30e01b52cd47378 (patch)
tree00829ad862056a8bfbaccd40126bc79e4cb27b17 /MdeModulePkg/Universal/Variable
parentc9210f63bbfdcab633b51437b33cd5d40e80b37d (diff)
downloadedk2-platforms-03e2cad6ddcaa628a4aa8110b30e01b52cd47378.tar.xz
MdeModulePkg 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@17577 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Variable')
-rw-r--r--MdeModulePkg/Universal/Variable/RuntimeDxe/VarCheck.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/VarCheck.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/VarCheck.c
index 01ca55a178..b2f5572327 100644
--- a/MdeModulePkg/Universal/Variable/RuntimeDxe/VarCheck.c
+++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/VarCheck.c
@@ -404,6 +404,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,
@@ -582,6 +593,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,