Changeset a35b458 in mainline for kernel/arch/mips32/src/exception.c
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/exception.c
r3061bc1 ra35b458 77 77 "lo =%#010" PRIx32 "\thi =%#010" PRIx32 "\n", 78 78 istate->epc, istate->status, istate->lo, istate->hi); 79 79 80 80 log_printf("a0 =%#010" PRIx32 "\ta1 =%#010" PRIx32 "\t" 81 81 "a2 =%#010" PRIx32 "\ta3 =%#010" PRIx32 "\n", 82 82 istate->a0, istate->a1, istate->a2, istate->a3); 83 83 84 84 log_printf("t0 =%#010" PRIx32 "\tt1 =%#010" PRIx32 "\t" 85 85 "t2 =%#010" PRIx32 "\tt3 =%#010" PRIx32 "\n", 86 86 istate->t0, istate->t1, istate->t2, istate->t3); 87 87 88 88 log_printf("t4 =%#010" PRIx32 "\tt5 =%#010" PRIx32 "\t" 89 89 "t6 =%#010" PRIx32 "\tt7 =%#010" PRIx32 "\n", 90 90 istate->t4, istate->t5, istate->t6, istate->t7); 91 91 92 92 log_printf("t8 =%#010" PRIx32 "\tt9 =%#010" PRIx32 "\t" 93 93 "v0 =%#010" PRIx32 "\tv1 =%#010" PRIx32 "\n", 94 94 istate->t8, istate->t9, istate->v0, istate->v1); 95 95 96 96 log_printf("s0 =%#010" PRIx32 "\ts1 =%#010" PRIx32 "\t" 97 97 "s2 =%#010" PRIx32 "\ts3 =%#010" PRIx32 "\n", 98 98 istate->s0, istate->s1, istate->s2, istate->s3); 99 99 100 100 log_printf("s4 =%#010" PRIx32 "\ts5 =%#010" PRIx32 "\t" 101 101 "s6 =%#010" PRIx32 "\ts7 =%#010" PRIx32 "\n", 102 102 istate->s4, istate->s5, istate->s6, istate->s7); 103 103 104 104 log_printf("s8 =%#010" PRIx32 "\tat =%#010" PRIx32 "\t" 105 105 "kt0=%#010" PRIx32 "\tkt1=%#010" PRIx32 "\n", 106 106 istate->s8, istate->at, istate->kt0, istate->kt1); 107 107 108 108 log_printf("sp =%#010" PRIx32 "\tra =%#010" PRIx32 "\t" 109 109 "gp =%#010" PRIx32 "\n", … … 171 171 ip = (cp0_cause_read() & cp0_cause_ip_mask) >> cp0_cause_ip_shift; 172 172 im = (cp0_status_read() & cp0_status_im_mask) >> cp0_status_im_shift; 173 173 174 174 unsigned int i; 175 175 for (i = 0; i < 8; i++) { … … 212 212 { 213 213 unsigned int i; 214 214 215 215 /* Clear exception table */ 216 216 for (i = 0; i < IVT_ITEMS; i++) 217 217 exc_register(i, "undef", false, 218 218 (iroutine_t) unhandled_exception); 219 219 220 220 exc_register(EXC_Bp, "bkpoint", true, 221 221 (iroutine_t) breakpoint_exception); … … 230 230 exc_register(EXC_Int, "interrupt", true, 231 231 (iroutine_t) interrupt_exception); 232 232 233 233 #ifdef CONFIG_FPU_LAZY 234 234 exc_register(EXC_CpU, "cpunus", true, 235 235 (iroutine_t) cpuns_exception); 236 236 #endif 237 237 238 238 exc_register(EXC_Sys, "syscall", true, 239 239 (iroutine_t) syscall_exception);
Note:
See TracChangeset
for help on using the changeset viewer.