Ignore:
File:
1 edited

Legend:

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

    r5bcf1f9 r77429d3  
    8686        } else {
    8787                printf("Task %" PRIu64": Unknown syscall %#" PRIxn, TASK->taskid, id);
    88                 task_kill_self(true);
     88                task_kill(TASK->taskid);
     89                thread_exit();
    8990        }
    9091       
     
    130131        (syshandler_t) sys_task_set_name,
    131132        (syshandler_t) sys_task_kill,
    132         (syshandler_t) sys_task_exit,
    133133        (syshandler_t) sys_program_spawn_loader,
    134134       
     
    156156        (syshandler_t) sys_ipc_poke,
    157157        (syshandler_t) sys_ipc_hangup,
     158        (syshandler_t) sys_ipc_register_irq,
     159        (syshandler_t) sys_ipc_unregister_irq,
    158160        (syshandler_t) sys_ipc_connect_kbox,
    159161       
     
    169171        (syshandler_t) sys_physmem_map,
    170172        (syshandler_t) sys_iospace_enable,
    171         (syshandler_t) sys_register_irq,
    172         (syshandler_t) sys_unregister_irq,
    173173       
    174174        /* Sysinfo syscalls */
Note: See TracChangeset for help on using the changeset viewer.