• Antonio Nino Diaz's avatar
    Forbid block descriptors in initial xlat table levels · 2240f45b
    Antonio Nino Diaz authored
    
    
    In AArch64, depending on the granularity of the translation tables,
    level 0 and/or level 1 of the translation tables may not support block
    descriptors, only table descriptors.
    
    This patch introduces a check to make sure that, even if theoretically
    it could be possible to create a block descriptor to map a big memory
    region, a new subtable will be created to describe its mapping.
    
    Change-Id: Ieb9c302206bfa33fbaf0cdc6a5a82516d32ae2a7
    Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
    2240f45b
xlat_tables_common.c 12 KB