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