diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-08-08 12:33:06 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-08-09 09:50:05 +0200 |
commit | 0f73cca02b645267cb11ab8ddf1ba88af5ec3246 (patch) | |
tree | a89462871549cc3294e19a1285fb732567fbac4f /ShellPkg/Application/Shell | |
parent | 3cdbd7528bd46584551de60f3c47e63963dda117 (diff) | |
download | edk2-platforms-0f73cca02b645267cb11ab8ddf1ba88af5ec3246.tar.xz |
BaseTools ARM: impose strict alignment only for XIP modules
Given that we only support ARMv7 and up in Tianocore (due to the fact
that the PI spec mandates that the PEI services table pointer be stored
in the TPIDRURW register, which is not available on earlier CPUs), we can
assume that any code executing with the MMU on may perform unaligned
accesses (since the AArch32 bindings in the UEFI spec stipulate that
unaligned accesses should be allowed if supported by the CPU)
So relax the alignment restrictions to XIP modules only, i.e., BASE, SEC,
PEI_CORE and PEIM type modules, exactly like we do for AARCH64 already.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'ShellPkg/Application/Shell')
0 files changed, 0 insertions, 0 deletions