]> git.proxmox.com Git - mirror_edk2.git/commit
In order to make sure the image is section alignment, after allocate buffer for TE...
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 27 Feb 2013 02:09:01 +0000 (02:09 +0000)
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 27 Feb 2013 02:09:01 +0000 (02:09 +0000)
commit935efc217feb205f3f992101e1320f3f701a1f6f
treeb78101c21b78a18575d9bdfa7efbcb844b753619
parent7dd0562309ac668b7025023f05e79687fdf7a13a
In order to make sure the image is section alignment, after allocate buffer for TE image, it will adjust the base address. But it has two potential issues: One is the start address may not section alignment, second is the buffer is not bigger enough to do the adjustment. This patch fixes these two issues.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14145 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Core/Pei/Image/Image.c