Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/arch/arm/include/
A Darm64.h102 #define SPSR_64(el, sp, daif) \ argument
106 ((daif) & SPSR_64_DAIF_MASK) << SPSR_64_DAIF_SHIFT)
391 DEFINE_U32_REG_READWRITE_FUNCS(daif)
/optee_os-3.20.0/core/arch/arm/kernel/
A Dthread.c86 uint32_t daif = read_daif(); in thread_get_exceptions() local
88 return (daif >> DAIF_F_SHIFT) & THREAD_EXCP_ALL; in thread_get_exceptions()
93 uint32_t daif = read_daif(); in thread_set_exceptions() local
99 daif &= ~(THREAD_EXCP_ALL << DAIF_F_SHIFT); in thread_set_exceptions()
100 daif |= ((exceptions & THREAD_EXCP_ALL) << DAIF_F_SHIFT); in thread_set_exceptions()
103 write_daif(daif); in thread_set_exceptions()
A Dabort.c353 uint32_t daif = 0; in handle_user_mode_panic() local
375 daif = (ai->regs->spsr >> SPSR_32_AIF_SHIFT) & SPSR_32_AIF_MASK; in handle_user_mode_panic()
377 ai->regs->spsr = SPSR_64(SPSR_64_MODE_EL1, SPSR_64_MODE_SP_EL0, daif); in handle_user_mode_panic()
A Dthread_spmc_a64.S107 mrs x1, daif
A Dthread_optee_smc_a64.S183 mrs x1, daif
A Dthread_a64.S705 mrs x6, daif /* this register must be preserved */
777 msr daif, x6 /* restore exceptions */

Completed in 15 milliseconds