Lines Matching refs:code
117 asmlinkage void nmi(struct pt_regs *regs, enum exception_code code)
121 if (gdbstub_intercept(regs, code))
250 /* when in-kernel, we also print out the stack and code at the
282 void die(const char *str, struct pt_regs *regs, enum exception_code code)
287 str, code & 0xffff);
303 * happens due to something kernel code did
306 enum exception_code code)
311 peripheral_leds_display_exception(code);
313 switch (code) {
331 if (notify_die(DIE_BREAKPOINT, str, regs, code, 0, 0))
340 if (gdbstub_intercept(regs, code))
344 if (notify_die(DIE_GPF, str, regs, code, 0, 0))
348 die(str, regs, code);
355 enum exception_code code)
361 if (code == EXCEP_SYSCALL15 && !user_mode(regs)) {
364 gdbstub_intercept(regs, code);
372 regs, code);
456 enum exception_code code)
461 if (gdbstub_intercept(regs, code))
465 peripheral_leds_display_exception(code);
466 printk(KERN_EMERG "Uninitialised Exception 0x%04x\n", code & 0xFFFF);
477 void __init __set_intr_stub(enum exception_code code, void *handler)
480 u8 *vector = (u8 *)(CONFIG_INTERRUPT_VECTOR_BASE + code);
496 void __init set_intr_stub(enum exception_code code, void *handler)
499 u8 *vector = (u8 *)(CONFIG_INTERRUPT_VECTOR_BASE + code);
518 void __init set_jtag_stub(enum exception_code code, void *handler)
521 u8 *vector = (u8 *)(CONFIG_INTERRUPT_VECTOR_BASE + code);