• Antonio Nino Diaz's avatar
    Add dynamic region support to xlat tables lib v2 · 0b64f4ef
    Antonio Nino Diaz authored
    
    
    Added APIs to add and remove regions to the translation tables
    dynamically while the MMU is enabled. Only static regions are allowed
    to overlap other static ones (for backwards compatibility).
    
    A new private attribute (MT_DYNAMIC / MT_STATIC) has been added to
    flag each region as such.
    
    The dynamic mapping functionality can be enabled or disabled when
    compiling by setting the build option PLAT_XLAT_TABLES_DYNAMIC to 1
    or 0. This can be done per-image.
    
    TLB maintenance code during dynamic table mapping and unmapping has
    also been added.
    
    Fixes ARM-software/tf-issues#310
    
    Change-Id: I19e8992005c4292297a382824394490c5387aa3b
    Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
    0b64f4ef
board_arm_def.h 3.89 KB