Syscall messaging 4: Further expand the kernel-version of the syscall message.
[dragonfly.git] / sys / emulation / ibcs2 / i386 / ibcs2_xenix.h
1 /*
2  * System call prototypes.
3  *
4  * DO NOT EDIT-- this file is automatically generated.
5  * $DragonFly: src/sys/emulation/ibcs2/i386/Attic/ibcs2_xenix.h,v 1.7 2003/08/12 02:36:13 dillon Exp $
6  * created from DragonFly: src/sys/emulation/ibcs2/i386/syscalls.xenix,v 1.3 2003/08/07 21:17:17 dillon Exp 
7  */
8
9 #ifndef _IBCS2_XENIX_H_
10 #define _IBCS2_XENIX_H_
11
12 #include <sys/signal.h>
13
14 #include <sys/acl.h>
15
16 #include <sys/msgport.h>
17
18 #include <sys/sysmsg.h>
19
20 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
21                 0 : sizeof(register_t) - sizeof(t))
22
23 struct  xenix_rdchk_args {
24 #ifdef _KERNEL
25         union sysmsg sysmsg;
26 #endif
27         union usrmsg usrmsg;
28         int     fd;     char fd_[PAD_(int)];
29 };
30 struct  xenix_chsize_args {
31 #ifdef _KERNEL
32         union sysmsg sysmsg;
33 #endif
34         union usrmsg usrmsg;
35         int     fd;     char fd_[PAD_(int)];
36         long    size;   char size_[PAD_(long)];
37 };
38 struct  xenix_ftime_args {
39 #ifdef _KERNEL
40         union sysmsg sysmsg;
41 #endif
42         union usrmsg usrmsg;
43         struct timeb *  tp;     char tp_[PAD_(struct timeb *)];
44 };
45 struct  xenix_nap_args {
46 #ifdef _KERNEL
47         union sysmsg sysmsg;
48 #endif
49         union usrmsg usrmsg;
50         int     millisec;       char millisec_[PAD_(int)];
51 };
52 struct  xenix_scoinfo_args {
53 #ifdef _KERNEL
54         union sysmsg sysmsg;
55 #endif
56         union usrmsg usrmsg;
57         register_t dummy;
58 };
59 struct  xenix_eaccess_args {
60 #ifdef _KERNEL
61         union sysmsg sysmsg;
62 #endif
63         union usrmsg usrmsg;
64         char *  path;   char path_[PAD_(char *)];
65         int     flags;  char flags_[PAD_(int)];
66 };
67 struct  ibcs2_sigaction_args {
68 #ifdef _KERNEL
69         union sysmsg sysmsg;
70 #endif
71         union usrmsg usrmsg;
72         int     sig;    char sig_[PAD_(int)];
73         struct ibcs2_sigaction *        act;    char act_[PAD_(struct ibcs2_sigaction *)];
74         struct ibcs2_sigaction *        oact;   char oact_[PAD_(struct ibcs2_sigaction *)];
75 };
76 struct  ibcs2_sigprocmask_args {
77 #ifdef _KERNEL
78         union sysmsg sysmsg;
79 #endif
80         union usrmsg usrmsg;
81         int     how;    char how_[PAD_(int)];
82         ibcs2_sigset_t *        set;    char set_[PAD_(ibcs2_sigset_t *)];
83         ibcs2_sigset_t *        oset;   char oset_[PAD_(ibcs2_sigset_t *)];
84 };
85 struct  ibcs2_sigpending_args {
86 #ifdef _KERNEL
87         union sysmsg sysmsg;
88 #endif
89         union usrmsg usrmsg;
90         ibcs2_sigset_t *        mask;   char mask_[PAD_(ibcs2_sigset_t *)];
91 };
92 struct  ibcs2_sigsuspend_args {
93 #ifdef _KERNEL
94         union sysmsg sysmsg;
95 #endif
96         union usrmsg usrmsg;
97         ibcs2_sigset_t *        mask;   char mask_[PAD_(ibcs2_sigset_t *)];
98 };
99 struct  ibcs2_getgroups_args {
100 #ifdef _KERNEL
101         union sysmsg sysmsg;
102 #endif
103         union usrmsg usrmsg;
104         int     gidsetsize;     char gidsetsize_[PAD_(int)];
105         ibcs2_gid_t *   gidset; char gidset_[PAD_(ibcs2_gid_t *)];
106 };
107 struct  ibcs2_setgroups_args {
108 #ifdef _KERNEL
109         union sysmsg sysmsg;
110 #endif
111         union usrmsg usrmsg;
112         int     gidsetsize;     char gidsetsize_[PAD_(int)];
113         ibcs2_gid_t *   gidset; char gidset_[PAD_(ibcs2_gid_t *)];
114 };
115 struct  ibcs2_sysconf_args {
116 #ifdef _KERNEL
117         union sysmsg sysmsg;
118 #endif
119         union usrmsg usrmsg;
120         int     name;   char name_[PAD_(int)];
121 };
122 struct  ibcs2_pathconf_args {
123 #ifdef _KERNEL
124         union sysmsg sysmsg;
125 #endif
126         union usrmsg usrmsg;
127         char *  path;   char path_[PAD_(char *)];
128         int     name;   char name_[PAD_(int)];
129 };
130 struct  ibcs2_fpathconf_args {
131 #ifdef _KERNEL
132         union sysmsg sysmsg;
133 #endif
134         union usrmsg usrmsg;
135         int     fd;     char fd_[PAD_(int)];
136         int     name;   char name_[PAD_(int)];
137 };
138 struct  ibcs2_rename_args {
139 #ifdef _KERNEL
140         union sysmsg sysmsg;
141 #endif
142         union usrmsg usrmsg;
143         char *  from;   char from_[PAD_(char *)];
144         char *  to;     char to_[PAD_(char *)];
145 };
146 struct  xenix_utsname_args {
147 #ifdef _KERNEL
148         union sysmsg sysmsg;
149 #endif
150         union usrmsg usrmsg;
151         long    addr;   char addr_[PAD_(long)];
152 };
153
154 #ifdef _KERNEL
155
156 int     xenix_rdchk __P((struct xenix_rdchk_args *));
157 int     xenix_chsize __P((struct xenix_chsize_args *));
158 int     xenix_ftime __P((struct xenix_ftime_args *));
159 int     xenix_nap __P((struct xenix_nap_args *));
160 int     xenix_scoinfo __P((struct xenix_scoinfo_args *));
161 int     xenix_eaccess __P((struct xenix_eaccess_args *));
162 int     ibcs2_sigaction __P((struct ibcs2_sigaction_args *));
163 int     ibcs2_sigprocmask __P((struct ibcs2_sigprocmask_args *));
164 int     ibcs2_sigpending __P((struct ibcs2_sigpending_args *));
165 int     ibcs2_sigsuspend __P((struct ibcs2_sigsuspend_args *));
166 int     ibcs2_getgroups __P((struct ibcs2_getgroups_args *));
167 int     ibcs2_setgroups __P((struct ibcs2_setgroups_args *));
168 int     ibcs2_sysconf __P((struct ibcs2_sysconf_args *));
169 int     ibcs2_pathconf __P((struct ibcs2_pathconf_args *));
170 int     ibcs2_fpathconf __P((struct ibcs2_fpathconf_args *));
171 int     ibcs2_rename __P((struct ibcs2_rename_args *));
172 int     xenix_utsname __P((struct xenix_utsname_args *));
173
174 #endif /* _KERNEL */
175
176 #ifdef COMPAT_43
177
178
179 #ifdef _KERNEL
180
181
182 #endif /* _KERNEL */
183
184 #endif /* COMPAT_43 */
185
186 #undef PAD_
187
188 #endif /* !_IBCS2_XENIX_H_ */