summaryrefslogtreecommitdiff
path: root/include/lib
diff options
context:
space:
mode:
authorSummer Qin <summer.qin@arm.com>2017-03-16 17:16:34 +0000
committerSummer Qin <summer.qin@arm.com>2017-03-28 10:32:17 +0100
commit5d21b037e16ab8f7c5e63db84a6a9148b7a44a14 (patch)
treeeb7140f2cb1c602ee3d3dae70946d9e3ee82655c /include/lib
parent891685a51146c50234bd5ce49d29cb0fd9f290c8 (diff)
Add support to change xlat_tables to non-cacheable
This patch adds an additional flag `XLAT_TABLE_NC` which marks the translation tables as Non-cacheable for MMU accesses. Change-Id: I7c28ab87f0ce67da237fadc3627beb6792860fd4 Signed-off-by: Summer Qin <summer.qin@arm.com>
Diffstat (limited to 'include/lib')
-rw-r--r--include/lib/xlat_tables/xlat_tables_defs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/lib/xlat_tables/xlat_tables_defs.h b/include/lib/xlat_tables/xlat_tables_defs.h
index 1f4ae6d0..3105d7aa 100644
--- a/include/lib/xlat_tables/xlat_tables_defs.h
+++ b/include/lib/xlat_tables/xlat_tables_defs.h
@@ -135,4 +135,10 @@
*/
#define DISABLE_DCACHE (1 << 0)
+/*
+ * This flag marks the translation tables are Non-cacheable for MMU accesses.
+ * If the flag is not specified, by default the tables are cacheable.
+ */
+#define XLAT_TABLE_NC (1 << 1)
+
#endif /* __XLAT_TABLES_DEFS_H__ */