]> git.proxmox.com Git - mirror_edk2.git/commit
EdkCompatibilityPkg: Use ImageContext.ImageSize to allocate memory for PE image
authorStar Zeng <star.zeng@intel.com>
Wed, 18 Mar 2015 08:49:21 +0000 (08:49 +0000)
committerlzeng14 <lzeng14@Edk2>
Wed, 18 Mar 2015 08:49:21 +0000 (08:49 +0000)
commitc4b90c071d55dc75d2f6d47de1e11f3018fc2907
tree92d88fe8f5983aa5cf7c243483c45acfe3aa8ae1
parent32a81741dbc91c041ca57d600526ca9c088440ff
EdkCompatibilityPkg: Use ImageContext.ImageSize to allocate memory for PE image

to handle the case PE file alignment is not same as PE section alignment.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17064 6f19259b-4bc3-4df7-8a09-765794883524
EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/ScriptSave.c