diff options
author | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-11 01:27:59 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-11 01:27:59 +0000 |
commit | 2e4c9e0158cc10226dc0e2de679bc984e288f18a (patch) | |
tree | 36337bc83d787b7a9e4973e8bc44cd02f3314402 /MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c | |
parent | 7412cb4d9185472371a738b33e3e60c2017c89d6 (diff) | |
download | edk2-2e4c9e0158cc10226dc0e2de679bc984e288f18a.zip edk2-2e4c9e0158cc10226dc0e2de679bc984e288f18a.tar.gz edk2-2e4c9e0158cc10226dc0e2de679bc984e288f18a.tar.bz2 |
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
Diffstat (limited to 'MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c')
-rw-r--r-- | MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c b/MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c index a32b6d6..0428111 100644 --- a/MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c +++ b/MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c @@ -1,7 +1,7 @@ /** @file
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
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
@@ -1086,7 +1086,7 @@ CapsuleDataCoalesce ( // We return the base of memory we want reserved, and the size.
// The memory peim should handle it appropriately from there.
//
- *MemorySize = (UINTN) CapsuleImageSize;
+ *MemorySize = (UINTN) CapsuleSize;
*MemoryBase = (VOID *) NewCapsuleBase;
//
|