Lines Matching full:a0

29 	movi a0, xtensa_is_user_context_epc
31 bne a0, a2, _not_checking_user_context
36 movi a0, PS_RING_MASK
38 and a2, a2, a0
49 rsr a0, ZSR_A0SAVE
56 rsr a0, ZSR_CPU
57 l32i a0, a0, ___cpu_t_current_OFFSET
58 l32i a0, a0, _thread_offset_to_psp
60 addi a0, a0, -___xtensa_irq_bsa_t_SIZEOF
62 s32i a1, a0, ___xtensa_irq_bsa_t_scratch_OFFSET
63 s32i a2, a0, ___xtensa_irq_bsa_t_a2_OFFSET
64 s32i a3, a0, ___xtensa_irq_bsa_t_a3_OFFSET
66 s32i a2, a0, ___xtensa_irq_bsa_t_a0_OFFSET
70 s32i a2, a0, ___xtensa_irq_bsa_t_ps_OFFSET
72 s32i a2, a0, ___xtensa_irq_bsa_t_pc_OFFSET
87 l32i a2, a0, ___xtensa_irq_bsa_t_a2_OFFSET
88 l32i a3, a0, ___xtensa_irq_bsa_t_a3_OFFSET
91 rsr a0, ZSR_CPU
92 l32i a0, a0, ___cpu_t_current_OFFSET
93 l32i a0, a0, _thread_offset_to_psp
94 addi a0, a0, -___xtensa_irq_bsa_t_SIZEOF
96 mov a1, a0
131 movi a0, K_SYSCALL_LIMIT
132 bgeu a2, a0, _bad_syscall
148 movi a0, is_user_mode@tpoff
150 add a0, a3, a0
153 s32i a3, a0, 0
155 movi a0, 0
156 wur.THREADPTR a0
188 movi a0, PS_WOE|PS_CALLINC(0)|PS_UM|PS_INTLEVEL(0)
189 wsr.ps a0
230 movi a0, is_user_mode@tpoff
231 add a0, a3, a0
233 s32i a3, a0, 0
247 l32i a0, a1, ___xtensa_irq_bsa_t_a0_OFFSET
286 rsr a0, ZSR_CPU
287 l32i a0, a0, ___cpu_t_current_OFFSET
290 s32i a0, a1, 24
312 movi a0, is_user_mode@tpoff
313 add a0, a3, a0
315 s32i a3, a0, 0
334 movi a0, z_thread_entry
335 wsr.epc2 a0
342 movi a0, PS_WOE|PS_CALLINC(1)|PS_UM|PS_RING(2)
346 movi a0, PS_WOE|PS_CALLINC(1)|PS_UM|PS_RING(1)
349 wsr a0, EPS2
351 /* Wipe out a0 (thre is no return from this function */
352 movi a0, 0