Changeset aa48a9d in mainline
- Timestamp:
- 2008-06-03T14:54:24Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c859753
- Parents:
- 52755f1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/syscall/syscall.c
r52755f1 raa48a9d 52 52 #include <sysinfo/sysinfo.h> 53 53 #include <console/console.h> 54 #include <console/klog.h>55 54 56 55 /** Print using kernel facility 57 56 * 58 * Some simulators can print only through kernel. Userspace can use59 * this syscall to facilitate it.57 * Print to kernel log. 58 * 60 59 */ 61 60 static unative_t sys_io(int fd, const void * buf, size_t count) … … 101 100 rc = syscall_table[id](a1, a2, a3, a4, a5, a6); 102 101 else { 103 klog_printf("TASK %llu: Unknown syscall id %llx", TASK->taskid, 104 id); 102 printf("Task %" PRIu64": Unknown syscall %#" PRIxn, TASK->taskid, id); 105 103 task_kill(TASK->taskid); 106 104 thread_exit(); … … 121 119 (syshandler_t) sys_thread_exit, 122 120 (syshandler_t) sys_thread_get_id, 121 123 122 (syshandler_t) sys_task_get_id, 123 (syshandler_t) sys_task_spawn, 124 124 125 125 /* Synchronization related syscalls. */
Note:
See TracChangeset
for help on using the changeset viewer.