Rev 2089 | Rev 2187 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2089 | Rev 2120 | ||
|---|---|---|---|
| Line 70... | Line 70... | ||
| 70 | 70 | ||
| 71 | #ifdef KERNEL |
71 | #ifdef KERNEL |
| 72 | 72 | ||
| 73 | #include <arch/types.h> |
73 | #include <arch/types.h> |
| 74 | 74 | ||
| 75 | typedef unative_t (*syshandler_t)(); |
75 | typedef unative_t (*syshandler_t)(unative_t, unative_t, unative_t, unative_t); |
| 76 | 76 | ||
| 77 | extern syshandler_t syscall_table[SYSCALL_END]; |
77 | extern syshandler_t syscall_table[SYSCALL_END]; |
| 78 | extern unative_t syscall_handler(unative_t a1, unative_t a2, unative_t a3, |
78 | extern unative_t syscall_handler(unative_t a1, unative_t a2, unative_t a3, |
| 79 | unative_t a4, unative_t id); |
79 | unative_t a4, unative_t id); |
| 80 | extern unative_t sys_tls_set(unative_t addr); |
80 | extern unative_t sys_tls_set(unative_t addr); |