Changeset 2f40fe4 in mainline for arch/mips32/src
- Timestamp:
- 2006-07-01T21:40:36Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5eabe73
- Parents:
- 7ee0e2f
- Location:
- arch/mips32/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/src/cache.c
r7ee0e2f r2f40fe4 27 27 */ 28 28 29 /** @addtogroup mips3229 /** @addtogroup mips32 30 30 * @{ 31 31 */ … … 34 34 35 35 #include <arch/cache.h> 36 #include <arch/exception.h> 37 #include <typedefs.h> 36 38 #include <panic.h> 37 39 38 void cache_error( void)40 void cache_error(istate_t *istate) 39 41 { 40 panic("cache_error exception \n");42 panic("cache_error exception (epc=%p)\n", istate->epc); 41 43 } 42 44 43 /** @}45 /** @} 44 46 */ 45 47 -
arch/mips32/src/exception.c
r7ee0e2f r2f40fe4 49 49 50 50 static char * exctable[] = { 51 "Interrupt","TLB Modified","TLB Invalid","TLB Invalid Store", 52 "Address Error - load/instr. fetch", 53 "Address Error - store", 54 "Bus Error - fetch instruction", 55 "Bus Error - data reference", 56 "Syscall", 57 "BreakPoint", 58 "Reserved Instruction", 59 "Coprocessor Unusable", 60 "Arithmetic Overflow", 61 "Trap", 62 "Virtual Coherency - instruction", 63 "Floating Point", 64 NULL, NULL, NULL, NULL, NULL, NULL, NULL, 65 "WatchHi/WatchLo", /* 23 */ 66 NULL, NULL, NULL, NULL, NULL, NULL, NULL, 67 "Virtual Coherency - data", 51 "Interrupt", 52 "TLB Modified", 53 "TLB Invalid", 54 "TLB Invalid Store", 55 "Address Error - load/instr. fetch", 56 "Address Error - store", 57 "Bus Error - fetch instruction", 58 "Bus Error - data reference", 59 "Syscall", 60 "BreakPoint", 61 "Reserved Instruction", 62 "Coprocessor Unusable", 63 "Arithmetic Overflow", 64 "Trap", 65 "Virtual Coherency - instruction", 66 "Floating Point", 67 NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68 "WatchHi/WatchLo", /* 23 */ 69 NULL, NULL, NULL, NULL, NULL, NULL, NULL, 70 "Virtual Coherency - data", 68 71 }; 69 72 … … 175 178 /** @} 176 179 */ 177 -
arch/mips32/src/start.S
r7ee0e2f r2f40fe4 310 310 add $sp, $k0, 0 311 311 312 jal tlb_refill /* tlb_refill(register_space) */312 jal tlb_refill 313 313 add $a0, $sp, 0 314 314 … … 325 325 326 326 jal cache_error 327 nop327 add $a0, $sp, 0 328 328 329 329 REGISTERS_LOAD $sp
Note:
See TracChangeset
for help on using the changeset viewer.
