summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
diff options
context:
space:
mode:
authorYuwei Chen <yuwei.chen@intel.com>2025-08-26 09:57:48 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-11-24 02:30:49 +0300
commit797792681137b0971ec81e495807b470671ba518 (patch)
tree5b1c5450d10f68fadc4418ed530cb7c6790db6c1 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
parent7e9901887e0a533500087d71e80e0ca92bbbb19d (diff)
downloadedk2-797792681137b0971ec81e495807b470671ba518.tar.xz
BaseTools: Enable FMMT Rebase function
This patch adds and improves the rebase functionality for firmware images (PE/COFF/TE) in the FMMT tool. Key features include: 1.Automatically rebases PE/COFF/TE images within FFS files when the firmware volume (FV) layout is adjusted or FFS files are moved, ensuring correct loading and execution at new addresses. 2.Implements recursive rebase logic for nested sections, guaranteeing all relevant images are properly relocated. 3.Adds support for rebasing subsequent FFS files within the same FV, enhancing compatibility and stability during firmware layout changes. 4.Core code changes are mainly in FvHandler.py, BiosTreeNode.py, and BinaryFactoryProduct.py, covering rebase flag detection, address calculation, and actual relocation operations. 5.This feature improves the flexibility of firmware space management and enhances the automation and reliability of the FMMT tool. Co-Auther: Ashraf Ali S <ashraf.ali.s@intel.com> Signed-off-by: Yuwei Chen <yuwei.chen@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions