Home
last modified time | relevance | path

Searched refs:do_trap_error (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/csky/kernel/
H A Dtraps.c131 static void do_trap_error(struct pt_regs *regs, int signo, int code, in do_trap_error() function
147 do_trap_error(regs, signo, code, regs->pc, "Oops - " str); \
163 do_trap_error(regs, SIGBUS, BUS_ADRALN, regs->pc, in do_trap_misaligned()
183 do_trap_error(regs, SIGILL, ILL_ILLTRP, regs->pc, in do_trap_bkpt()
206 do_trap_error(regs, SIGILL, ILL_ILLOPC, regs->pc, in do_trap_illinsn()
215 do_trap_error(regs, SIGILL, ILL_ILLOPC, regs->pc, in do_trap_fpe()
226 do_trap_error(regs, SIGILL, ILL_PRVOPC, regs->pc, in do_trap_priv()
/openbmc/linux/arch/riscv/kernel/
H A Dtraps.c115 static void do_trap_error(struct pt_regs *regs, int signo, int code, in do_trap_error() function
138 do_trap_error(regs, signo, code, regs->epc, "Oops - " str); \
142 do_trap_error(regs, signo, code, regs->epc, "Oops - " str); \
168 do_trap_error(regs, SIGILL, ILL_ILLOPC, regs->epc, in do_trap_insn_illegal()
175 do_trap_error(regs, SIGILL, ILL_ILLOPC, regs->epc, in do_trap_insn_illegal()
199 do_trap_error(regs, SIGBUS, BUS_ADRALN, regs->epc, in do_trap_load_misaligned()
207 do_trap_error(regs, SIGBUS, BUS_ADRALN, regs->epc, in do_trap_load_misaligned()
220 do_trap_error(regs, SIGBUS, BUS_ADRALN, regs->epc, in do_trap_store_misaligned()
228 do_trap_error(regs, SIGBUS, BUS_ADRALN, regs->epc, in do_trap_store_misaligned()
328 do_trap_error(regs, SIGILL, ILL_ILLTRP, regs->epc, in do_trap_ecall_u()