arm-trusted-firmware/include/lib/xlat_tables
Sandrine Bailleux fdb1964c34 xlat: Introduce MAP_REGION2() macro
The current implementation of the memory mapping API favours mapping
memory regions using the biggest possible block size in order to
reduce the number of translation tables needed.

In some cases, this behaviour might not be desirable. When translation
tables are edited at run-time, coarse-grain mappings like that might
need splitting into finer-grain tables. This operation has a
performance cost.

The MAP_REGION2() macro allows to specify the granularity of
translation tables used for the initial mapping of a memory region.
This might increase performance for memory regions that are likely to
be edited in the future, at the expense of a potentially increased
memory footprint.

The Translation Tables Library Design Guide has been updated to
explain the use case for this macro. Also added a few intermediate
titles to make the guide easier to digest.

Change-Id: I04de9302e0ee3d326b8877043a9f638766b81b7b
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>
2017-10-05 14:32:12 +01:00
..
aarch32 xlat lib: Fix some types 2017-07-26 09:28:23 +01:00
aarch64 xlat lib: Fix some types 2017-07-26 09:28:23 +01:00
xlat_mmu_helpers.h Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
xlat_tables.h include: add U()/ULL() macros for constants 2017-06-14 17:00:30 -07:00
xlat_tables_arch.h xlat lib: Reorganize architectural defs 2017-07-25 13:09:00 +01:00
xlat_tables_defs.h Helper macro to create MAIR encodings 2017-09-11 18:22:12 +01:00
xlat_tables_v2.h xlat: Introduce MAP_REGION2() macro 2017-10-05 14:32:12 +01:00
xlat_tables_v2_helpers.h xlat: Introduce MAP_REGION2() macro 2017-10-05 14:32:12 +01:00