Rev 1754 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1754 | Rev 1769 | ||
|---|---|---|---|
| Line 46... | Line 46... | ||
| 46 | #include <func.h> |
46 | #include <func.h> |
| 47 | #include <console/kconsole.h> |
47 | #include <console/kconsole.h> |
| 48 | #include <arch/debugger.h> |
48 | #include <arch/debugger.h> |
| 49 | 49 | ||
| 50 | static char * exctable[] = { |
50 | static char * exctable[] = { |
| - | 51 | "Interrupt", |
|
| - | 52 | "TLB Modified", |
|
| - | 53 | "TLB Invalid", |
|
| 51 | "Interrupt","TLB Modified","TLB Invalid","TLB Invalid Store", |
54 | "TLB Invalid Store", |
| 52 | "Address Error - load/instr. fetch", |
55 | "Address Error - load/instr. fetch", |
| 53 | "Address Error - store", |
56 | "Address Error - store", |
| 54 | "Bus Error - fetch instruction", |
57 | "Bus Error - fetch instruction", |
| 55 | "Bus Error - data reference", |
58 | "Bus Error - data reference", |
| 56 | "Syscall", |
59 | "Syscall", |
| 57 | "BreakPoint", |
60 | "BreakPoint", |
| 58 | "Reserved Instruction", |
61 | "Reserved Instruction", |
| 59 | "Coprocessor Unusable", |
62 | "Coprocessor Unusable", |
| 60 | "Arithmetic Overflow", |
63 | "Arithmetic Overflow", |
| 61 | "Trap", |
64 | "Trap", |
| 62 | "Virtual Coherency - instruction", |
65 | "Virtual Coherency - instruction", |
| 63 | "Floating Point", |
66 | "Floating Point", |
| 64 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
67 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
| 65 | "WatchHi/WatchLo", /* 23 */ |
68 | "WatchHi/WatchLo", /* 23 */ |
| 66 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
69 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
| 67 | "Virtual Coherency - data", |
70 | "Virtual Coherency - data", |
| 68 | }; |
71 | }; |
| 69 | 72 | ||
| 70 | static void print_regdump(istate_t *istate) |
73 | static void print_regdump(istate_t *istate) |
| 71 | { |
74 | { |
| 72 | char *pcsymbol = ""; |
75 | char *pcsymbol = ""; |
| Line 172... | Line 175... | ||
| 172 | exc_register(EXC_Sys, "syscall", (iroutine) syscall_exception); |
175 | exc_register(EXC_Sys, "syscall", (iroutine) syscall_exception); |
| 173 | } |
176 | } |
| 174 | 177 | ||
| 175 | /** @} |
178 | /** @} |
| 176 | */ |
179 | */ |
| 177 | - | ||