Rev 2895 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2895 | Rev 3424 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | 34 | ||
35 | #include <kernel/syscall/syscall.h> |
35 | #include <kernel/syscall/syscall.h> |
36 | #include "syscalls.h" |
36 | #include "syscalls.h" |
37 | 37 | ||
38 | const sc_desc_t syscall_desc[] = { |
38 | const sc_desc_t syscall_desc[] = { |
39 | [SYS_IO] ={ "io", 3, RV_INT_ERRNO }, |
39 | [SYS_KLOG] ={ "klog", 3, RV_INT_ERRNO }, |
40 | [SYS_TLS_SET] = { "tls_set", 1, RV_ERRNO }, |
40 | [SYS_TLS_SET] = { "tls_set", 1, RV_ERRNO }, |
41 | [SYS_THREAD_CREATE] = { "thread_create", 3, RV_ERRNO }, |
41 | [SYS_THREAD_CREATE] = { "thread_create", 3, RV_ERRNO }, |
42 | [SYS_THREAD_EXIT] = { "thread_exit", 1, RV_ERRNO }, |
42 | [SYS_THREAD_EXIT] = { "thread_exit", 1, RV_ERRNO }, |
43 | [SYS_THREAD_GET_ID] = { "thread_get_id", 1, RV_ERRNO }, |
43 | [SYS_THREAD_GET_ID] = { "thread_get_id", 1, RV_ERRNO }, |
44 | 44 |