Changeset 19b3cc6 in mainline for kernel/arch/mips32/src/exception.c
- Timestamp:
- 2014-01-17T23:12:10Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e26a9d95
- Parents:
- fddffb2 (diff), facc34d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/exception.c
rfddffb2 r19b3cc6 48 48 #include <arch/debugger.h> 49 49 #include <symtab.h> 50 #include <log.h> 50 51 51 52 static const char *exctable[] = { … … 74 75 void istate_decode(istate_t *istate) 75 76 { 76 printf("epc=%#010" PRIx32 "\tsta=%#010" PRIx32 "\t"77 log_printf("epc=%#010" PRIx32 "\tsta=%#010" PRIx32 "\t" 77 78 "lo =%#010" PRIx32 "\thi =%#010" PRIx32 "\n", 78 79 istate->epc, istate->status, istate->lo, istate->hi); 79 80 80 printf("a0 =%#010" PRIx32 "\ta1 =%#010" PRIx32 "\t"81 log_printf("a0 =%#010" PRIx32 "\ta1 =%#010" PRIx32 "\t" 81 82 "a2 =%#010" PRIx32 "\ta3 =%#010" PRIx32 "\n", 82 83 istate->a0, istate->a1, istate->a2, istate->a3); 83 84 84 printf("t0 =%#010" PRIx32 "\tt1 =%#010" PRIx32 "\t"85 log_printf("t0 =%#010" PRIx32 "\tt1 =%#010" PRIx32 "\t" 85 86 "t2 =%#010" PRIx32 "\tt3 =%#010" PRIx32 "\n", 86 87 istate->t0, istate->t1, istate->t2, istate->t3); 87 88 88 printf("t4 =%#010" PRIx32 "\tt5 =%#010" PRIx32 "\t"89 log_printf("t4 =%#010" PRIx32 "\tt5 =%#010" PRIx32 "\t" 89 90 "t6 =%#010" PRIx32 "\tt7 =%#010" PRIx32 "\n", 90 91 istate->t4, istate->t5, istate->t6, istate->t7); 91 92 92 printf("t8 =%#010" PRIx32 "\tt9 =%#010" PRIx32 "\t"93 log_printf("t8 =%#010" PRIx32 "\tt9 =%#010" PRIx32 "\t" 93 94 "v0 =%#010" PRIx32 "\tv1 =%#010" PRIx32 "\n", 94 95 istate->t8, istate->t9, istate->v0, istate->v1); 95 96 96 printf("s0 =%#010" PRIx32 "\ts1 =%#010" PRIx32 "\t"97 log_printf("s0 =%#010" PRIx32 "\ts1 =%#010" PRIx32 "\t" 97 98 "s2 =%#010" PRIx32 "\ts3 =%#010" PRIx32 "\n", 98 99 istate->s0, istate->s1, istate->s2, istate->s3); 99 100 100 printf("s4 =%#010" PRIx32 "\ts5 =%#010" PRIx32 "\t"101 log_printf("s4 =%#010" PRIx32 "\ts5 =%#010" PRIx32 "\t" 101 102 "s6 =%#010" PRIx32 "\ts7 =%#010" PRIx32 "\n", 102 103 istate->s4, istate->s5, istate->s6, istate->s7); 103 104 104 printf("s8 =%#010" PRIx32 "\tat =%#010" PRIx32 "\t"105 log_printf("s8 =%#010" PRIx32 "\tat =%#010" PRIx32 "\t" 105 106 "kt0=%#010" PRIx32 "\tkt1=%#010" PRIx32 "\n", 106 107 istate->s8, istate->at, istate->kt0, istate->kt1); 107 108 108 printf("sp =%#010" PRIx32 "\tra =%#010" PRIx32 "\t"109 log_printf("sp =%#010" PRIx32 "\tra =%#010" PRIx32 "\t" 109 110 "gp =%#010" PRIx32 "\n", 110 111 istate->sp, istate->ra, istate->gp); … … 194 195 */ 195 196 #ifdef CONFIG_DEBUG 196 printf("cpu%u: spurious interrupt (inum=%u)\n", 197 log(LF_ARCH, LVL_DEBUG, 198 "cpu%u: spurious interrupt (inum=%u)", 197 199 CPU->id, i); 198 200 #endif
Note:
See TracChangeset
for help on using the changeset viewer.