SPM: Move shim layer to TTBR1_EL1
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 27 Mar 2019 11:10:31 +0000 (11:10 +0000)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 3 Apr 2019 09:51:31 +0000 (10:51 +0100)
commit6de6965b2fcaffec01b2679118d16eabfde4d9c9
tree96734032d5d6de50bfa2ba210618c8e88344f061
parent5db5930bafe00db095c2aed150fdbc45059b692a
SPM: Move shim layer to TTBR1_EL1

This gives each Secure Partition complete freedom on its address space.
Previously, the memory used by the exception vectors was reserved and
couldn't be used. Also, it always had to be mapped, forcing SPM to
generate translation tables that included the exception vectors as well
as the Partition memory regions. With this change, partitions can reduce
their address space size easily.

Change-Id: I67fb5e9bdf2870b73347f23bff702fab0a8f8711
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
include/arch/aarch64/arch.h
lib/xlat_tables/aarch64/xlat_tables.c
lib/xlat_tables_v2/aarch64/xlat_tables_arch.c
services/std_svc/spm/spm_main.c
services/std_svc/spm/spm_private.h
services/std_svc/spm/spm_setup.c
services/std_svc/spm/spm_shim_private.h
services/std_svc/spm/spm_xlat.c