arm-trusted-firmware/lib/xlat_tables_v2
Sandrine Bailleux f301da44fa xlat: Always compile TLB invalidation functions
TLB invalidation functions used to be conditionally compiled in.
They were enabled only when using the dynamic mapping feature.
because only then would we need to modify page tables on the fly.

Actually there are other use cases where invalidating TLBs is required.
When changing memory attributes in existing translation descriptors for
example. These other use cases do not necessarily depend on the dynamic
mapping feature.

This patch removes this dependency and always compile TLB invalidation
functions in. If they're not used, they will be removed from the binary
at link-time anyway so there's no consequence on the memory footprint
if these functions are not called.

Change-Id: I1c33764ae900eb00073ee23b7d0d53d4efa4dd21
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
2017-10-05 14:32:12 +01:00
..
aarch32 Enable CnP bit for ARMv8.2 CPUs 2017-08-24 17:23:43 +01:00
aarch64 xlat: Always compile TLB invalidation functions 2017-10-05 14:32:12 +01:00
xlat_tables.mk xlat lib v2: Expose *_ctx() APIs 2017-07-26 09:20:05 +01:00
xlat_tables_internal.c xlat: Introduce MAP_REGION2() macro 2017-10-05 14:32:12 +01:00
xlat_tables_private.h xlat: Always compile TLB invalidation functions 2017-10-05 14:32:12 +01:00