summaryrefslogtreecommitdiff
path: root/SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.h
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2015-03-17 06:41:40 +0000
committerlzeng14 <lzeng14@Edk2>2015-03-17 06:41:40 +0000
commitba9d087b8fb91f19c9accf9541332a36889e18ed (patch)
tree9caabffcbb7a39d6802284c4d4f03f8e29d5e79d /SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.h
parent856236cad77652dde9be649c54e18ad4d39ffaab (diff)
downloadedk2-platforms-ba9d087b8fb91f19c9accf9541332a36889e18ed.tar.xz
SecurityPkg Variable: Reuse scratch data area(at the end of volatile variable store)
as serialization runtime buffer to reduce SMRAM consumption for SMM variable driver. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Guo Dong <guo.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17059 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.h')
-rw-r--r--SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.h b/SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.h
index f86b202fda..fd4dab2429 100644
--- a/SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.h
+++ b/SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.h
@@ -196,6 +196,23 @@ FindVariable (
/**
+ Gets the pointer to the end of the variable storage area.
+
+ This function gets pointer to the end of the variable storage
+ area, according to the input variable store header.
+
+ @param VarStoreHeader Pointer to the Variable Store Header.
+
+ @return Pointer to the end of the variable storage area.
+
+**/
+VARIABLE_HEADER *
+GetEndPointer (
+ IN VARIABLE_STORE_HEADER *VarStoreHeader
+ );
+
+/**
+
This code gets the pointer to the variable data.
@param Variable Pointer to the Variable Header.