mirror of https://github.com/acidanthera/audk.git
Initialize LockBox.Attribute to 0 in SaveLockBox, or it will be random value.
signed-off-by: jyao1 reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12931 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
e7c4ef5ed4
commit
05ca95e29c
|
@ -1,6 +1,6 @@
|
|||
/** @file
|
||||
|
||||
Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2010 ~ 2012, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions
|
||||
|
@ -265,6 +265,7 @@ SaveLockBox (
|
|||
CopyMem (&LockBox->Guid, Guid, sizeof(EFI_GUID));
|
||||
LockBox->Buffer = (EFI_PHYSICAL_ADDRESS)(UINTN)Buffer;
|
||||
LockBox->Length = (UINT64)Length;
|
||||
LockBox->Attributes = 0;
|
||||
LockBox->SmramBuffer = SmramBuffer;
|
||||
|
||||
LockBoxQueue = InternalGetLockBoxQueue ();
|
||||
|
|
Loading…
Reference in New Issue