Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/include/arch/aarch32/
Darch_helpers.h361 #define IS_IN_HYP() (GET_M32(read_cpsr()) == MODE32_hyp) in DEFINE_SYSREG_RW_FUNCS()
362 #define IS_IN_SVC() (GET_M32(read_cpsr()) == MODE32_svc) in DEFINE_SYSREG_RW_FUNCS()
363 #define IS_IN_MON() (GET_M32(read_cpsr()) == MODE32_mon) in DEFINE_SYSREG_RW_FUNCS()
367 ((GET_M32(read_cpsr()) == MODE32_mon) || \ in DEFINE_SYSREG_RW_FUNCS()
368 (IS_IN_SECURE() && (GET_M32(read_cpsr()) != MODE32_usr))) in DEFINE_SYSREG_RW_FUNCS()
Darch.h399 #define GET_M32(mode) (((mode) >> MODE32_SHIFT) & MODE32_MASK) macro
/external/arm-trusted-firmware/plat/arm/common/aarch64/
Dexecution_state_switch.c94 (GET_M32(spsr) == MODE32_hyp); in arm_execution_state_switch()
/external/arm-trusted-firmware/lib/el3_runtime/aarch32/
Dcontext_mgmt.c109 if (GET_M32(ep->spsr) == MODE32_hyp) in cm_setup_context()
/external/arm-trusted-firmware/lib/el3_runtime/aarch64/
Dcontext_mgmt.c196 && (GET_M32(ep->spsr) == MODE32_hyp))) { in cm_setup_context()
/external/arm-trusted-firmware/services/spd/trusty/
Dtrusty.c505 if (GET_RW(spsr) == MODE_RW_32 && GET_M32(spsr) == MODE32_hyp) { in trusty_setup()
/external/arm-trusted-firmware/include/arch/aarch64/
Darch.h685 #define GET_M32(mode) (((mode) >> MODE32_SHIFT) & MODE32_MASK) macro