Changes in kernel/generic/src/interrupt/interrupt.c [04e3d9f:96b02eb9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/interrupt/interrupt.c
r04e3d9f r96b02eb9 163 163 { 164 164 fault_if_from_uspace(istate, "Unhandled exception %u.", n); 165 panic ("Unhandled exception %u.", n);165 panic_badtrap(istate, n, "Unhandled exception %u.", n); 166 166 } 167 167 … … 176 176 printf("Task %s (%" PRIu64 ") killed due to an exception at " 177 177 "program counter %p.\n", TASK->name, TASK->taskid, 178 istate_get_pc(istate));178 (void *) istate_get_pc(istate)); 179 179 180 180 stack_trace_istate(istate); … … 197 197 /* Notify the subscriber that a fault occurred. */ 198 198 event_notify_3(EVENT_FAULT, LOWER32(TASK->taskid), 199 UPPER32(TASK->taskid), ( unative_t) THREAD);199 UPPER32(TASK->taskid), (sysarg_t) THREAD); 200 200 201 201 #ifdef CONFIG_UDEBUG … … 263 263 264 264 const char *symbol = 265 symtab_fmt_name_lookup(( unative_t) exc_table[i].handler);265 symtab_fmt_name_lookup((sysarg_t) exc_table[i].handler); 266 266 267 267 #ifdef __32_BITS__
Note:
See TracChangeset
for help on using the changeset viewer.