spm: permit platform to override the VMA placement of the vector table
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sun, 6 Jan 2019 09:07:24 +0000 (10:07 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 15 Jan 2019 16:51:23 +0000 (17:51 +0100)
commit32e83537489267a8941f64caa58c0fa56d6b2c7e
tree51cfa41c09a5b609816d5e85230f86286e5a2b45
parent0e4f761bc44346d0c08a8b272f148899198be825
spm: permit platform to override the VMA placement of the vector table

On some systems, it may be preferred to place the secure EL1/0 vector
table outside of the static placement of the BL31 image itself, for
instance when the latter is located in non-shareable SRAM which does
not tolerate inner shareable WBWA mappings (as is the case on SynQuacer)

So permit the platform to #define SPM_SHIM_EXCEPTIONS_VMA in its
supplementary linker script, in which case it will be used as the
VMA region for the vector table. Note that the LMA does not change,
and it is up to the platform to copy the contents to the right place
at init time.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
bl31/bl31.ld.S