2 * Copyright (C) 2006 Philippe Gerum <rpm@xenomai.org>.
4 * Xenomai is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * Xenomai is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with Xenomai; if not, write to the Free Software Foundation,
16 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 #ifndef _XENO_VRTX_SYSCALL_H
20 #define _XENO_VRTX_SYSCALL_H
23 #include <asm/xenomai/syscall.h>
24 #endif /* __XENO_SIM__ */
26 #define __vrtx_tecreate 0
27 #define __vrtx_tdelete 1
28 #define __vrtx_tpriority 2
29 #define __vrtx_tresume 3
30 #define __vrtx_tsuspend 4
31 #define __vrtx_tslice 5
32 #define __vrtx_tinquiry 6
34 #define __vrtx_unlock 8
35 #define __vrtx_delay 9
36 #define __vrtx_adelay 10
37 #define __vrtx_stime 11
38 #define __vrtx_gtime 12
39 #define __vrtx_sclock 13
40 #define __vrtx_gclock 14
41 #define __vrtx_mcreate 15
42 #define __vrtx_mdelete 16
43 #define __vrtx_mpost 17
44 #define __vrtx_maccept 18
45 #define __vrtx_mpend 19
46 #define __vrtx_minquiry 20
47 #define __vrtx_qecreate 21
48 #define __vrtx_qdelete 22
49 #define __vrtx_qpost 23
50 #define __vrtx_qbrdcst 24
51 #define __vrtx_qjam 25
52 #define __vrtx_qpend 26
53 #define __vrtx_qaccept 27
54 #define __vrtx_qinquiry 28
55 #define __vrtx_post 29
56 #define __vrtx_accept 30
57 #define __vrtx_pend 31
58 #define __vrtx_fcreate 32
59 #define __vrtx_fdelete 33
60 #define __vrtx_fpost 34
61 #define __vrtx_fpend 35
62 #define __vrtx_fclear 36
63 #define __vrtx_finquiry 37
64 #define __vrtx_screate 38
65 #define __vrtx_sdelete 39
66 #define __vrtx_spost 40
67 #define __vrtx_spend 41
68 #define __vrtx_saccept 42
69 #define __vrtx_sinquiry 43
70 #define __vrtx_hcreate 44
71 #define __vrtx_hbind 45 /* Internal call */
72 #define __vrtx_hdelete 46
73 #define __vrtx_halloc 47
74 #define __vrtx_hfree 48
75 #define __vrtx_hinquiry 49
76 #define __vrtx_pcreate 50
77 #define __vrtx_pbind 51 /* Internal call */
78 #define __vrtx_pdelete 52
79 #define __vrtx_gblock 53
80 #define __vrtx_rblock 54
81 #define __vrtx_pinquiry 55
83 struct vrtx_arg_bulk
{
93 #include <linux/time.h>
99 int vrtxsys_init(void);
101 void vrtxsys_cleanup(void);
107 #endif /* __KERNEL__ */
109 #endif /* _XENO_VRTX_SYSCALL_H */