Changes in kernel/arch/mips32/src/exception.c [a000878c:e16e0d59] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/exception.c
ra000878c re16e0d59 49 49 #include <symtab.h> 50 50 51 static c onst char *exctable[] = {51 static char * exctable[] = { 52 52 "Interrupt", 53 53 "TLB Modified", … … 74 74 static void print_regdump(istate_t *istate) 75 75 { 76 const char *pcsymbol = symtab_fmt_name_lookup(istate->epc); 77 const char *rasymbol = symtab_fmt_name_lookup(istate->ra); 78 76 char *pcsymbol, *rasymbol; 77 78 pcsymbol = symtab_fmt_name_lookup(istate->epc); 79 rasymbol = symtab_fmt_name_lookup(istate->ra); 80 79 81 printf("PC: %#x(%s) RA: %#x(%s), SP(%p)\n", istate->epc, pcsymbol, 80 82 istate->ra, rasymbol, istate->sp); … … 91 93 static void reserved_instr_exception(int n, istate_t *istate) 92 94 { 93 if (*((uint32_t *) 95 if (*((uint32_t *)istate->epc) == 0x7c03e83b) { 94 96 ASSERT(THREAD); 95 97 istate->epc += 4; 96 98 istate->v1 = istate->k1; 97 } else 99 } else 98 100 unhandled_exception(n, istate); 99 101 }
Note:
See TracChangeset
for help on using the changeset viewer.