xlat: Add support for EL0 and EL1 mappings
This patch introduces the ability of the xlat tables library to manage
EL0 and EL1 mappings from a higher exception level.

Attributes MT_USER and MT_PRIVILEGED have been added to allow the user
specify the target EL in the translation regime EL1&0.

REGISTER_XLAT_CONTEXT2 macro is introduced to allow creating a
xlat_ctx_t that targets a given translation regime (EL1&0 or EL3).

A new member is added to xlat_ctx_t to represent the translation regime
the xlat_ctx_t manages. The execute_never mask member is removed as it
is computed from existing information.

Change-Id: I95e14abc3371d7a6d6a358cc54c688aa9975c110
Co-authored-by: Douglas Raillard <douglas.raillard@arm.com>
Co-authored-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
Co-authored-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
1 parent b4ae615 commit 609c91917f95e5c2c0dcccbfbea6ff32539bf738
@Antonio Nino Diaz Antonio Nino Diaz authored on 4 Oct 2017
Showing 11 changed files
View
docs/xlat-tables-lib-v2-design.rst
View
include/lib/xlat_tables/xlat_tables_defs.h
View
include/lib/xlat_tables/xlat_tables_v2.h
View
include/lib/xlat_tables/xlat_tables_v2_helpers.h
View
lib/xlat_tables_v2/aarch32/xlat_tables_arch.c
View
lib/xlat_tables_v2/aarch32/xlat_tables_arch_private.h 0 → 100644
View
lib/xlat_tables_v2/aarch64/xlat_tables_arch.c
View
lib/xlat_tables_v2/aarch64/xlat_tables_arch_private.h 0 → 100644
View
lib/xlat_tables_v2/xlat_tables.mk
View
lib/xlat_tables_v2/xlat_tables_internal.c
View
lib/xlat_tables_v2/xlat_tables_private.h