History log of /device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
35f910f08b58e978bc9251872635075d6f422e48 04-Dec-2014 Randy Pawell <randy_pawell@hp.com> MdeModulePkg: Source fixes and cleanup for ARMGCC compiles

- Fix EFI_IPv4_ADDRESS usages to use a macro to copy the structure
instead of direct assignment, to avoid runtime alignment errors.
- Fix a EFI_INPUT_KEY usage in TerminalDxe to use CopyMem() to copy the
structure instead of direct assignment, to avoid runtime alignment error.
- Delete excess local variables that are initialized but otherwise unused.
- CompilerIntrinsicsLib library now imported for AARCH64, as well as ARM.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Randy Pawell <randy_pawell@hp.com>
Reviewed-by: Olivier Martin <Olivier.Martin@arm.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16471 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c
ff284c56a11a9a9b32777c91bc069093d5b5d8a9 17-Jan-2014 jyao1 <jyao1> CapsulePei coalesce need add more sanity check for each Capsule Fragment.

Signed-off by: jiewen yao <jiewen.yao@intel.com>
Reviewed by: elvin li <elvin.li@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15137 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c
dc204d5a0fd64d1ccbc90ebea827e7ad73b71f4d 12-Jun-2012 jyao1 <jyao1@6f19259b-4bc3-4df7-8a09-765794883524> Add comment for modules which have external input.

signed-off-by: jiewen.yao@intel.com
reviewed-by: guo.dong@intel.com
reviewed-by: ting.ye@intel.com
reviewed-by: liming.gao@intel.com
reviewed-by: elvin.li@intel.com



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13446 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c
5d4f8cf3c9aace8ad3a37670629a88bb7b21a3f7 11-May-2012 lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> Enhance the code logic for RelocateBlockDescriptors.

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@13306 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c
31abeada42ff7f265e42cdea7c44ea44d16568b9 11-May-2012 lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> Currently, CapsulePei assumes ScatterGatherList are all related. But, UEFI spec has no such requirement, ScatterGatherList may be standalone. So update CapsulePei to only ignore the invalid ScatterGatherList, and still keep the valid ScatterGatherList.

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@13305 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c
240bc4ee8fdd73054b6dd58547ef416b9d9e2a7f 11-May-2012 lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> Make sure CapsuleImage size is equal or less than DataBlock Size. And when copy the Capsule data from DataBlock to the continuous memory, CapsuleImage size should be used instead of DataBlock.

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@13304 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c
4694dd1ba8ad0242a7cf7467568ce001619d3fde 11-May-2012 lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> DestPtr may point to the lower aligned address in the free memory region (FreeMemBase, FreeMemBase + FreeMemSize), the free memory region may be updated to override the private signature. So update FreeMemSize to avoid the potential overlap.

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@13303 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c
2e4c9e0158cc10226dc0e2de679bc984e288f18a 11-May-2012 lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c
f63085f50c1e8c086d6c4007a9ec68fa66267411 13-Sep-2011 li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> Add NULl check for pointer.

Signed-off-by: li-elvin
Reviewed-by: lgao4, lzeng14


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12333 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c
ab7017fe2bf2c1944090d347e7853e087d8641e8 02-Sep-2011 li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> Add capsule > 4GB support. When capsule data is put above 4GB, IA32 PEI transfers to long mode to get capsule data.

Signed-off-by: li-elvin
Reviewed-by: lgao4, mdkinney


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12264 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/Common/CapsuleCoalesce.c