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 dc24fe4 commit e33981f59ae947afa59d0910aede4d65c686a963
@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