Changes in kernel/generic/src/syscall/syscall.c [b93d637:5bcf1f9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/syscall/syscall.c
rb93d637 r5bcf1f9 41 41 #include <proc/program.h> 42 42 #include <mm/as.h> 43 #include <mm/page.h>44 43 #include <print.h> 45 44 #include <arch.h> … … 87 86 } else { 88 87 printf("Task %" PRIu64": Unknown syscall %#" PRIxn, TASK->taskid, id); 89 task_kill(TASK->taskid); 90 thread_exit(); 88 task_kill_self(true); 91 89 } 92 90 … … 132 130 (syshandler_t) sys_task_set_name, 133 131 (syshandler_t) sys_task_kill, 132 (syshandler_t) sys_task_exit, 134 133 (syshandler_t) sys_program_spawn_loader, 135 134 … … 145 144 (syshandler_t) sys_as_area_destroy, 146 145 147 /* Page mapping related syscalls. */148 (syshandler_t) sys_page_find_mapping,149 150 146 /* IPC related syscalls. */ 151 147 (syshandler_t) sys_ipc_call_sync_fast, … … 160 156 (syshandler_t) sys_ipc_poke, 161 157 (syshandler_t) sys_ipc_hangup, 162 (syshandler_t) sys_ipc_register_irq,163 (syshandler_t) sys_ipc_unregister_irq,164 158 (syshandler_t) sys_ipc_connect_kbox, 165 159 … … 175 169 (syshandler_t) sys_physmem_map, 176 170 (syshandler_t) sys_iospace_enable, 171 (syshandler_t) sys_register_irq, 172 (syshandler_t) sys_unregister_irq, 177 173 178 174 /* Sysinfo syscalls */
Note:
See TracChangeset
for help on using the changeset viewer.