19 #ifndef _POSIX_SYSCALL_H
20 #define _POSIX_SYSCALL_H
23 #include <asm/xenomai/syscall.h>
26 #define __pse51_thread_create 0
27 #define __pse51_thread_detach 1
28 #define __pse51_thread_setschedparam 2
29 #define __pse51_sched_yield 3
30 #define __pse51_thread_make_periodic 4
31 #define __pse51_thread_wait 5
32 #define __pse51_thread_set_mode 6
33 #define __pse51_thread_set_name 7
34 #define __pse51_sem_init 8
35 #define __pse51_sem_destroy 9
36 #define __pse51_sem_post 10
37 #define __pse51_sem_wait 11
38 #define __pse51_sem_trywait 12
39 #define __pse51_sem_getvalue 13
40 #define __pse51_clock_getres 14
41 #define __pse51_clock_gettime 15
42 #define __pse51_clock_settime 16
43 #define __pse51_clock_nanosleep 17
44 #define __pse51_mutex_init 18
45 #define __pse51_mutex_destroy 19
46 #define __pse51_mutex_lock 20
47 #define __pse51_mutex_timedlock 21
48 #define __pse51_mutex_trylock 22
49 #define __pse51_check_init __pse51_mutex_trylock
50 #define __pse51_mutex_unlock 23
51 #define __pse51_cond_init 24
52 #define __pse51_cond_destroy 25
53 #define __pse51_cond_wait_prologue 26
54 #define __pse51_cond_wait_epilogue 27
55 #define __pse51_cond_signal 28
56 #define __pse51_cond_broadcast 29
57 #define __pse51_mq_open 30
58 #define __pse51_mq_close 31
59 #define __pse51_mq_unlink 32
60 #define __pse51_mq_getattr 33
61 #define __pse51_mq_setattr 34
62 #define __pse51_mq_send 35
63 #define __pse51_mq_timedsend 36
64 #define __pse51_mq_receive 37
65 #define __pse51_mq_timedreceive 38
66 #define __pse51_intr_attach 39
67 #define __pse51_intr_detach 40
68 #define __pse51_intr_wait 41
69 #define __pse51_intr_control 42
70 #define __pse51_timer_create 43
71 #define __pse51_timer_delete 44
72 #define __pse51_timer_settime 45
73 #define __pse51_timer_gettime 46
74 #define __pse51_timer_getoverrun 47
75 #define __pse51_sem_open 48
76 #define __pse51_sem_close 49
77 #define __pse51_sem_unlink 50
78 #define __pse51_sem_timedwait 51
79 #define __pse51_mq_notify 52
80 #define __pse51_shm_open 53
81 #define __pse51_shm_unlink 54
82 #define __pse51_shm_close 55
83 #define __pse51_ftruncate 56
84 #define __pse51_mmap_prologue 57
85 #define __pse51_mmap_epilogue 58
86 #define __pse51_munmap_prologue 59
87 #define __pse51_munmap_epilogue 60
88 #define __pse51_mutexattr_init 61
89 #define __pse51_mutexattr_destroy 62
90 #define __pse51_mutexattr_gettype 63
91 #define __pse51_mutexattr_settype 64
92 #define __pse51_mutexattr_getprotocol 65
93 #define __pse51_mutexattr_setprotocol 66
94 #define __pse51_mutexattr_getpshared 67
95 #define __pse51_mutexattr_setpshared 68
96 #define __pse51_condattr_init 69
97 #define __pse51_condattr_destroy 70
98 #define __pse51_condattr_getclock 71
99 #define __pse51_condattr_setclock 72
100 #define __pse51_condattr_getpshared 73
101 #define __pse51_condattr_setpshared 74
102 #define __pse51_thread_getschedparam 75
103 #define __pse51_thread_kill 76
104 #define __pse51_select 77
105 #define __pse51_thread_setschedparam_ex 78
106 #define __pse51_thread_getschedparam_ex 79
107 #define __pse51_sched_setconfig_np 80
115 int pse51_syscall_init(
void);
117 void pse51_syscall_cleanup(
void);