Rev 1119 | Rev 1221 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1119 | Rev 1126 | ||
---|---|---|---|
Line 87... | Line 87... | ||
87 | { |
87 | { |
88 | if (*((__u32 *)istate->epc) == 0x7c03e83b) { |
88 | if (*((__u32 *)istate->epc) == 0x7c03e83b) { |
89 | ASSERT(THREAD); |
89 | ASSERT(THREAD); |
90 | istate->epc += 4; |
90 | istate->epc += 4; |
91 | istate->v1 = istate->k1; |
91 | istate->v1 = istate->k1; |
92 | } else { |
92 | } else |
93 | print_regdump(istate); |
93 | unhandled_exception(n, istate); |
94 | panic("reserved instruction"); |
- | |
95 | } |
- | |
96 | } |
94 | } |
97 | 95 | ||
98 | static void breakpoint_exception(int n, istate_t *istate) |
96 | static void breakpoint_exception(int n, istate_t *istate) |
99 | { |
97 | { |
100 | #ifdef CONFIG_DEBUG |
98 | #ifdef CONFIG_DEBUG |