• Sandrine Bailleux's avatar
    xlat: Always compile TLB invalidation functions · f301da44
    Sandrine Bailleux authored
    
    
    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: default avatarSandrine Bailleux <sandrine.bailleux@arm.com>
    f301da44
xlat_tables_arch.c 7.01 KB