]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Update CapsuleCoalesce() to return the correct size of the coalesced capsule include...
authorlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 11 May 2012 01:27:59 +0000 (01:27 +0000)
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 11 May 2012 01:27:59 +0000 (01:27 +0000)
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

MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c

index a32b6d664582d4b70972df2c59a9822bdb4270f2..042811167579e10f72562273ea0986b8310533e9 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The logic to process capsule.\r
 \r
-Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -1086,7 +1086,7 @@ CapsuleDataCoalesce (
   // We return the base of memory we want reserved, and the size.\r
   // The memory peim should handle it appropriately from there.\r
   //\r
-  *MemorySize = (UINTN) CapsuleImageSize;\r
+  *MemorySize = (UINTN) CapsuleSize;\r
   *MemoryBase = (VOID *) NewCapsuleBase;\r
 \r
   //\r