Lines Matching refs:a0
34 RV_E( op a0, __struct_arch_esf_a0_OFFSET(sp) );\
299 mv a0, sp
314 addi a0, sp, __struct_arch_esf_soc_context_OFFSET
330 bnez a0, is_interrupt
370 lr a0, ___cpu_t_current_OFFSET(s0)
384 mv a0, sp
424 lr a0, __struct_arch_esf_a0_OFFSET(sp)
433 lb t1, _thread_offset_to_exception_depth(a0)
435 sb t1, _thread_offset_to_exception_depth(a0)
447 li a0, 3
452 lr a0, __struct_arch_esf_a0_OFFSET(sp)
487 lr a0, __struct_arch_esf_a1_OFFSET(sp)
518 lr a0, ___cpu_t_current_OFFSET(s0)
534 lr a0, __struct_arch_esf_a0_OFFSET(sp)
555 mv a0, t0
574 sr a0, __struct_arch_esf_a0_OFFSET(sp)
593 lr a0, ___cpu_t_current_OFFSET(s0)
633 csrr a0, mcause
635 and a0, a0, t0
648 slli a0, a0, (RV_REGSHIFT + 1)
649 add t0, t0, a0
652 lr a0, 0(t0)
694 mv a0, zero
698 beqz a0, no_reschedule
720 addi a0, sp, __struct_arch_esf_soc_context_OFFSET
726 mv a0, sp
755 lr a0, ___cpu_t_current_OFFSET(s0)