xlat: Introduce API to change memory attributes of a region
This patch introduces a new API in the translation tables library
(v2), that allows to change the memory attributes of a memory
region. It may be used to change its execution permissions and
data access permissions.

As a prerequisite, the memory must be already mapped. Moreover, it
must be mapped at the finest granularity (currently 4 KB).

Change-Id: I242a8c6f0f3ef2b0a81a61e28706540462faca3c
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 1be910b commit 996d6b390d97802a3cfb7d6d48183ad5a90398ba
@Sandrine Bailleux Sandrine Bailleux authored on 17 Oct 2017
Antonio Nino Diaz committed on 17 Oct 2017
Showing 3 changed files
View
include/lib/xlat_tables/xlat_tables_v2.h
View
lib/xlat_tables_v2/aarch32/xlat_tables_arch.c
View
lib/xlat_tables_v2/xlat_tables_internal.c