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
This commit is contained in:
Star Zeng 2015-07-02 10:06:32 +00:00 committed by lzeng14
parent 46a65f1885
commit dbd030bb98
1 changed files with 5 additions and 1 deletions

View File

@ -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)) {