• Antonio Nino Diaz's avatar
    Add version 2 of xlat tables library · 7bb01fb2
    Antonio Nino Diaz authored
    
    
    The folder lib/xlat_tables_v2 has been created to store a new version
    of the translation tables library for further modifications in patches
    to follow. At the moment it only contains a basic implementation that
    supports static regions.
    
    This library allows different translation tables to be modified by
    using different 'contexts'. For now, the implementation defaults to
    the translation tables used by the current image, but it is possible
    to modify other tables than the ones in use.
    
    Added a new API to print debug information for the current state of
    the translation tables, rather than printing the information while
    the tables are being created. This allows subsequent debug printing
    of the xlat tables after they have been changed, which will be useful
    when dynamic regions are implemented in a patch to follow.
    
    The common definitions stored in `xlat_tables.h` header have been moved
    to a new file common to both versions, `xlat_tables_defs.h`.
    
    All headers related to the translation tables library have been moved to
    a the subfolder `xlat_tables`.
    
    Change-Id: Ia55962c33e0b781831d43a548e505206dffc5ea9
    Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
    7bb01fb2
xlat_tables_v2.h 4.19 KB