Add dynamic region support to xlat tables lib v2
Added APIs to add and remove regions to the translation tables
dynamically while the MMU is enabled. Only static regions are allowed
to overlap other static ones (for backwards compatibility).

A new private attribute (MT_DYNAMIC / MT_STATIC) has been added to
flag each region as such.

The dynamic mapping functionality can be enabled or disabled when
compiling by setting the build option PLAT_XLAT_TABLES_DYNAMIC to 1
or 0. This can be done per-image.

TLB maintenance code during dynamic table mapping and unmapping has
also been added.

Fixes ARM-software/tf-issues#310

Change-Id: I19e8992005c4292297a382824394490c5387aa3b
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
1 parent f10644c commit 0b64f4ef437a20f4d08df6a96ba95a43116efb8d
@Antonio Nino Diaz Antonio Nino Diaz authored on 27 Feb 2017
Showing 12 changed files
View
docs/porting-guide.md
View
include/lib/aarch32/arch.h
View
include/lib/aarch32/arch_helpers.h
View
include/lib/aarch64/arch.h
View
include/lib/aarch64/arch_helpers.h
View
include/lib/xlat_tables/xlat_tables_v2.h
View
include/plat/arm/board/common/board_arm_def.h
View
lib/xlat_tables_v2/aarch32/xlat_tables_arch.c
View
lib/xlat_tables_v2/aarch64/xlat_tables_arch.c
View
lib/xlat_tables_v2/xlat_tables_common.c
View
lib/xlat_tables_v2/xlat_tables_internal.c
View
lib/xlat_tables_v2/xlat_tables_private.h