diff options
author | Ard Biesheuvel <ard.biesheuvel@arm.com> | 2020-06-09 10:34:27 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-06-16 16:15:00 +0000 |
commit | 493f2c69311806a214de2b3db7fdf7bc9162ea81 (patch) | |
tree | 8dc0786a8c26cca89a1180c08323a233b4eb50d2 /OvmfPkg | |
parent | cdc686223a2d9b8c64831ffbc4b68ca16245aae0 (diff) | |
download | edk2-493f2c69311806a214de2b3db7fdf7bc9162ea81.tar.gz |
StandaloneMmPkg/StandaloneMmCoreEntryPoint: relocate StMM core on the fly
Apply PE/COFF fixups when starting up the standalone MM core, so that
it can execute at any address regardless of the link time address.
Note that this requires the PE/COFF image to be emitted with its
relocation section preserved. Special care is taken to ensure that
TE images are dealt with correctly as well.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Acked-by: Jiewen Yao <Jiewen.yao@intel.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Tested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'OvmfPkg')
0 files changed, 0 insertions, 0 deletions