18 #include <linux/kernel.h>
19 #include <linux/types.h>
21 #include <asm/addrspace.h>
22 #include <asm/irq_regs.h>
23 #include <asm/ptrace.h>
24 #include <asm/traps.h>
30 static inline void dec_kn02xa_be_ack(
void)
40 static int dec_kn02xa_be_backend(
struct pt_regs *
regs,
int is_fixup,
46 static const char excstr[] =
"exception";
47 static const char intstr[] =
"interrupt";
48 static const char cpustr[] =
"CPU";
49 static const char mreadstr[] =
"memory read";
50 static const char readstr[] =
"read";
51 static const char writestr[] =
"write";
52 static const char timestr[] =
"timeout";
53 static const char paritystr[] =
"parity error";
54 static const char lanestat[][4] = {
" OK",
"BAD" };
59 u32 mer = *kn02xa_mer;
60 u32 ear = *kn02xa_ear;
66 kind = invoker ? intstr : excstr;
74 if (address < 0x10000000) {
78 cycle = invoker ? writestr : readstr;
87 kind, agent, cycle, event, address);
91 "#3: %s, #2: %s, #1: %s, #0: %s\n",
103 return dec_kn02xa_be_backend(regs, is_fixup, 0);
109 int action = dec_kn02xa_be_backend(regs, 0, 1);
123 die(
"Unrecoverable bus error", regs);