Home
last modified time | relevance | path

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

/optee_os/core/arch/arm/include/
A Darm64.h80 #define SPSR_64(el, sp, daif) \ argument
84 ((daif) & SPSR_64_DAIF_MASK) << SPSR_64_DAIF_SHIFT)
323 DEFINE_U32_REG_READWRITE_FUNCS(daif)
/optee_os/core/arch/arm/kernel/
A Dabort.c351 uint32_t daif; in handle_user_mode_panic() local
363 daif = (ai->regs->spsr >> SPSR_32_AIF_SHIFT) & SPSR_32_AIF_MASK; in handle_user_mode_panic()
365 ai->regs->spsr = SPSR_64(SPSR_64_MODE_EL1, SPSR_64_MODE_SP_EL0, daif); in handle_user_mode_panic()
A Dthread.c281 uint32_t daif = read_daif(); in thread_get_exceptions() local
283 return (daif >> DAIF_F_SHIFT) & THREAD_EXCP_ALL; in thread_get_exceptions()
288 uint32_t daif = read_daif(); in thread_set_exceptions() local
294 daif &= ~(THREAD_EXCP_ALL << DAIF_F_SHIFT); in thread_set_exceptions()
295 daif |= ((exceptions & THREAD_EXCP_ALL) << DAIF_F_SHIFT); in thread_set_exceptions()
298 write_daif(daif); in thread_set_exceptions()
A Dthread_spmc_a64.S108 mrs x1, daif
A Dthread_optee_smc_a64.S171 mrs x1, daif
A Dthread_a64.S533 mrs x6, daif /* this register must be preserved */
604 msr daif, x6 /* restore exceptions */
/optee_os/out/arm/core/
A Dtee.dmp4529 e102ff0: d53b4226 mrs x6, daif
4598 e10307c: d51b4226 msr daif, x6
7519 e104eac: d53b4220 mrs x0, daif
7698 e10507c: d53b4234 mrs x20, daif
7724 e1050c0: d51b4233 msr daif, x19
9350 e106174: d53b4220 mrs x0, daif
9413 e1061f8: d53b4233 mrs x19, daif
9557 e106360: d53b4220 mrs x0, daif
10906 e1070c8: d53b4221 mrs x1, daif

Completed in 128 milliseconds