Searched refs:daif (Results 1 – 6 of 6) sorted by relevance
102 #define SPSR_64(el, sp, daif) \ argument106 ((daif) & SPSR_64_DAIF_MASK) << SPSR_64_DAIF_SHIFT)391 DEFINE_U32_REG_READWRITE_FUNCS(daif)
86 uint32_t daif = read_daif(); in thread_get_exceptions() local88 return (daif >> DAIF_F_SHIFT) & THREAD_EXCP_ALL; in thread_get_exceptions()93 uint32_t daif = read_daif(); in thread_set_exceptions() local99 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()
353 uint32_t daif = 0; in handle_user_mode_panic() local375 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()
107 mrs x1, daif
183 mrs x1, daif
705 mrs x6, daif /* this register must be preserved */777 msr daif, x6 /* restore exceptions */
Completed in 15 milliseconds