Changeset 547 for soft/giet_vm/giet_kernel/exc_handler.c
- Timestamp:
- Apr 5, 2015, 12:09:09 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_kernel/exc_handler.c
r528 r547 32 32 // Initialize the exception vector indexed by the CR XCODE field 33 33 /////////////////////////////////////////////////////////////////////////////////// 34 35 __attribute__((section(".kdata"))) 34 36 const _exc_func_t _cause_vector[16] = 35 37 { … … 52 54 }; 53 55 54 static const char * exc_type[] =55 {56 "strange unknown cause",57 "illegal read address",58 "illegal write address",59 "inst bus error",60 "data bus error",61 "breakpoint",62 "reserved instruction",63 "illegal coproc access",64 "arithmetic overflow",65 };66 67 56 /////////////////////////////////////////////// 68 57 static void _display_cause( unsigned int type ) … … 77 66 78 67 68 const char * mips32_exc_str[] = { "strange unknown cause ", 69 "illegal read address ", 70 "illegal write address ", 71 "inst bus error ", 72 "data bus error ", 73 "breakpoint ", 74 "reserved instruction ", 75 "illegal coproc access ", 76 "arithmetic overflow "}; 77 79 78 _printf("\n[GIET] Exception for task %d on processor[%d,%d,%d] at cycle %d\n" 80 79 " - type : %s\n" … … 83 82 "...Task desactivated\n", 84 83 task, x, y, lpid, _get_proctime(), 85 exc_type[type], _get_epc(), _get_bvar() );84 mips32_exc_str[type], _get_epc(), _get_bvar() ); 86 85 87 86 // goes to sleeping state
Note: See TracChangeset
for help on using the changeset viewer.