Lines Matching refs:regs
28 static void show_regs(struct pt_regs *regs) in show_regs() argument
32 regs->sp, regs->gp, regs->tp); in show_regs()
34 regs->t0, regs->t1, regs->t2); in show_regs()
36 regs->s0, regs->s1, regs->a0); in show_regs()
38 regs->a1, regs->a2, regs->a3); in show_regs()
40 regs->a4, regs->a5, regs->a6); in show_regs()
42 regs->a7, regs->s2, regs->s3); in show_regs()
44 regs->s4, regs->s5, regs->s6); in show_regs()
46 regs->s7, regs->s8, regs->s9); in show_regs()
48 regs->s10, regs->s11, regs->t3); in show_regs()
50 regs->t4, regs->t5, regs->t6); in show_regs()
54 static void _exit_trap(ulong code, ulong epc, ulong tval, struct pt_regs *regs) in _exit_trap() argument
81 epc, regs->ra, tval); in _exit_trap()
85 epc - gd->reloc_off, regs->ra - gd->reloc_off); in _exit_trap()
87 show_regs(regs); in _exit_trap()
112 ulong handle_trap(ulong cause, ulong epc, ulong tval, struct pt_regs *regs) in handle_trap() argument
133 _exit_trap(cause, epc, tval, regs); in handle_trap()
137 _exit_trap(cause, epc, tval, regs); in handle_trap()
146 __attribute__((weak)) void external_interrupt(struct pt_regs *regs) in external_interrupt() argument
150 __attribute__((weak)) void timer_interrupt(struct pt_regs *regs) in timer_interrupt() argument