arm-trusted-firmware/lib/xlat_tables_v2
David Pu e664b5b6ae xlat_tables_v2: find VA/idx with helper functions.
This patch introduces 2 helper functions 'xlat_tables_find_start_va' and
'xlat_tables_va_to_index' to find the first VA and table index affected by the
specified mmap region. it reduces code duplication and cyclomatic code
complexity in xlat_tables_map/unmap_region functions.

Cyclomatic complexity calculated using 'Coverity'

fixes arm-software/tf-issues#673

Signed-off-by: David Pu <dpu@nvidia.com>
2019-02-28 10:14:20 -08:00
..
aarch32 lib/xlat_tables: Add support for ARMv8.4-TTST 2019-01-30 11:17:38 +00:00
aarch64 xlat v2: Fix comment 2019-02-01 12:24:57 +00:00
xlat_tables.mk xlat: Fix compatibility between v1 and v2 2018-10-26 14:55:30 +01:00
xlat_tables_context.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
xlat_tables_core.c xlat_tables_v2: find VA/idx with helper functions. 2019-02-28 10:14:20 -08:00
xlat_tables_private.h lib/xlat_tables: Add support for ARMv8.4-TTST 2019-01-30 11:17:38 +00:00
xlat_tables_utils.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00