• Achin Gupta's avatar
    Add context library API to change a bit in SCR_EL3 · c429b5e9
    Achin Gupta authored
    This patch adds an API to write to any bit in the SCR_EL3 member of
    the 'cpu_context' structure of the current CPU for a specified
    security state. This API will be used in subsequent patches which
    introduce interrupt management in EL3 to specify the interrupt routing
    model when execution is not in EL3.
    
    It also renames the cm_set_el3_elr() function to cm_set_elr_el3()
    which is more in line with the system register name being targeted by
    the API.
    
    Change-Id: I310fa7d8f827ad3f350325eca2fb28cb350a85ed
    c429b5e9
arch.h 11.4 KB