Changeset 5828554 in mainline for kernel/generic/src/syscall/syscall.c
- Timestamp:
- 2014-01-19T14:37:22Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cf982ff
- Parents:
- 2f591127 (diff), 476f62c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/syscall/syscall.c
r2f591127 r5828554 56 56 #include <console/console.h> 57 57 #include <udebug/udebug.h> 58 #include <log.h> 58 59 59 60 /** Dispatch system call */ … … 86 87 rc = syscall_table[id](a1, a2, a3, a4, a5, a6); 87 88 } else { 88 printf("Task %" PRIu64": Unknown syscall %#" PRIxn, TASK->taskid, id); 89 log(LF_OTHER, LVL_ERROR, 90 "Task %" PRIu64": Unknown syscall %#" PRIxn, TASK->taskid, id); 89 91 task_kill_self(true); 90 92 } … … 120 122 syshandler_t syscall_table[SYSCALL_END] = { 121 123 /* System management syscalls. */ 122 (syshandler_t) sys_k log,124 (syshandler_t) sys_kio, 123 125 (syshandler_t) sys_tls_set, 124 126 … … 190 192 191 193 /* Kernel console syscalls. */ 192 (syshandler_t) sys_debug_activate_console 194 (syshandler_t) sys_debug_activate_console, 195 196 (syshandler_t) sys_klog, 193 197 }; 194 198
Note:
See TracChangeset
for help on using the changeset viewer.