aoutm68k_syscallargs.h revision 1.3.2.3 1 1.3.2.3 bouyer /* $NetBSD: aoutm68k_syscallargs.h,v 1.3.2.3 2001/02/11 19:13:21 bouyer Exp $ */
2 1.3.2.2 bouyer
3 1.3.2.2 bouyer /*
4 1.3.2.2 bouyer * System call argument lists.
5 1.3.2.2 bouyer *
6 1.3.2.2 bouyer * DO NOT EDIT-- this file is automatically generated.
7 1.3.2.3 bouyer * created from NetBSD: syscalls.master,v 1.4 2001/01/27 07:51:22 thorpej Exp
8 1.3.2.2 bouyer */
9 1.3.2.2 bouyer
10 1.3.2.2 bouyer #ifndef _AOUTM68K_SYS__SYSCALLARGS_H_
11 1.3.2.2 bouyer #define _AOUTM68K_SYS__SYSCALLARGS_H_
12 1.3.2.2 bouyer
13 1.3.2.2 bouyer #ifdef syscallarg
14 1.3.2.2 bouyer #undef syscallarg
15 1.3.2.2 bouyer #endif
16 1.3.2.2 bouyer
17 1.3.2.2 bouyer #define syscallarg(x) \
18 1.3.2.2 bouyer union { \
19 1.3.2.2 bouyer register_t pad; \
20 1.3.2.2 bouyer struct { x datum; } le; \
21 1.3.2.2 bouyer struct { \
22 1.3.2.2 bouyer int8_t pad[ (sizeof (register_t) < sizeof (x)) \
23 1.3.2.2 bouyer ? 0 \
24 1.3.2.2 bouyer : sizeof (register_t) - sizeof (x)]; \
25 1.3.2.2 bouyer x datum; \
26 1.3.2.2 bouyer } be; \
27 1.3.2.2 bouyer }
28 1.3.2.2 bouyer
29 1.3.2.2 bouyer struct aoutm68k_sys_open_args {
30 1.3.2.2 bouyer syscallarg(const char *) path;
31 1.3.2.2 bouyer syscallarg(int) flags;
32 1.3.2.2 bouyer syscallarg(mode_t) mode;
33 1.3.2.2 bouyer };
34 1.3.2.2 bouyer
35 1.3.2.2 bouyer struct aoutm68k_sys_link_args {
36 1.3.2.2 bouyer syscallarg(const char *) path;
37 1.3.2.2 bouyer syscallarg(const char *) link;
38 1.3.2.2 bouyer };
39 1.3.2.2 bouyer
40 1.3.2.2 bouyer struct aoutm68k_sys_unlink_args {
41 1.3.2.2 bouyer syscallarg(const char *) path;
42 1.3.2.2 bouyer };
43 1.3.2.2 bouyer
44 1.3.2.2 bouyer struct aoutm68k_sys_chdir_args {
45 1.3.2.2 bouyer syscallarg(const char *) path;
46 1.3.2.2 bouyer };
47 1.3.2.2 bouyer
48 1.3.2.2 bouyer struct aoutm68k_sys_chmod_args {
49 1.3.2.2 bouyer syscallarg(const char *) path;
50 1.3.2.2 bouyer syscallarg(mode_t) mode;
51 1.3.2.2 bouyer };
52 1.3.2.2 bouyer
53 1.3.2.2 bouyer struct aoutm68k_sys_chown_args {
54 1.3.2.2 bouyer syscallarg(const char *) path;
55 1.3.2.2 bouyer syscallarg(uid_t) uid;
56 1.3.2.2 bouyer syscallarg(gid_t) gid;
57 1.3.2.2 bouyer };
58 1.3.2.2 bouyer
59 1.3.2.2 bouyer struct aoutm68k_sys_access_args {
60 1.3.2.2 bouyer syscallarg(const char *) path;
61 1.3.2.2 bouyer syscallarg(int) flags;
62 1.3.2.2 bouyer };
63 1.3.2.2 bouyer
64 1.3.2.2 bouyer struct aoutm68k_sys_chflags_args {
65 1.3.2.2 bouyer syscallarg(const char *) path;
66 1.3.2.2 bouyer syscallarg(u_long) flags;
67 1.3.2.2 bouyer };
68 1.3.2.2 bouyer
69 1.3.2.2 bouyer struct aoutm68k_compat_43_sys_stat_args {
70 1.3.2.2 bouyer syscallarg(const char *) path;
71 1.3.2.2 bouyer syscallarg(struct aoutm68k_stat43 *) ub;
72 1.3.2.2 bouyer };
73 1.3.2.2 bouyer
74 1.3.2.2 bouyer struct aoutm68k_compat_43_sys_lstat_args {
75 1.3.2.2 bouyer syscallarg(const char *) path;
76 1.3.2.2 bouyer syscallarg(struct aoutm68k_stat43 *) ub;
77 1.3.2.2 bouyer };
78 1.3.2.2 bouyer
79 1.3.2.2 bouyer struct aoutm68k_sys_ioctl_args {
80 1.3.2.2 bouyer syscallarg(int) fd;
81 1.3.2.2 bouyer syscallarg(u_long) com;
82 1.3.2.2 bouyer syscallarg(void *) data;
83 1.3.2.2 bouyer };
84 1.3.2.2 bouyer
85 1.3.2.2 bouyer struct aoutm68k_sys_revoke_args {
86 1.3.2.2 bouyer syscallarg(const char *) path;
87 1.3.2.2 bouyer };
88 1.3.2.2 bouyer
89 1.3.2.2 bouyer struct aoutm68k_sys_symlink_args {
90 1.3.2.2 bouyer syscallarg(const char *) path;
91 1.3.2.2 bouyer syscallarg(const char *) link;
92 1.3.2.2 bouyer };
93 1.3.2.2 bouyer
94 1.3.2.2 bouyer struct aoutm68k_sys_readlink_args {
95 1.3.2.2 bouyer syscallarg(const char *) path;
96 1.3.2.2 bouyer syscallarg(char *) buf;
97 1.3.2.2 bouyer syscallarg(size_t) count;
98 1.3.2.2 bouyer };
99 1.3.2.2 bouyer
100 1.3.2.2 bouyer struct aoutm68k_sys_execve_args {
101 1.3.2.2 bouyer syscallarg(const char *) path;
102 1.3.2.2 bouyer syscallarg(char *const *) argp;
103 1.3.2.2 bouyer syscallarg(char *const *) envp;
104 1.3.2.2 bouyer };
105 1.3.2.2 bouyer
106 1.3.2.2 bouyer struct aoutm68k_sys_chroot_args {
107 1.3.2.2 bouyer syscallarg(const char *) path;
108 1.3.2.2 bouyer };
109 1.3.2.2 bouyer
110 1.3.2.2 bouyer struct aoutm68k_compat_43_sys_fstat_args {
111 1.3.2.2 bouyer syscallarg(int) fd;
112 1.3.2.2 bouyer syscallarg(struct aoutm68k_stat43 *) sb;
113 1.3.2.2 bouyer };
114 1.3.2.2 bouyer
115 1.3.2.2 bouyer struct aoutm68k_sys_rename_args {
116 1.3.2.2 bouyer syscallarg(const char *) from;
117 1.3.2.2 bouyer syscallarg(const char *) to;
118 1.3.2.2 bouyer };
119 1.3.2.2 bouyer
120 1.3.2.2 bouyer struct aoutm68k_compat_43_sys_truncate_args {
121 1.3.2.2 bouyer syscallarg(const char *) path;
122 1.3.2.2 bouyer syscallarg(long) length;
123 1.3.2.2 bouyer };
124 1.3.2.2 bouyer
125 1.3.2.2 bouyer struct aoutm68k_sys_rmdir_args {
126 1.3.2.2 bouyer syscallarg(const char *) path;
127 1.3.2.2 bouyer };
128 1.3.2.2 bouyer
129 1.3.2.2 bouyer struct aoutm68k_sys_utimes_args {
130 1.3.2.2 bouyer syscallarg(const char *) path;
131 1.3.2.2 bouyer syscallarg(const struct timeval *) tptr;
132 1.3.2.2 bouyer };
133 1.3.2.2 bouyer
134 1.3.2.2 bouyer struct aoutm68k_sys_statfs_args {
135 1.3.2.2 bouyer syscallarg(const char *) path;
136 1.3.2.2 bouyer syscallarg(struct statfs *) buf;
137 1.3.2.2 bouyer };
138 1.3.2.2 bouyer
139 1.3.2.2 bouyer struct aoutm68k_sys_getfh_args {
140 1.3.2.2 bouyer syscallarg(const char *) fname;
141 1.3.2.2 bouyer syscallarg(fhandle_t *) fhp;
142 1.3.2.2 bouyer };
143 1.3.2.2 bouyer
144 1.3.2.2 bouyer struct aoutm68k_compat_12_sys_stat_args {
145 1.3.2.2 bouyer syscallarg(const char *) path;
146 1.3.2.2 bouyer syscallarg(struct aoutm68k_stat12 *) ub;
147 1.3.2.2 bouyer };
148 1.3.2.2 bouyer
149 1.3.2.2 bouyer struct aoutm68k_compat_12_sys_fstat_args {
150 1.3.2.2 bouyer syscallarg(int) fd;
151 1.3.2.2 bouyer syscallarg(struct aoutm68k_stat12 *) sb;
152 1.3.2.2 bouyer };
153 1.3.2.2 bouyer
154 1.3.2.2 bouyer struct aoutm68k_compat_12_sys_lstat_args {
155 1.3.2.2 bouyer syscallarg(const char *) path;
156 1.3.2.2 bouyer syscallarg(struct aoutm68k_stat12 *) ub;
157 1.3.2.2 bouyer };
158 1.3.2.2 bouyer
159 1.3.2.2 bouyer struct aoutm68k_sys_pathconf_args {
160 1.3.2.2 bouyer syscallarg(const char *) path;
161 1.3.2.2 bouyer syscallarg(int) name;
162 1.3.2.2 bouyer };
163 1.3.2.2 bouyer
164 1.3.2.2 bouyer struct aoutm68k_sys_truncate_args {
165 1.3.2.2 bouyer syscallarg(const char *) path;
166 1.3.2.2 bouyer syscallarg(int) pad;
167 1.3.2.2 bouyer syscallarg(off_t) length;
168 1.3.2.2 bouyer };
169 1.3.2.2 bouyer
170 1.3.2.2 bouyer struct aoutm68k_sys_undelete_args {
171 1.3.2.2 bouyer syscallarg(const char *) path;
172 1.3.2.2 bouyer };
173 1.3.2.2 bouyer
174 1.3.2.2 bouyer struct aoutm68k_sys___posix_rename_args {
175 1.3.2.2 bouyer syscallarg(const char *) from;
176 1.3.2.2 bouyer syscallarg(const char *) to;
177 1.3.2.2 bouyer };
178 1.3.2.2 bouyer
179 1.3.2.2 bouyer struct aoutm68k_sys_lchmod_args {
180 1.3.2.2 bouyer syscallarg(const char *) path;
181 1.3.2.2 bouyer syscallarg(mode_t) mode;
182 1.3.2.2 bouyer };
183 1.3.2.2 bouyer
184 1.3.2.2 bouyer struct aoutm68k_sys_lchown_args {
185 1.3.2.2 bouyer syscallarg(const char *) path;
186 1.3.2.2 bouyer syscallarg(uid_t) uid;
187 1.3.2.2 bouyer syscallarg(gid_t) gid;
188 1.3.2.2 bouyer };
189 1.3.2.2 bouyer
190 1.3.2.2 bouyer struct aoutm68k_sys_lutimes_args {
191 1.3.2.2 bouyer syscallarg(const char *) path;
192 1.3.2.2 bouyer syscallarg(const struct timeval *) tptr;
193 1.3.2.2 bouyer };
194 1.3.2.2 bouyer
195 1.3.2.2 bouyer struct aoutm68k_sys___stat13_args {
196 1.3.2.2 bouyer syscallarg(const char *) path;
197 1.3.2.2 bouyer syscallarg(struct aoutm68k_stat *) ub;
198 1.3.2.2 bouyer };
199 1.3.2.2 bouyer
200 1.3.2.2 bouyer struct aoutm68k_sys___fstat13_args {
201 1.3.2.2 bouyer syscallarg(int) fd;
202 1.3.2.2 bouyer syscallarg(struct aoutm68k_stat *) sb;
203 1.3.2.2 bouyer };
204 1.3.2.2 bouyer
205 1.3.2.2 bouyer struct aoutm68k_sys___lstat13_args {
206 1.3.2.2 bouyer syscallarg(const char *) path;
207 1.3.2.2 bouyer syscallarg(struct aoutm68k_stat *) ub;
208 1.3.2.2 bouyer };
209 1.3.2.2 bouyer
210 1.3.2.2 bouyer struct aoutm68k_sys___posix_chown_args {
211 1.3.2.2 bouyer syscallarg(const char *) path;
212 1.3.2.2 bouyer syscallarg(uid_t) uid;
213 1.3.2.2 bouyer syscallarg(gid_t) gid;
214 1.3.2.2 bouyer };
215 1.3.2.2 bouyer
216 1.3.2.2 bouyer struct aoutm68k_sys_fhstat_args {
217 1.3.2.2 bouyer syscallarg(const fhandle_t *) fhp;
218 1.3.2.2 bouyer syscallarg(struct aoutm68k_stat *) sb;
219 1.3.2.2 bouyer };
220 1.3.2.2 bouyer
221 1.3.2.2 bouyer /*
222 1.3.2.2 bouyer * System call prototypes.
223 1.3.2.2 bouyer */
224 1.3.2.2 bouyer
225 1.3.2.2 bouyer int sys_exit(struct proc *, void *, register_t *);
226 1.3.2.2 bouyer int sys_fork(struct proc *, void *, register_t *);
227 1.3.2.2 bouyer int sys_read(struct proc *, void *, register_t *);
228 1.3.2.2 bouyer int sys_write(struct proc *, void *, register_t *);
229 1.3.2.2 bouyer int aoutm68k_sys_open(struct proc *, void *, register_t *);
230 1.3.2.2 bouyer int sys_close(struct proc *, void *, register_t *);
231 1.3.2.2 bouyer int sys_wait4(struct proc *, void *, register_t *);
232 1.3.2.2 bouyer #ifdef COMPAT_43
233 1.3.2.2 bouyer int compat_43_sys_creat(struct proc *, void *, register_t *);
234 1.3.2.2 bouyer #else
235 1.3.2.2 bouyer #endif
236 1.3.2.2 bouyer int aoutm68k_sys_link(struct proc *, void *, register_t *);
237 1.3.2.2 bouyer int aoutm68k_sys_unlink(struct proc *, void *, register_t *);
238 1.3.2.2 bouyer int aoutm68k_sys_chdir(struct proc *, void *, register_t *);
239 1.3.2.2 bouyer int sys_fchdir(struct proc *, void *, register_t *);
240 1.3.2.2 bouyer int sys_mknod(struct proc *, void *, register_t *);
241 1.3.2.2 bouyer int aoutm68k_sys_chmod(struct proc *, void *, register_t *);
242 1.3.2.2 bouyer int aoutm68k_sys_chown(struct proc *, void *, register_t *);
243 1.3.2.2 bouyer int sys_obreak(struct proc *, void *, register_t *);
244 1.3.2.2 bouyer int sys_getfsstat(struct proc *, void *, register_t *);
245 1.3.2.2 bouyer #ifdef COMPAT_43
246 1.3.2.2 bouyer int compat_43_sys_lseek(struct proc *, void *, register_t *);
247 1.3.2.2 bouyer #else
248 1.3.2.2 bouyer #endif
249 1.3.2.2 bouyer int sys_getpid(struct proc *, void *, register_t *);
250 1.3.2.2 bouyer int sys_mount(struct proc *, void *, register_t *);
251 1.3.2.2 bouyer int sys_unmount(struct proc *, void *, register_t *);
252 1.3.2.2 bouyer int sys_setuid(struct proc *, void *, register_t *);
253 1.3.2.2 bouyer int sys_getuid(struct proc *, void *, register_t *);
254 1.3.2.2 bouyer int sys_geteuid(struct proc *, void *, register_t *);
255 1.3.2.2 bouyer int sys_ptrace(struct proc *, void *, register_t *);
256 1.3.2.2 bouyer int sys_recvmsg(struct proc *, void *, register_t *);
257 1.3.2.2 bouyer int sys_sendmsg(struct proc *, void *, register_t *);
258 1.3.2.2 bouyer int sys_recvfrom(struct proc *, void *, register_t *);
259 1.3.2.2 bouyer int sys_accept(struct proc *, void *, register_t *);
260 1.3.2.2 bouyer int sys_getpeername(struct proc *, void *, register_t *);
261 1.3.2.2 bouyer int sys_getsockname(struct proc *, void *, register_t *);
262 1.3.2.2 bouyer int aoutm68k_sys_access(struct proc *, void *, register_t *);
263 1.3.2.2 bouyer int aoutm68k_sys_chflags(struct proc *, void *, register_t *);
264 1.3.2.2 bouyer int sys_fchflags(struct proc *, void *, register_t *);
265 1.3.2.2 bouyer int sys_sync(struct proc *, void *, register_t *);
266 1.3.2.2 bouyer int sys_kill(struct proc *, void *, register_t *);
267 1.3.2.2 bouyer #ifdef COMPAT_43
268 1.3.2.2 bouyer int aoutm68k_compat_43_sys_stat(struct proc *, void *, register_t *);
269 1.3.2.2 bouyer #else
270 1.3.2.2 bouyer #endif
271 1.3.2.2 bouyer int sys_getppid(struct proc *, void *, register_t *);
272 1.3.2.2 bouyer #ifdef COMPAT_43
273 1.3.2.2 bouyer int aoutm68k_compat_43_sys_lstat(struct proc *, void *, register_t *);
274 1.3.2.2 bouyer #else
275 1.3.2.2 bouyer #endif
276 1.3.2.2 bouyer int sys_dup(struct proc *, void *, register_t *);
277 1.3.2.2 bouyer int sys_pipe(struct proc *, void *, register_t *);
278 1.3.2.2 bouyer int sys_getegid(struct proc *, void *, register_t *);
279 1.3.2.2 bouyer int sys_profil(struct proc *, void *, register_t *);
280 1.3.2.2 bouyer #if defined(KTRACE) || !defined(_KERNEL)
281 1.3.2.2 bouyer int sys_ktrace(struct proc *, void *, register_t *);
282 1.3.2.2 bouyer #else
283 1.3.2.2 bouyer #endif
284 1.3.2.2 bouyer #ifdef COMPAT_13
285 1.3.2.2 bouyer int compat_13_sys_sigaction(struct proc *, void *, register_t *);
286 1.3.2.2 bouyer #else
287 1.3.2.2 bouyer #endif
288 1.3.2.2 bouyer int sys_getgid(struct proc *, void *, register_t *);
289 1.3.2.2 bouyer #ifdef COMPAT_13
290 1.3.2.2 bouyer int compat_13_sys_sigprocmask(struct proc *, void *, register_t *);
291 1.3.2.2 bouyer #else
292 1.3.2.2 bouyer #endif
293 1.3.2.2 bouyer int sys___getlogin(struct proc *, void *, register_t *);
294 1.3.2.2 bouyer int sys_setlogin(struct proc *, void *, register_t *);
295 1.3.2.2 bouyer int sys_acct(struct proc *, void *, register_t *);
296 1.3.2.2 bouyer #ifdef COMPAT_13
297 1.3.2.2 bouyer int compat_13_sys_sigpending(struct proc *, void *, register_t *);
298 1.3.2.2 bouyer int compat_13_sys_sigaltstack(struct proc *, void *, register_t *);
299 1.3.2.2 bouyer #else
300 1.3.2.2 bouyer #endif
301 1.3.2.2 bouyer int aoutm68k_sys_ioctl(struct proc *, void *, register_t *);
302 1.3.2.2 bouyer #ifdef COMPAT_12
303 1.3.2.2 bouyer int compat_12_sys_reboot(struct proc *, void *, register_t *);
304 1.3.2.2 bouyer #else
305 1.3.2.2 bouyer #endif
306 1.3.2.2 bouyer int aoutm68k_sys_revoke(struct proc *, void *, register_t *);
307 1.3.2.2 bouyer int aoutm68k_sys_symlink(struct proc *, void *, register_t *);
308 1.3.2.2 bouyer int aoutm68k_sys_readlink(struct proc *, void *, register_t *);
309 1.3.2.2 bouyer int aoutm68k_sys_execve(struct proc *, void *, register_t *);
310 1.3.2.2 bouyer int sys_umask(struct proc *, void *, register_t *);
311 1.3.2.2 bouyer int aoutm68k_sys_chroot(struct proc *, void *, register_t *);
312 1.3.2.2 bouyer #ifdef COMPAT_43
313 1.3.2.2 bouyer int aoutm68k_compat_43_sys_fstat(struct proc *, void *, register_t *);
314 1.3.2.2 bouyer int compat_43_sys_getkerninfo(struct proc *, void *, register_t *);
315 1.3.2.2 bouyer int compat_43_sys_getpagesize(struct proc *, void *, register_t *);
316 1.3.2.2 bouyer #else
317 1.3.2.2 bouyer #endif
318 1.3.2.2 bouyer #ifdef COMPAT_12
319 1.3.2.2 bouyer int compat_12_sys_msync(struct proc *, void *, register_t *);
320 1.3.2.2 bouyer #else
321 1.3.2.2 bouyer #endif
322 1.3.2.2 bouyer int sys_vfork(struct proc *, void *, register_t *);
323 1.3.2.2 bouyer int sys_sbrk(struct proc *, void *, register_t *);
324 1.3.2.2 bouyer int sys_sstk(struct proc *, void *, register_t *);
325 1.3.2.2 bouyer #ifdef COMPAT_43
326 1.3.2.2 bouyer int compat_43_sys_mmap(struct proc *, void *, register_t *);
327 1.3.2.2 bouyer #else
328 1.3.2.2 bouyer #endif
329 1.3.2.2 bouyer int sys_ovadvise(struct proc *, void *, register_t *);
330 1.3.2.2 bouyer int sys_munmap(struct proc *, void *, register_t *);
331 1.3.2.2 bouyer int sys_mprotect(struct proc *, void *, register_t *);
332 1.3.2.2 bouyer int sys_madvise(struct proc *, void *, register_t *);
333 1.3.2.2 bouyer int sys_mincore(struct proc *, void *, register_t *);
334 1.3.2.2 bouyer int sys_getgroups(struct proc *, void *, register_t *);
335 1.3.2.2 bouyer int sys_setgroups(struct proc *, void *, register_t *);
336 1.3.2.2 bouyer int sys_getpgrp(struct proc *, void *, register_t *);
337 1.3.2.2 bouyer int sys_setpgid(struct proc *, void *, register_t *);
338 1.3.2.2 bouyer int sys_setitimer(struct proc *, void *, register_t *);
339 1.3.2.2 bouyer #ifdef COMPAT_43
340 1.3.2.2 bouyer int compat_43_sys_wait(struct proc *, void *, register_t *);
341 1.3.2.2 bouyer #else
342 1.3.2.2 bouyer #endif
343 1.3.2.2 bouyer #ifdef COMPAT_12
344 1.3.2.2 bouyer int compat_12_sys_swapon(struct proc *, void *, register_t *);
345 1.3.2.2 bouyer #else
346 1.3.2.2 bouyer #endif
347 1.3.2.2 bouyer int sys_getitimer(struct proc *, void *, register_t *);
348 1.3.2.2 bouyer #ifdef COMPAT_43
349 1.3.2.2 bouyer int compat_43_sys_gethostname(struct proc *, void *, register_t *);
350 1.3.2.2 bouyer int compat_43_sys_sethostname(struct proc *, void *, register_t *);
351 1.3.2.2 bouyer int compat_43_sys_getdtablesize(struct proc *, void *, register_t *);
352 1.3.2.2 bouyer #else
353 1.3.2.2 bouyer #endif
354 1.3.2.2 bouyer int sys_dup2(struct proc *, void *, register_t *);
355 1.3.2.2 bouyer int sys_fcntl(struct proc *, void *, register_t *);
356 1.3.2.2 bouyer int sys_select(struct proc *, void *, register_t *);
357 1.3.2.2 bouyer int sys_fsync(struct proc *, void *, register_t *);
358 1.3.2.2 bouyer int sys_setpriority(struct proc *, void *, register_t *);
359 1.3.2.2 bouyer int sys_socket(struct proc *, void *, register_t *);
360 1.3.2.2 bouyer int sys_connect(struct proc *, void *, register_t *);
361 1.3.2.2 bouyer #ifdef COMPAT_43
362 1.3.2.2 bouyer int compat_43_sys_accept(struct proc *, void *, register_t *);
363 1.3.2.2 bouyer #else
364 1.3.2.2 bouyer #endif
365 1.3.2.2 bouyer int sys_getpriority(struct proc *, void *, register_t *);
366 1.3.2.2 bouyer #ifdef COMPAT_43
367 1.3.2.2 bouyer int compat_43_sys_send(struct proc *, void *, register_t *);
368 1.3.2.2 bouyer int compat_43_sys_recv(struct proc *, void *, register_t *);
369 1.3.2.2 bouyer #else
370 1.3.2.2 bouyer #endif
371 1.3.2.2 bouyer #ifdef COMPAT_13
372 1.3.2.2 bouyer int compat_13_sys_sigreturn(struct proc *, void *, register_t *);
373 1.3.2.2 bouyer #else
374 1.3.2.2 bouyer #endif
375 1.3.2.2 bouyer int sys_bind(struct proc *, void *, register_t *);
376 1.3.2.2 bouyer int sys_setsockopt(struct proc *, void *, register_t *);
377 1.3.2.2 bouyer int sys_listen(struct proc *, void *, register_t *);
378 1.3.2.2 bouyer #ifdef COMPAT_43
379 1.3.2.2 bouyer int compat_43_sys_sigvec(struct proc *, void *, register_t *);
380 1.3.2.2 bouyer int compat_43_sys_sigblock(struct proc *, void *, register_t *);
381 1.3.2.2 bouyer int compat_43_sys_sigsetmask(struct proc *, void *, register_t *);
382 1.3.2.2 bouyer #else
383 1.3.2.2 bouyer #endif
384 1.3.2.2 bouyer #ifdef COMPAT_13
385 1.3.2.2 bouyer int compat_13_sys_sigsuspend(struct proc *, void *, register_t *);
386 1.3.2.2 bouyer #else
387 1.3.2.2 bouyer #endif
388 1.3.2.2 bouyer #ifdef COMPAT_43
389 1.3.2.2 bouyer int compat_43_sys_sigstack(struct proc *, void *, register_t *);
390 1.3.2.2 bouyer int compat_43_sys_recvmsg(struct proc *, void *, register_t *);
391 1.3.2.2 bouyer int compat_43_sys_sendmsg(struct proc *, void *, register_t *);
392 1.3.2.2 bouyer #else
393 1.3.2.2 bouyer #endif
394 1.3.2.2 bouyer int sys_gettimeofday(struct proc *, void *, register_t *);
395 1.3.2.2 bouyer int sys_getrusage(struct proc *, void *, register_t *);
396 1.3.2.2 bouyer int sys_getsockopt(struct proc *, void *, register_t *);
397 1.3.2.2 bouyer int sys_readv(struct proc *, void *, register_t *);
398 1.3.2.2 bouyer int sys_writev(struct proc *, void *, register_t *);
399 1.3.2.2 bouyer int sys_settimeofday(struct proc *, void *, register_t *);
400 1.3.2.2 bouyer int sys_fchown(struct proc *, void *, register_t *);
401 1.3.2.2 bouyer int sys_fchmod(struct proc *, void *, register_t *);
402 1.3.2.2 bouyer #ifdef COMPAT_43
403 1.3.2.2 bouyer int compat_43_sys_recvfrom(struct proc *, void *, register_t *);
404 1.3.2.2 bouyer #else
405 1.3.2.2 bouyer #endif
406 1.3.2.2 bouyer int sys_setreuid(struct proc *, void *, register_t *);
407 1.3.2.2 bouyer int sys_setregid(struct proc *, void *, register_t *);
408 1.3.2.2 bouyer int aoutm68k_sys_rename(struct proc *, void *, register_t *);
409 1.3.2.2 bouyer #ifdef COMPAT_43
410 1.3.2.2 bouyer int aoutm68k_compat_43_sys_truncate(struct proc *, void *, register_t *);
411 1.3.2.2 bouyer int compat_43_sys_ftruncate(struct proc *, void *, register_t *);
412 1.3.2.2 bouyer #else
413 1.3.2.2 bouyer #endif
414 1.3.2.2 bouyer int sys_flock(struct proc *, void *, register_t *);
415 1.3.2.2 bouyer int sys_mkfifo(struct proc *, void *, register_t *);
416 1.3.2.2 bouyer int sys_sendto(struct proc *, void *, register_t *);
417 1.3.2.2 bouyer int sys_shutdown(struct proc *, void *, register_t *);
418 1.3.2.2 bouyer int sys_socketpair(struct proc *, void *, register_t *);
419 1.3.2.2 bouyer int sys_mkdir(struct proc *, void *, register_t *);
420 1.3.2.2 bouyer int aoutm68k_sys_rmdir(struct proc *, void *, register_t *);
421 1.3.2.2 bouyer int aoutm68k_sys_utimes(struct proc *, void *, register_t *);
422 1.3.2.2 bouyer int sys_adjtime(struct proc *, void *, register_t *);
423 1.3.2.2 bouyer #ifdef COMPAT_43
424 1.3.2.2 bouyer int compat_43_sys_getpeername(struct proc *, void *, register_t *);
425 1.3.2.2 bouyer int compat_43_sys_gethostid(struct proc *, void *, register_t *);
426 1.3.2.2 bouyer int compat_43_sys_sethostid(struct proc *, void *, register_t *);
427 1.3.2.2 bouyer int compat_43_sys_getrlimit(struct proc *, void *, register_t *);
428 1.3.2.2 bouyer int compat_43_sys_setrlimit(struct proc *, void *, register_t *);
429 1.3.2.2 bouyer int compat_43_sys_killpg(struct proc *, void *, register_t *);
430 1.3.2.2 bouyer #else
431 1.3.2.2 bouyer #endif
432 1.3.2.2 bouyer int sys_setsid(struct proc *, void *, register_t *);
433 1.3.2.2 bouyer int sys_quotactl(struct proc *, void *, register_t *);
434 1.3.2.2 bouyer #ifdef COMPAT_43
435 1.3.2.2 bouyer int compat_43_sys_quota(struct proc *, void *, register_t *);
436 1.3.2.2 bouyer int compat_43_sys_getsockname(struct proc *, void *, register_t *);
437 1.3.2.2 bouyer #else
438 1.3.2.2 bouyer #endif
439 1.3.2.2 bouyer #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
440 1.3.2.2 bouyer int sys_nfssvc(struct proc *, void *, register_t *);
441 1.3.2.2 bouyer #else
442 1.3.2.2 bouyer #endif
443 1.3.2.2 bouyer #ifdef COMPAT_43
444 1.3.2.2 bouyer int compat_43_sys_getdirentries(struct proc *, void *, register_t *);
445 1.3.2.2 bouyer #else
446 1.3.2.2 bouyer #endif
447 1.3.2.2 bouyer int aoutm68k_sys_statfs(struct proc *, void *, register_t *);
448 1.3.2.2 bouyer int sys_fstatfs(struct proc *, void *, register_t *);
449 1.3.2.2 bouyer #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
450 1.3.2.2 bouyer int aoutm68k_sys_getfh(struct proc *, void *, register_t *);
451 1.3.2.2 bouyer #else
452 1.3.2.2 bouyer #endif
453 1.3.2.2 bouyer #ifdef COMPAT_09
454 1.3.2.2 bouyer int compat_09_sys_getdomainname(struct proc *, void *, register_t *);
455 1.3.2.2 bouyer int compat_09_sys_setdomainname(struct proc *, void *, register_t *);
456 1.3.2.2 bouyer int compat_09_sys_uname(struct proc *, void *, register_t *);
457 1.3.2.2 bouyer #else
458 1.3.2.2 bouyer #endif
459 1.3.2.2 bouyer int sys_sysarch(struct proc *, void *, register_t *);
460 1.3.2.2 bouyer #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
461 1.3.2.2 bouyer int compat_10_sys_semsys(struct proc *, void *, register_t *);
462 1.3.2.2 bouyer #else
463 1.3.2.2 bouyer #endif
464 1.3.2.2 bouyer #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
465 1.3.2.2 bouyer int compat_10_sys_msgsys(struct proc *, void *, register_t *);
466 1.3.2.2 bouyer #else
467 1.3.2.2 bouyer #endif
468 1.3.2.2 bouyer #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
469 1.3.2.2 bouyer int compat_10_sys_shmsys(struct proc *, void *, register_t *);
470 1.3.2.2 bouyer #else
471 1.3.2.2 bouyer #endif
472 1.3.2.2 bouyer int sys_pread(struct proc *, void *, register_t *);
473 1.3.2.2 bouyer int sys_pwrite(struct proc *, void *, register_t *);
474 1.3.2.2 bouyer int sys_ntp_gettime(struct proc *, void *, register_t *);
475 1.3.2.2 bouyer #if defined(NTP) || !defined(_KERNEL)
476 1.3.2.2 bouyer int sys_ntp_adjtime(struct proc *, void *, register_t *);
477 1.3.2.2 bouyer #else
478 1.3.2.2 bouyer #endif
479 1.3.2.2 bouyer int sys_setgid(struct proc *, void *, register_t *);
480 1.3.2.2 bouyer int sys_setegid(struct proc *, void *, register_t *);
481 1.3.2.2 bouyer int sys_seteuid(struct proc *, void *, register_t *);
482 1.3.2.2 bouyer #if defined(LFS) || !defined(_KERNEL)
483 1.3.2.2 bouyer int sys_lfs_bmapv(struct proc *, void *, register_t *);
484 1.3.2.2 bouyer int sys_lfs_markv(struct proc *, void *, register_t *);
485 1.3.2.2 bouyer int sys_lfs_segclean(struct proc *, void *, register_t *);
486 1.3.2.2 bouyer int sys_lfs_segwait(struct proc *, void *, register_t *);
487 1.3.2.2 bouyer #else
488 1.3.2.2 bouyer #endif
489 1.3.2.2 bouyer #ifdef COMPAT_12
490 1.3.2.2 bouyer int aoutm68k_compat_12_sys_stat(struct proc *, void *, register_t *);
491 1.3.2.2 bouyer int aoutm68k_compat_12_sys_fstat(struct proc *, void *, register_t *);
492 1.3.2.2 bouyer int aoutm68k_compat_12_sys_lstat(struct proc *, void *, register_t *);
493 1.3.2.2 bouyer #else
494 1.3.2.2 bouyer #endif
495 1.3.2.2 bouyer int aoutm68k_sys_pathconf(struct proc *, void *, register_t *);
496 1.3.2.2 bouyer int sys_fpathconf(struct proc *, void *, register_t *);
497 1.3.2.2 bouyer int sys_getrlimit(struct proc *, void *, register_t *);
498 1.3.2.2 bouyer int sys_setrlimit(struct proc *, void *, register_t *);
499 1.3.2.2 bouyer #ifdef COMPAT_12
500 1.3.2.2 bouyer int compat_12_sys_getdirentries(struct proc *, void *, register_t *);
501 1.3.2.2 bouyer #else
502 1.3.2.2 bouyer #endif
503 1.3.2.2 bouyer int sys_mmap(struct proc *, void *, register_t *);
504 1.3.2.2 bouyer int sys_lseek(struct proc *, void *, register_t *);
505 1.3.2.2 bouyer int aoutm68k_sys_truncate(struct proc *, void *, register_t *);
506 1.3.2.2 bouyer int sys_ftruncate(struct proc *, void *, register_t *);
507 1.3.2.2 bouyer int sys___sysctl(struct proc *, void *, register_t *);
508 1.3.2.2 bouyer int sys_mlock(struct proc *, void *, register_t *);
509 1.3.2.2 bouyer int sys_munlock(struct proc *, void *, register_t *);
510 1.3.2.2 bouyer int aoutm68k_sys_undelete(struct proc *, void *, register_t *);
511 1.3.2.2 bouyer int sys_futimes(struct proc *, void *, register_t *);
512 1.3.2.2 bouyer int sys_getpgid(struct proc *, void *, register_t *);
513 1.3.2.2 bouyer int sys_reboot(struct proc *, void *, register_t *);
514 1.3.2.2 bouyer int sys_poll(struct proc *, void *, register_t *);
515 1.3.2.2 bouyer #if defined(LKM) || !defined(_KERNEL)
516 1.3.2.2 bouyer int sys_lkmnosys(struct proc *, void *, register_t *);
517 1.3.2.2 bouyer int sys_lkmnosys(struct proc *, void *, register_t *);
518 1.3.2.2 bouyer int sys_lkmnosys(struct proc *, void *, register_t *);
519 1.3.2.2 bouyer int sys_lkmnosys(struct proc *, void *, register_t *);
520 1.3.2.2 bouyer int sys_lkmnosys(struct proc *, void *, register_t *);
521 1.3.2.2 bouyer int sys_lkmnosys(struct proc *, void *, register_t *);
522 1.3.2.2 bouyer int sys_lkmnosys(struct proc *, void *, register_t *);
523 1.3.2.2 bouyer int sys_lkmnosys(struct proc *, void *, register_t *);
524 1.3.2.2 bouyer int sys_lkmnosys(struct proc *, void *, register_t *);
525 1.3.2.2 bouyer int sys_lkmnosys(struct proc *, void *, register_t *);
526 1.3.2.2 bouyer #else /* !LKM */
527 1.3.2.2 bouyer #endif /* !LKM */
528 1.3.2.2 bouyer #if defined(SYSVSEM) || !defined(_KERNEL)
529 1.3.2.2 bouyer #ifdef COMPAT_14
530 1.3.2.2 bouyer int compat_14_sys___semctl(struct proc *, void *, register_t *);
531 1.3.2.2 bouyer #else
532 1.3.2.2 bouyer #endif
533 1.3.2.2 bouyer int sys_semget(struct proc *, void *, register_t *);
534 1.3.2.2 bouyer int sys_semop(struct proc *, void *, register_t *);
535 1.3.2.2 bouyer int sys_semconfig(struct proc *, void *, register_t *);
536 1.3.2.2 bouyer #else
537 1.3.2.2 bouyer #endif
538 1.3.2.2 bouyer #if defined(SYSVMSG) || !defined(_KERNEL)
539 1.3.2.2 bouyer #ifdef COMPAT_14
540 1.3.2.2 bouyer int compat_14_sys_msgctl(struct proc *, void *, register_t *);
541 1.3.2.2 bouyer #else
542 1.3.2.2 bouyer #endif
543 1.3.2.2 bouyer int sys_msgget(struct proc *, void *, register_t *);
544 1.3.2.2 bouyer int sys_msgsnd(struct proc *, void *, register_t *);
545 1.3.2.2 bouyer int sys_msgrcv(struct proc *, void *, register_t *);
546 1.3.2.2 bouyer #else
547 1.3.2.2 bouyer #endif
548 1.3.2.2 bouyer #if defined(SYSVSHM) || !defined(_KERNEL)
549 1.3.2.2 bouyer int sys_shmat(struct proc *, void *, register_t *);
550 1.3.2.2 bouyer #ifdef COMPAT_14
551 1.3.2.2 bouyer int compat_14_sys_shmctl(struct proc *, void *, register_t *);
552 1.3.2.2 bouyer #else
553 1.3.2.2 bouyer #endif
554 1.3.2.2 bouyer int sys_shmdt(struct proc *, void *, register_t *);
555 1.3.2.2 bouyer int sys_shmget(struct proc *, void *, register_t *);
556 1.3.2.2 bouyer #else
557 1.3.2.2 bouyer #endif
558 1.3.2.2 bouyer int sys_clock_gettime(struct proc *, void *, register_t *);
559 1.3.2.2 bouyer int sys_clock_settime(struct proc *, void *, register_t *);
560 1.3.2.2 bouyer int sys_clock_getres(struct proc *, void *, register_t *);
561 1.3.2.2 bouyer int sys_nanosleep(struct proc *, void *, register_t *);
562 1.3.2.2 bouyer int sys_fdatasync(struct proc *, void *, register_t *);
563 1.3.2.2 bouyer int sys_mlockall(struct proc *, void *, register_t *);
564 1.3.2.2 bouyer int sys_munlockall(struct proc *, void *, register_t *);
565 1.3.2.2 bouyer int aoutm68k_sys___posix_rename(struct proc *, void *, register_t *);
566 1.3.2.2 bouyer int sys_swapctl(struct proc *, void *, register_t *);
567 1.3.2.2 bouyer int sys_getdents(struct proc *, void *, register_t *);
568 1.3.2.2 bouyer int sys_minherit(struct proc *, void *, register_t *);
569 1.3.2.2 bouyer int aoutm68k_sys_lchmod(struct proc *, void *, register_t *);
570 1.3.2.2 bouyer int aoutm68k_sys_lchown(struct proc *, void *, register_t *);
571 1.3.2.2 bouyer int aoutm68k_sys_lutimes(struct proc *, void *, register_t *);
572 1.3.2.2 bouyer int sys___msync13(struct proc *, void *, register_t *);
573 1.3.2.2 bouyer int aoutm68k_sys___stat13(struct proc *, void *, register_t *);
574 1.3.2.2 bouyer int aoutm68k_sys___fstat13(struct proc *, void *, register_t *);
575 1.3.2.2 bouyer int aoutm68k_sys___lstat13(struct proc *, void *, register_t *);
576 1.3.2.2 bouyer int sys___sigaltstack14(struct proc *, void *, register_t *);
577 1.3.2.2 bouyer int sys___vfork14(struct proc *, void *, register_t *);
578 1.3.2.2 bouyer int aoutm68k_sys___posix_chown(struct proc *, void *, register_t *);
579 1.3.2.2 bouyer int sys___posix_fchown(struct proc *, void *, register_t *);
580 1.3.2.2 bouyer int sys___posix_lchown(struct proc *, void *, register_t *);
581 1.3.2.2 bouyer int sys_getsid(struct proc *, void *, register_t *);
582 1.3.2.2 bouyer #if defined(KTRACE) || !defined(_KERNEL)
583 1.3.2.2 bouyer int sys_fktrace(struct proc *, void *, register_t *);
584 1.3.2.2 bouyer #else
585 1.3.2.2 bouyer #endif
586 1.3.2.2 bouyer int sys_preadv(struct proc *, void *, register_t *);
587 1.3.2.2 bouyer int sys_pwritev(struct proc *, void *, register_t *);
588 1.3.2.2 bouyer int sys___sigaction14(struct proc *, void *, register_t *);
589 1.3.2.2 bouyer int sys___sigpending14(struct proc *, void *, register_t *);
590 1.3.2.2 bouyer int sys___sigprocmask14(struct proc *, void *, register_t *);
591 1.3.2.2 bouyer int sys___sigsuspend14(struct proc *, void *, register_t *);
592 1.3.2.2 bouyer int sys___sigreturn14(struct proc *, void *, register_t *);
593 1.3.2.2 bouyer int sys___getcwd(struct proc *, void *, register_t *);
594 1.3.2.2 bouyer int sys_fchroot(struct proc *, void *, register_t *);
595 1.3.2.2 bouyer int sys_fhopen(struct proc *, void *, register_t *);
596 1.3.2.2 bouyer int aoutm68k_sys_fhstat(struct proc *, void *, register_t *);
597 1.3.2.2 bouyer int sys_fhstatfs(struct proc *, void *, register_t *);
598 1.3.2.2 bouyer #if defined(SYSVSEM) || !defined(_KERNEL)
599 1.3.2.2 bouyer int sys_____semctl13(struct proc *, void *, register_t *);
600 1.3.2.2 bouyer #else
601 1.3.2.2 bouyer #endif
602 1.3.2.2 bouyer #if defined(SYSVMSG) || !defined(_KERNEL)
603 1.3.2.2 bouyer int sys___msgctl13(struct proc *, void *, register_t *);
604 1.3.2.2 bouyer #else
605 1.3.2.2 bouyer #endif
606 1.3.2.2 bouyer #if defined(SYSVSHM) || !defined(_KERNEL)
607 1.3.2.2 bouyer int sys___shmctl13(struct proc *, void *, register_t *);
608 1.3.2.2 bouyer #else
609 1.3.2.2 bouyer #endif
610 1.3.2.2 bouyer int sys_lchflags(struct proc *, void *, register_t *);
611 1.3.2.2 bouyer int sys_issetugid(struct proc *, void *, register_t *);
612 1.3.2.2 bouyer #endif /* _AOUTM68K_SYS__SYSCALLARGS_H_ */
613