mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-24 22:24:37 +02:00
Update CapsuleCoalesce() to return the correct size of the coalesced capsule include PrivateData, CapsuleImageData, CapsuleNumber and CapsuleOffset array.
Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13302 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
7412cb4d91
commit
2e4c9e0158
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
The logic to process capsule.
|
The logic to process capsule.
|
||||||
|
|
||||||
Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -1086,7 +1086,7 @@ CapsuleDataCoalesce (
|
|||||||
// We return the base of memory we want reserved, and the size.
|
// We return the base of memory we want reserved, and the size.
|
||||||
// The memory peim should handle it appropriately from there.
|
// The memory peim should handle it appropriately from there.
|
||||||
//
|
//
|
||||||
*MemorySize = (UINTN) CapsuleImageSize;
|
*MemorySize = (UINTN) CapsuleSize;
|
||||||
*MemoryBase = (VOID *) NewCapsuleBase;
|
*MemoryBase = (VOID *) NewCapsuleBase;
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user