summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2015-07-02 10:06:32 +0000
committerlzeng14 <lzeng14@Edk2>2015-07-02 10:06:32 +0000
commitdbd030bb988206b75561c434a4542593dacbce22 (patch)
tree875bfac9fa9eab2a988a090eafac0853044755ea /MdeModulePkg/Universal
parent46a65f1885a16de8eda0797c36638e83555061fc (diff)
downloadedk2-dbd030bb988206b75561c434a4542593dacbce22.zip
edk2-dbd030bb988206b75561c434a4542593dacbce22.tar.gz
edk2-dbd030bb988206b75561c434a4542593dacbce22.tar.bz2
MdeModulePkg: Fix EBC build failure
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@17814 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r--MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
index e1dfeea..3c99367 100644
--- a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
+++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
@@ -78,7 +78,10 @@ VARIABLE_ENTRY_PROPERTY mVariableEntryProperty[] = {
AUTH_VAR_LIB_CONTEXT_IN mContextIn = {
AUTH_VAR_LIB_CONTEXT_IN_STRUCT_VERSION,
- sizeof (AUTH_VAR_LIB_CONTEXT_IN),
+ //
+ // StructSize, TO BE FILLED
+ //
+ 0,
//
// MaxAuthVariableSize, TO BE FILLED
//
@@ -4029,6 +4032,7 @@ VariableWriteServiceInitialize (
//
// Authenticated variable initialize.
//
+ mContextIn.StructSize = sizeof (AUTH_VAR_LIB_CONTEXT_IN);
mContextIn.MaxAuthVariableSize = mVariableModuleGlobal->MaxAuthVariableSize - GetVariableHeaderSize ();
Status = AuthVariableLibInitialize (&mContextIn, &mContextOut);
if (!EFI_ERROR (Status)) {