diff options
author | Star Zeng <star.zeng@intel.com> | 2015-07-02 10:06:32 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@Edk2> | 2015-07-02 10:06:32 +0000 |
commit | dbd030bb988206b75561c434a4542593dacbce22 (patch) | |
tree | 875bfac9fa9eab2a988a090eafac0853044755ea | |
parent | 46a65f1885a16de8eda0797c36638e83555061fc (diff) | |
download | edk2-platforms-dbd030bb988206b75561c434a4542593dacbce22.tar.xz |
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
-rw-r--r-- | MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c index e1dfeeaa03..3c99367e76 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)) {
|