Rev 1278 | Rev 1306 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1278 | Rev 1297 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | #define __SYSCALL_H__ |
30 | #define __SYSCALL_H__ |
31 | 31 | ||
32 | typedef enum { |
32 | typedef enum { |
33 | SYS_IO = 0, |
33 | SYS_IO = 0, |
34 | SYS_TLS_SET = 1, /* Hardcoded in AMD64,IA32 uspace - psthread.S */ |
34 | SYS_TLS_SET = 1, /* Hardcoded in AMD64,IA32 uspace - psthread.S */ |
35 | SYS_PREEMPT_CONTROL, |
- | |
36 | SYS_THREAD_CREATE, |
35 | SYS_THREAD_CREATE, |
37 | SYS_THREAD_EXIT, |
36 | SYS_THREAD_EXIT, |
38 | SYS_TASK_GET_ID, |
37 | SYS_TASK_GET_ID, |
39 | SYS_FUTEX_SLEEP, |
38 | SYS_FUTEX_SLEEP, |
40 | SYS_FUTEX_WAKEUP, |
39 | SYS_FUTEX_WAKEUP, |
Line 51... | Line 50... | ||
51 | SYS_IPC_FORWARD_FAST, |
50 | SYS_IPC_FORWARD_FAST, |
52 | SYS_IPC_WAIT, |
51 | SYS_IPC_WAIT, |
53 | SYS_IPC_HANGUP, |
52 | SYS_IPC_HANGUP, |
54 | SYS_IPC_REGISTER_IRQ, |
53 | SYS_IPC_REGISTER_IRQ, |
55 | SYS_IPC_UNREGISTER_IRQ, |
54 | SYS_IPC_UNREGISTER_IRQ, |
- | 55 | SYS_CAP_GRANT, |
|
- | 56 | SYS_CAP_REVOKE, |
|
56 | SYS_MAP_PHYSMEM, |
57 | SYS_MAP_PHYSMEM, |
57 | SYS_IOSPACE_ENABLE, |
58 | SYS_IOSPACE_ENABLE, |
- | 59 | SYS_PREEMPT_CONTROL, |
|
58 | SYSCALL_END |
60 | SYSCALL_END |
59 | } syscall_t; |
61 | } syscall_t; |
60 | 62 | ||
61 | #ifdef KERNEL |
63 | #ifdef KERNEL |
62 | 64 |