mirror of https://github.com/acidanthera/audk.git
Clear the whole EFI_PHYSICAL_ADDRESS CapsuleDataPtr64 to 0 at first to avoid rubbish data in high 32 bits.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Elvin Li <elvin.li@intel.com> Review-by: Feng Tian <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15675 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
673c893016
commit
34717ef034
|
@ -574,6 +574,7 @@ GetCapsuleDescriptors (
|
||||||
TempVarName = NULL;
|
TempVarName = NULL;
|
||||||
CapsuleVarName[0] = 0;
|
CapsuleVarName[0] = 0;
|
||||||
ValidIndex = 0;
|
ValidIndex = 0;
|
||||||
|
CapsuleDataPtr64 = 0;
|
||||||
|
|
||||||
Status = PeiServicesLocatePpi (
|
Status = PeiServicesLocatePpi (
|
||||||
&gEfiPeiReadOnlyVariable2PpiGuid,
|
&gEfiPeiReadOnlyVariable2PpiGuid,
|
||||||
|
@ -745,6 +746,7 @@ CapsuleCoalesce (
|
||||||
Index = 0;
|
Index = 0;
|
||||||
VariableCount = 0;
|
VariableCount = 0;
|
||||||
CapsuleVarName[0] = 0;
|
CapsuleVarName[0] = 0;
|
||||||
|
CapsuleDataPtr64 = 0;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Someone should have already ascertained the boot mode. If it's not
|
// Someone should have already ascertained the boot mode. If it's not
|
||||||
|
|
Loading…
Reference in New Issue