Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/interrupt/interrupt.c

    r04e3d9f r96b02eb9  
    163163{
    164164        fault_if_from_uspace(istate, "Unhandled exception %u.", n);
    165         panic("Unhandled exception %u.", n);
     165        panic_badtrap(istate, n, "Unhandled exception %u.", n);
    166166}
    167167
     
    176176        printf("Task %s (%" PRIu64 ") killed due to an exception at "
    177177            "program counter %p.\n", TASK->name, TASK->taskid,
    178             istate_get_pc(istate));
     178            (void *) istate_get_pc(istate));
    179179       
    180180        stack_trace_istate(istate);
     
    197197                /* Notify the subscriber that a fault occurred. */
    198198                event_notify_3(EVENT_FAULT, LOWER32(TASK->taskid),
    199                     UPPER32(TASK->taskid), (unative_t) THREAD);
     199                    UPPER32(TASK->taskid), (sysarg_t) THREAD);
    200200               
    201201#ifdef CONFIG_UDEBUG
     
    263263               
    264264                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);
    266266               
    267267#ifdef __32_BITS__
Note: See TracChangeset for help on using the changeset viewer.