diff options
author | Star Zeng <star.zeng@intel.com> | 2015-01-27 08:44:10 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@Edk2> | 2015-01-27 08:44:10 +0000 |
commit | 952ba83c4781c7e7fff74fc32fd840a86731d8f6 (patch) | |
tree | b90246a742c82a10a27ef525ad03b14a736efb6f /SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableDxe.c | |
parent | 4edb18663fef14ef4c54f985a21d3faacec5d499 (diff) | |
download | edk2-platforms-952ba83c4781c7e7fff74fc32fd840a86731d8f6.tar.xz |
SecurityPkg Variable: Implement variable quota management.
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@16670 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableDxe.c')
-rw-r--r-- | SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableDxe.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableDxe.c b/SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableDxe.c index a1352510eb..375a604df2 100644 --- a/SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableDxe.c +++ b/SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableDxe.c @@ -286,6 +286,10 @@ OnReadyToBoot ( // Set the End Of DXE bit in case the EFI_END_OF_DXE_EVENT_GROUP_GUID event is not signaled.
//
mEndOfDxe = TRUE;
+ //
+ // The initialization for variable quota.
+ //
+ InitializeVariableQuota ();
ReclaimForOS ();
if (FeaturePcdGet (PcdVariableCollectStatistics)) {
gBS->InstallConfigurationTable (&gEfiAuthenticatedVariableGuid, gVariableInfo);
@@ -309,6 +313,10 @@ OnEndOfDxe ( )
{
mEndOfDxe = TRUE;
+ //
+ // The initialization for variable quota.
+ //
+ InitializeVariableQuota ();
}
/**
|