summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorMaurice Ma <maurice.ma@intel.com>2020-11-11 16:10:32 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-11-15 00:17:18 +0000
commitd448574e73108f031ea6b02994f2579bb574785a (patch)
tree206e381ec181906043b3b4b2daaf6789a5d5dab9 /MdeModulePkg
parent5e9a8a6dfb152472c5d12a3940069b16c774f0fc (diff)
downloadedk2-d448574e73108f031ea6b02994f2579bb574785a.tar.gz
edk2-d448574e73108f031ea6b02994f2579bb574785a.tar.bz2
edk2-d448574e73108f031ea6b02994f2579bb574785a.zip
IntelFsp2Pkg: Fix FSP binary rebasing issue for PE32+ image
Current FSP rebasing script SplitFspBin.py has support for both PE32 and PE32+ image formats. However, while updating the ImageBase field in the image header, it always assumed the ImageBase field is 32bit long. Since PE32+ image format defined ImageBase as 64bit, the current script will only update the lower 32bit value and leave the upper 32bit untouched. It does not work well for PE32+ image that requires update in the upper 32bit ImageBase field. The expected behavior is to update the full 64bit field. This patch implemented this fix. Signed-off-by: Maurice Ma <maurice.ma@intel.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Star Zeng <star.zeng@intel.com> Reviewed-by: Chasel Chiu <chasel.chiu@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
Diffstat (limited to 'MdeModulePkg')
0 files changed, 0 insertions, 0 deletions