Changeset b3b7e14a in mainline for kernel/arch/mips32/src/exception.c
- Timestamp:
- 2010-06-11T15:31:03Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 214ec25c
- Parents:
- be06914
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/exception.c
rbe06914 rb3b7e14a 167 167 void exception_init(void) 168 168 { 169 int i;169 unsigned int i; 170 170 171 171 /* Clear exception table */ 172 172 for (i = 0; i < IVT_ITEMS; i++) 173 exc_register(i, "undef", (iroutine) unhandled_exception); 173 exc_register(i, "undef", false, 174 (iroutine_t) unhandled_exception); 174 175 175 exc_register(EXC_Bp, "bkpoint", (iroutine) breakpoint_exception); 176 exc_register(EXC_RI, "resinstr", (iroutine) reserved_instr_exception); 177 exc_register(EXC_Mod, "tlb_mod", (iroutine) tlbmod_exception); 178 exc_register(EXC_TLBL, "tlbinvl", (iroutine) tlbinv_exception); 179 exc_register(EXC_TLBS, "tlbinvl", (iroutine) tlbinv_exception); 180 exc_register(EXC_Int, "interrupt", (iroutine) interrupt_exception); 176 exc_register(EXC_Bp, "bkpoint", true, 177 (iroutine_t) breakpoint_exception); 178 exc_register(EXC_RI, "resinstr", true, 179 (iroutine_t) reserved_instr_exception); 180 exc_register(EXC_Mod, "tlb_mod", true, 181 (iroutine_t) tlbmod_exception); 182 exc_register(EXC_TLBL, "tlbinvl", true, 183 (iroutine_t) tlbinv_exception); 184 exc_register(EXC_TLBS, "tlbinvl", true, 185 (iroutine_t) tlbinv_exception); 186 exc_register(EXC_Int, "interrupt", true, 187 (iroutine_t) interrupt_exception); 188 181 189 #ifdef CONFIG_FPU_LAZY 182 exc_register(EXC_CpU, "cpunus", (iroutine) cpuns_exception); 190 exc_register(EXC_CpU, "cpunus", true, 191 (iroutine_t) cpuns_exception); 183 192 #endif 184 exc_register(EXC_Sys, "syscall", (iroutine) syscall_exception); 193 194 exc_register(EXC_Sys, "syscall", true, 195 (iroutine_t) syscall_exception); 185 196 } 186 197
Note:
See TracChangeset
for help on using the changeset viewer.