Changeset 9a1b20c in mainline for kernel/generic/src/syscall/syscall.c
- Timestamp:
- 2008-09-17T12:16:27Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fb9b0b0
- Parents:
- 06a195bc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/syscall/syscall.c
r06a195bc r9a1b20c 54 54 #include <sysinfo/sysinfo.h> 55 55 #include <console/console.h> 56 #include <udebug/udebug.h> 56 57 57 58 /** Print using kernel facility … … 102 103 unative_t rc; 103 104 104 if (id < SYSCALL_END) 105 #ifdef CONFIG_UDEBUG 106 udebug_syscall_event(a1, a2, a3, a4, a5, a6, id, 0, false); 107 #endif 108 109 if (id < SYSCALL_END) { 110 #ifdef CONFIG_UDEBUG 111 udebug_stoppable_begin(); 112 #endif 105 113 rc = syscall_table[id](a1, a2, a3, a4, a5, a6); 106 else {114 } else { 107 115 printf("Task %" PRIu64": Unknown syscall %#" PRIxn, TASK->taskid, id); 108 116 task_kill(TASK->taskid); … … 112 120 if (THREAD->interrupted) 113 121 thread_exit(); 122 123 #ifdef CONFIG_UDEBUG 124 udebug_syscall_event(a1, a2, a3, a4, a5, a6, id, rc, true); 125 udebug_stoppable_end(); 126 #endif 114 127 115 128 return rc; … … 166 179 167 180 /* Debug calls */ 168 (syshandler_t) sys_debug_enable_console 181 (syshandler_t) sys_debug_enable_console, 182 183 (syshandler_t) sys_ipc_connect_kbox 169 184 }; 170 185
Note:
See TracChangeset
for help on using the changeset viewer.