arm-trusted-firmware/include/lib/xlat_tables
Douglas Raillard 769d65da77 xlat: Use MAP_REGION macro as compatibility layer
Use the MAP_REGION to build the mmap_region_t argument in wrappers like
mmap_add_region(). Evolution of the mmap_region_t might require adding
new members with a non-zero default value. Users of MAP_REGION are
protected against such evolution. This commit also protects users of
mmap_add_region() and mmap_add_dynamic_region() functions against these
evolutions.

Also make the MAP_REGION macro implementation more explicit and make it
a mmap_region_t compound literal to make it useable as a function
parameter on its own and to prevent using it in initialization of
variables of different type.

Change-Id: I7bfc4689f6dd4dd23c895b65f628d8ee991fc161
Signed-off-by: Douglas Raillard <douglas.raillard@arm.com>
2017-09-11 15:47:33 +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 Emphasize that TF only supports 4 KB granule size 2017-07-26 09:28:23 +01:00
xlat_tables_v2.h xlat: Use MAP_REGION macro as compatibility layer 2017-09-11 15:47:33 +01:00
xlat_tables_v2_helpers.h xlat lib v2: Export translation context as an opaque type 2017-07-25 13:09:00 +01:00