• David Cunado's avatar
    Fully initialise essential control registers · 18f2efd6
    David Cunado authored
    
    
    This patch updates the el3_arch_init_common macro so that it fully
    initialises essential control registers rather then relying on hardware
    to set the reset values.
    
    The context management functions are also updated to fully initialise
    the appropriate control registers when initialising the non-secure and
    secure context structures and when preparing to leave EL3 for a lower
    EL.
    
    This gives better alignement with the ARM ARM which states that software
    must initialise RES0 and RES1 fields with 0 / 1.
    
    This patch also corrects the following typos:
    
    "NASCR definitions" -> "NSACR definitions"
    
    Change-Id: Ia8940b8351dc27bc09e2138b011e249655041cfc
    Signed-off-by: default avatarDavid Cunado <david.cunado@arm.com>
    18f2efd6
bl1_entrypoint.S 1.77 KB