Changeset 3b712407 in mainline for arch/mips32/src/exception.c
- Timestamp:
- 2006-03-23T21:15:59Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e1be3b6
- Parents:
- 38ee55b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/src/exception.c
r38ee55b r3b712407 84 84 } 85 85 86 static void reserved_instr_exception(int n, istate_t *istate) 87 { 88 if (*((__u32 *)istate->epc) == 0x7c03e83b) { 89 ASSERT(THREAD); 90 istate->epc += 4; 91 istate->v1 = istate->k1; 92 } else { 93 print_regdump(istate); 94 panic("reserved instruction"); 95 } 96 } 97 86 98 static void breakpoint_exception(int n, istate_t *istate) 87 99 { … … 143 155 exc_register(i, "undef", (iroutine) unhandled_exception); 144 156 exc_register(EXC_Bp, "bkpoint", (iroutine) breakpoint_exception); 157 exc_register(EXC_RI, "resinstr", (iroutine) reserved_instr_exception); 145 158 exc_register(EXC_Mod, "tlb_mod", (iroutine) tlbmod_exception); 146 159 exc_register(EXC_TLBL, "tlbinvl", (iroutine) tlbinv_exception);
Note:
See TracChangeset
for help on using the changeset viewer.