Changeset f651e80 in mainline for kernel/arch/mips32/src
- Timestamp:
- 2009-01-08T12:07:38Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7447572
- Parents:
- c571f42
- Location:
- kernel/arch/mips32/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/cache.c
rc571f42 rf651e80 39 39 void cache_error(istate_t *istate) 40 40 { 41 panic("cache_error exception (epc=%p) \n", istate->epc);41 panic("cache_error exception (epc=%p).", istate->epc); 42 42 } 43 43 -
kernel/arch/mips32/src/debugger.c
rc571f42 rf651e80 317 317 /* test branch delay slot */ 318 318 if (cp0_cause_read() & 0x80000000) 319 panic("Breakpoint in branch delay slot not supported. \n");319 panic("Breakpoint in branch delay slot not supported."); 320 320 321 321 spinlock_lock(&bkpoint_lock); -
kernel/arch/mips32/src/exception.c
rc571f42 rf651e80 89 89 static void unhandled_exception(int n, istate_t *istate) 90 90 { 91 fault_if_from_uspace(istate, "Unhandled exception %s ", exctable[n]);91 fault_if_from_uspace(istate, "Unhandled exception %s.", exctable[n]); 92 92 93 93 print_regdump(istate); 94 panic("Unhandled exception %s. \n", exctable[n]);94 panic("Unhandled exception %s.", exctable[n]); 95 95 } 96 96 … … 133 133 scheduler_fpu_lazy_request(); 134 134 else { 135 fault_if_from_uspace(istate, "Unhandled Coprocessor Unusable Exception ");136 panic("Unhandled Coprocessor Unusable Exception. \n");135 fault_if_from_uspace(istate, "Unhandled Coprocessor Unusable Exception."); 136 panic("Unhandled Coprocessor Unusable Exception."); 137 137 } 138 138 } … … 171 171 static void syscall_exception(int n, istate_t *istate) 172 172 { 173 panic("Syscall is handled through shortcut ");173 panic("Syscall is handled through shortcut."); 174 174 } 175 175 -
kernel/arch/mips32/src/mm/tlb.c
rc571f42 rf651e80 116 116 return; 117 117 default: 118 panic(" unexpected pfrc (%d)\n", pfrc);118 panic("Unexpected pfrc (%d).", pfrc); 119 119 } 120 120 } … … 200 200 return; 201 201 default: 202 panic(" unexpected pfrc (%d)\n", pfrc);202 panic("Unexpected pfrc (%d).", pfrc); 203 203 } 204 204 } … … 283 283 return; 284 284 default: 285 panic(" unexpected pfrc (%d)\n", pfrc);285 panic("Unexpected pfrc (%d).", pfrc); 286 286 } 287 287 } … … 331 331 sym2 = s; 332 332 333 fault_if_from_uspace(istate, "TLB Refill Exception on %p ",333 fault_if_from_uspace(istate, "TLB Refill Exception on %p.", 334 334 cp0_badvaddr_read()); 335 panic("%x: TLB Refill Exception at %x(%s<-%s). \n", cp0_badvaddr_read(),335 panic("%x: TLB Refill Exception at %x(%s<-%s).", cp0_badvaddr_read(), 336 336 istate->epc, symbol, sym2); 337 337 } … … 345 345 if (s) 346 346 symbol = s; 347 fault_if_from_uspace(istate, "TLB Invalid Exception on %p ",347 fault_if_from_uspace(istate, "TLB Invalid Exception on %p.", 348 348 cp0_badvaddr_read()); 349 panic("%x: TLB Invalid Exception at %x(%s). \n", cp0_badvaddr_read(),349 panic("%x: TLB Invalid Exception at %x(%s).", cp0_badvaddr_read(), 350 350 istate->epc, symbol); 351 351 } … … 358 358 if (s) 359 359 symbol = s; 360 fault_if_from_uspace(istate, "TLB Modified Exception on %p ",360 fault_if_from_uspace(istate, "TLB Modified Exception on %p.", 361 361 cp0_badvaddr_read()); 362 panic("%x: TLB Modified Exception at %x(%s). \n", cp0_badvaddr_read(),362 panic("%x: TLB Modified Exception at %x(%s).", cp0_badvaddr_read(), 363 363 istate->epc, symbol); 364 364 } … … 434 434 break; 435 435 default: 436 panic(" unexpected rc (%d)\n", rc);436 panic("Unexpected rc (%d).", rc); 437 437 } 438 438
Note:
See TracChangeset
for help on using the changeset viewer.