xlat lib: Introduce MT_EXECUTE/MT_EXECUTE_NEVER attributes
authorSandrine Bailleux <sandrine.bailleux@arm.com>
Tue, 14 Jun 2016 15:31:09 +0000 (16:31 +0100)
committerSandrine Bailleux <sandrine.bailleux@arm.com>
Fri, 8 Jul 2016 13:37:11 +0000 (14:37 +0100)
commitb9161469fa95d290ba448d65e1d886ec1ff091e5
treef3a47715bba95e7884992303900689680388359a
parentbcbe19afaa7a19083164dd1be80c741d23ee9caf
xlat lib: Introduce MT_EXECUTE/MT_EXECUTE_NEVER attributes

This patch introduces the MT_EXECUTE/MT_EXECUTE_NEVER memory mapping
attributes in the translation table library to specify the
access permissions for instruction execution of a memory region.
These new attributes should be used only for normal, read-only
memory regions. For other types of memory, the translation table
library still enforces the following rules, regardless of the
MT_EXECUTE/MT_EXECUTE_NEVER attribute:

 - Device memory is always marked as execute-never.
 - Read-write normal memory is always marked as execute-never.

Change-Id: I8bd27800a8c1d8ac1559910caf4a4840cf25b8b0
include/lib/xlat_tables.h
lib/xlat_tables/xlat_tables_common.c