Rev 3097 | Rev 3222 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3097 | Rev 3113 | ||
---|---|---|---|
Line 55... | Line 55... | ||
55 | /** Print using kernel facility |
55 | /** Print using kernel facility |
56 | * |
56 | * |
57 | * Print to kernel log. |
57 | * Print to kernel log. |
58 | * |
58 | * |
59 | */ |
59 | */ |
60 | static unative_t sys_io(int fd, const void * buf, size_t count) |
60 | static unative_t sys_klog(int fd, const void * buf, size_t count) |
61 | { |
61 | { |
62 | size_t i; |
62 | size_t i; |
63 | char *data; |
63 | char *data; |
64 | int rc; |
64 | int rc; |
65 | 65 | ||
Line 112... | Line 112... | ||
112 | 112 | ||
113 | return rc; |
113 | return rc; |
114 | } |
114 | } |
115 | 115 | ||
116 | syshandler_t syscall_table[SYSCALL_END] = { |
116 | syshandler_t syscall_table[SYSCALL_END] = { |
117 | (syshandler_t) sys_io, |
117 | (syshandler_t) sys_klog, |
118 | (syshandler_t) sys_tls_set, |
118 | (syshandler_t) sys_tls_set, |
119 | 119 | ||
120 | /* Thread and task related syscalls. */ |
120 | /* Thread and task related syscalls. */ |
121 | (syshandler_t) sys_thread_create, |
121 | (syshandler_t) sys_thread_create, |
122 | (syshandler_t) sys_thread_exit, |
122 | (syshandler_t) sys_thread_exit, |