Rev 1819 | Rev 2012 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1819 | Rev 1863 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
35 | #ifndef __SYSCALL_H__ |
35 | #ifndef KERN_SYSCALL_H_ |
36 | #define __SYSCALL_H__ |
36 | #define KERN_SYSCALL_H_ |
37 | 37 | ||
38 | typedef enum { |
38 | typedef enum { |
39 | SYS_IO = 0, |
39 | SYS_IO = 0, |
40 | SYS_TLS_SET = 1, /* Hardcoded in AMD64, IA32 uspace - psthread.S */ |
40 | SYS_TLS_SET = 1, /* Hardcoded in AMD64, IA32 uspace - psthread.S */ |
41 | SYS_THREAD_CREATE, |
41 | SYS_THREAD_CREATE, |
Line 78... | Line 78... | ||
78 | extern syshandler_t syscall_table[SYSCALL_END]; |
78 | extern syshandler_t syscall_table[SYSCALL_END]; |
79 | extern unative_t syscall_handler(unative_t a1, unative_t a2, unative_t a3, |
79 | extern unative_t syscall_handler(unative_t a1, unative_t a2, unative_t a3, |
80 | unative_t a4, unative_t id); |
80 | unative_t a4, unative_t id); |
81 | extern unative_t sys_tls_set(unative_t addr); |
81 | extern unative_t sys_tls_set(unative_t addr); |
82 | 82 | ||
83 | - | ||
84 | #endif |
83 | #endif |
85 | 84 | ||
86 | #endif |
85 | #endif |
87 | 86 | ||
88 | /** @} |
87 | /** @} |