Add context library API to change a bit in SCR_EL3
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
1 parent 3ee8a16 commit c429b5e93202d6fed7b374c32f2ab0f1a139581d
@Achin Gupta Achin Gupta authored on 4 May 2014
Showing 5 changed files
View
bl31/context_mgmt.c
View
include/bl31/context_mgmt.h
View
include/lib/aarch64/arch.h
View
services/spd/tspd/tspd_main.c
View
services/spd/tspd/tspd_pm.c