Home
last modified time | relevance | path

Searched refs:from_el2 (Results 1 – 1 of 1) sorted by relevance

/external/arm-trusted-firmware/plat/arm/common/aarch64/
Dexecution_state_switch.c41 bool caller_64, thumb = false, from_el2; in arm_execution_state_switch() local
93 from_el2 = caller_64 ? (GET_EL(spsr) == MODE_EL2) : in arm_execution_state_switch()
96 if (!from_el2) { in arm_execution_state_switch()
112 sctlr = from_el2 ? read_sctlr_el2() : read_sctlr_el1(); in arm_execution_state_switch()
123 impl = from_el2 ? el_implemented(2) : el_implemented(1); in arm_execution_state_switch()
128 el = from_el2 ? MODE32_hyp : MODE32_svc; in arm_execution_state_switch()
138 el = from_el2 ? MODE_EL2 : MODE_EL1; in arm_execution_state_switch()