Go to the documentation of this file.
5 #include <linux/ptrace.h>
6 #include <linux/module.h>
7 #include <asm/uaccess.h>
9 #include <hwregs/intr_vect_defs.h>
20 unsigned long usp = rdusp();
21 unsigned long d_mmu_cause;
22 unsigned long i_mmu_cause;
26 printk(
"ERP: %08lx SRP: %08lx CCS: %08lx USP: %08lx MOF: %08lx\n",
29 printk(
" r0: %08lx r1: %08lx r2: %08lx r3: %08lx\n",
30 regs->
r0, regs->
r1, regs->
r2, regs->
r3);
32 printk(
" r4: %08lx r5: %08lx r6: %08lx r7: %08lx\n",
33 regs->
r4, regs->
r5, regs->
r6, regs->
r7);
35 printk(
" r8: %08lx r9: %08lx r10: %08lx r11: %08lx\n",
38 printk(
"r12: %08lx r13: %08lx oR10: %08lx acr: %08lx\n",
41 printk(
" sp: %08lx\n", (
unsigned long)regs);
49 printk(
" Data MMU Cause: %08lx\n", d_mmu_cause);
50 printk(
"Instruction MMU Cause: %08lx\n", i_mmu_cause);
52 printk(
"Process %s (pid: %d, stackpage=%08lx)\n",
85 for (i = -12; i < 12; i++) {
88 if (
__get_user(c, &((
unsigned char *)regs->erp)[i])) {
115 #ifdef CONFIG_ETRAXFS
122 #ifdef CONFIG_ETRAXFS
139 printk(
"kernel BUG at %s:%d!\n", file, line);
148 #ifdef CONFIG_DEBUG_BUGVERBOSE
176 ".global breakh_BUG\n\t"
180 "move.d $sp, $r10\n\t"
183 "jump ret_from_intr\n\t"
187 #ifdef CONFIG_DEBUG_BUGVERBOSE