xref: /netbsd-src/sys/compat/freebsd/freebsd_syscallargs.h (revision 8b0f9554ff8762542c4defc4f70e1eb76fb508fa)
1 /* $NetBSD: freebsd_syscallargs.h,v 1.71 2007/07/13 20:49:07 dsl Exp $ */
2 
3 /*
4  * System call argument lists.
5  *
6  * DO NOT EDIT-- this file is automatically generated.
7  * created from	NetBSD: syscalls.master,v 1.58 2007/07/13 20:48:39 dsl Exp
8  */
9 
10 #ifndef _FREEBSD_SYS_SYSCALLARGS_H_
11 #define	_FREEBSD_SYS_SYSCALLARGS_H_
12 
13 #ifdef	syscallarg
14 #undef	syscallarg
15 #endif
16 
17 #define	syscallarg(x)							\
18 	union {								\
19 		register_t pad;						\
20 		struct { x datum; } le;					\
21 		struct { /* LINTED zero array dimension */		\
22 			int8_t pad[  /* CONSTCOND */			\
23 				(sizeof (register_t) < sizeof (x))	\
24 				? 0					\
25 				: sizeof (register_t) - sizeof (x)];	\
26 			x datum;					\
27 		} be;							\
28 	}
29 
30 struct freebsd_sys_mount_args {
31 	syscallarg(int) type;
32 	syscallarg(const char *) path;
33 	syscallarg(int) flags;
34 	syscallarg(void *) data;
35 };
36 
37 struct freebsd_sys_ptrace_args {
38 	syscallarg(int) req;
39 	syscallarg(pid_t) pid;
40 	syscallarg(void *) addr;
41 	syscallarg(int) data;
42 };
43 #ifdef KTRACE
44 #else
45 #endif
46 
47 struct freebsd_sys_ioctl_args {
48 	syscallarg(int) fd;
49 	syscallarg(u_long) com;
50 	syscallarg(void *) data;
51 };
52 
53 struct freebsd_sys_msync_args {
54 	syscallarg(void *) addr;
55 	syscallarg(size_t) len;
56 	syscallarg(int) flags;
57 };
58 
59 struct freebsd_sys_sigreturn_args {
60 	syscallarg(struct freebsd_sigcontext *) scp;
61 };
62 #ifdef TRACE
63 #else
64 #endif
65 #if defined(NFS) || defined(NFSSERVER)
66 #else
67 #endif
68 #ifdef NFS
69 #else
70 #endif
71 
72 struct freebsd_sys_rtprio_args {
73 	syscallarg(int) function;
74 	syscallarg(pid_t) pid;
75 	syscallarg(struct freebsd_rtprio *) rtp;
76 };
77 #if defined(SYSVSEM) && !defined(_LP64)
78 
79 struct freebsd_sys_semsys_args {
80 	syscallarg(int) which;
81 	syscallarg(int) a2;
82 	syscallarg(int) a3;
83 	syscallarg(int) a4;
84 	syscallarg(int) a5;
85 };
86 #else
87 #endif
88 #if defined(SYSVMSG) && !defined(_LP64)
89 
90 struct freebsd_sys_msgsys_args {
91 	syscallarg(int) which;
92 	syscallarg(int) a2;
93 	syscallarg(int) a3;
94 	syscallarg(int) a4;
95 	syscallarg(int) a5;
96 	syscallarg(int) a6;
97 };
98 #else
99 #endif
100 #if defined(SYSVSHM) && !defined(_LP64)
101 
102 struct freebsd_sys_shmsys_args {
103 	syscallarg(int) which;
104 	syscallarg(int) a2;
105 	syscallarg(int) a3;
106 	syscallarg(int) a4;
107 };
108 #else
109 #endif
110 #ifdef NTP
111 
112 struct freebsd_ntp_adjtime_args {
113 	syscallarg(struct freebsd_timex *) tp;
114 };
115 #else
116 #endif
117 #ifdef LFS
118 #else
119 #endif
120 
121 struct freebsd_sys_mmap_args {
122 	syscallarg(void *) addr;
123 	syscallarg(size_t) len;
124 	syscallarg(int) prot;
125 	syscallarg(int) flags;
126 	syscallarg(int) fd;
127 	syscallarg(long) pad;
128 	syscallarg(off_t) pos;
129 };
130 
131 struct freebsd_sys_sysctl_args {
132 	syscallarg(int *) name;
133 	syscallarg(u_int) namelen;
134 	syscallarg(void *) old;
135 	syscallarg(size_t *) oldlenp;
136 	syscallarg(void *) new;
137 	syscallarg(size_t) newlen;
138 };
139 #ifdef FREEBSD_BASED_ON_44LITE_R2
140 
141 struct freebsd_sys_undelete_args {
142 	syscallarg(char *) path;
143 };
144 #else
145 #endif
146 #if 0
147 #else
148 #endif
149 #ifdef SYSVSEM
150 #else
151 #endif
152 #ifdef SYSVMSG
153 #else
154 #endif
155 #ifdef SYSVSHM
156 #else
157 #endif
158 
159 struct freebsd_sys_rfork_args {
160 	syscallarg(int) flags;
161 };
162 
163 struct freebsd_sys_sched_setparam_args {
164 	syscallarg(pid_t) pid;
165 	syscallarg(const struct freebsd_sched_param *) sp;
166 };
167 
168 struct freebsd_sys_sched_getparam_args {
169 	syscallarg(pid_t) pid;
170 	syscallarg(struct freebsd_sched_param *) sp;
171 };
172 
173 struct freebsd_sys_sched_setscheduler_args {
174 	syscallarg(pid_t) pid;
175 	syscallarg(int) policy;
176 	syscallarg(const struct sched_param *) sp;
177 };
178 
179 struct freebsd_sys_sched_getscheduler_args {
180 	syscallarg(pid_t) pid;
181 };
182 
183 struct freebsd_sys_sched_get_priority_max_args {
184 	syscallarg(int) policy;
185 };
186 
187 struct freebsd_sys_sched_get_priority_min_args {
188 	syscallarg(int) policy;
189 };
190 
191 struct freebsd_sys_utrace_args {
192 	syscallarg(void *) addr;
193 	syscallarg(size_t) len;
194 };
195 
196 struct freebsd_sys_sigaction4_args {
197 	syscallarg(int) signum;
198 	syscallarg(const struct freebsd_sigaction4 *) nsa;
199 	syscallarg(struct freebsd_sigaction4 *) osa;
200 };
201 #if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
202 #else
203 #endif
204 
205 /*
206  * System call prototypes.
207  */
208 
209 int	sys_nosys(struct lwp *, void *, register_t *);
210 
211 int	sys_exit(struct lwp *, void *, register_t *);
212 
213 int	sys_fork(struct lwp *, void *, register_t *);
214 
215 int	sys_read(struct lwp *, void *, register_t *);
216 
217 int	sys_write(struct lwp *, void *, register_t *);
218 
219 int	sys_open(struct lwp *, void *, register_t *);
220 
221 int	sys_close(struct lwp *, void *, register_t *);
222 
223 int	sys_wait4(struct lwp *, void *, register_t *);
224 
225 int	compat_43_sys_creat(struct lwp *, void *, register_t *);
226 
227 int	sys_link(struct lwp *, void *, register_t *);
228 
229 int	sys_unlink(struct lwp *, void *, register_t *);
230 
231 int	sys_chdir(struct lwp *, void *, register_t *);
232 
233 int	sys_fchdir(struct lwp *, void *, register_t *);
234 
235 int	sys_mknod(struct lwp *, void *, register_t *);
236 
237 int	sys_chmod(struct lwp *, void *, register_t *);
238 
239 int	sys_chown(struct lwp *, void *, register_t *);
240 
241 int	sys_obreak(struct lwp *, void *, register_t *);
242 
243 int	compat_20_sys_getfsstat(struct lwp *, void *, register_t *);
244 
245 int	compat_43_sys_lseek(struct lwp *, void *, register_t *);
246 
247 int	sys_getpid_with_ppid(struct lwp *, void *, register_t *);
248 
249 int	freebsd_sys_mount(struct lwp *, void *, register_t *);
250 
251 int	sys_unmount(struct lwp *, void *, register_t *);
252 
253 int	sys_setuid(struct lwp *, void *, register_t *);
254 
255 int	sys_getuid_with_euid(struct lwp *, void *, register_t *);
256 
257 int	sys_geteuid(struct lwp *, void *, register_t *);
258 
259 int	freebsd_sys_ptrace(struct lwp *, void *, register_t *);
260 
261 int	sys_recvmsg(struct lwp *, void *, register_t *);
262 
263 int	sys_sendmsg(struct lwp *, void *, register_t *);
264 
265 int	sys_recvfrom(struct lwp *, void *, register_t *);
266 
267 int	sys_accept(struct lwp *, void *, register_t *);
268 
269 int	sys_getpeername(struct lwp *, void *, register_t *);
270 
271 int	sys_getsockname(struct lwp *, void *, register_t *);
272 
273 int	sys_access(struct lwp *, void *, register_t *);
274 
275 int	sys_chflags(struct lwp *, void *, register_t *);
276 
277 int	sys_fchflags(struct lwp *, void *, register_t *);
278 
279 int	sys_sync(struct lwp *, void *, register_t *);
280 
281 int	sys_kill(struct lwp *, void *, register_t *);
282 
283 int	compat_43_sys_stat(struct lwp *, void *, register_t *);
284 
285 int	sys_getppid(struct lwp *, void *, register_t *);
286 
287 int	compat_43_sys_lstat(struct lwp *, void *, register_t *);
288 
289 int	sys_dup(struct lwp *, void *, register_t *);
290 
291 int	sys_pipe(struct lwp *, void *, register_t *);
292 
293 int	sys_getegid(struct lwp *, void *, register_t *);
294 
295 int	sys_profil(struct lwp *, void *, register_t *);
296 
297 #ifdef KTRACE
298 int	sys_ktrace(struct lwp *, void *, register_t *);
299 
300 #else
301 #endif
302 int	compat_13_sys_sigaction(struct lwp *, void *, register_t *);
303 
304 int	sys_getgid_with_egid(struct lwp *, void *, register_t *);
305 
306 int	compat_13_sys_sigprocmask(struct lwp *, void *, register_t *);
307 
308 int	sys___getlogin(struct lwp *, void *, register_t *);
309 
310 int	sys___setlogin(struct lwp *, void *, register_t *);
311 
312 int	sys_acct(struct lwp *, void *, register_t *);
313 
314 int	compat_13_sys_sigpending(struct lwp *, void *, register_t *);
315 
316 int	compat_13_sys_sigaltstack(struct lwp *, void *, register_t *);
317 
318 int	freebsd_sys_ioctl(struct lwp *, void *, register_t *);
319 
320 int	sys_reboot(struct lwp *, void *, register_t *);
321 
322 int	sys_revoke(struct lwp *, void *, register_t *);
323 
324 int	sys_symlink(struct lwp *, void *, register_t *);
325 
326 int	sys_readlink(struct lwp *, void *, register_t *);
327 
328 int	sys_execve(struct lwp *, void *, register_t *);
329 
330 int	sys_umask(struct lwp *, void *, register_t *);
331 
332 int	sys_chroot(struct lwp *, void *, register_t *);
333 
334 int	compat_43_sys_fstat(struct lwp *, void *, register_t *);
335 
336 int	compat_43_sys_getkerninfo(struct lwp *, void *, register_t *);
337 
338 int	compat_43_sys_getpagesize(struct lwp *, void *, register_t *);
339 
340 int	freebsd_sys_msync(struct lwp *, void *, register_t *);
341 
342 int	sys_vfork(struct lwp *, void *, register_t *);
343 
344 int	sys_sbrk(struct lwp *, void *, register_t *);
345 
346 int	sys_sstk(struct lwp *, void *, register_t *);
347 
348 int	compat_43_sys_mmap(struct lwp *, void *, register_t *);
349 
350 int	sys_ovadvise(struct lwp *, void *, register_t *);
351 
352 int	sys_munmap(struct lwp *, void *, register_t *);
353 
354 int	sys_mprotect(struct lwp *, void *, register_t *);
355 
356 int	sys_madvise(struct lwp *, void *, register_t *);
357 
358 int	sys_mincore(struct lwp *, void *, register_t *);
359 
360 int	sys_getgroups(struct lwp *, void *, register_t *);
361 
362 int	sys_setgroups(struct lwp *, void *, register_t *);
363 
364 int	sys_getpgrp(struct lwp *, void *, register_t *);
365 
366 int	sys_setpgid(struct lwp *, void *, register_t *);
367 
368 int	sys_setitimer(struct lwp *, void *, register_t *);
369 
370 int	compat_43_sys_wait(struct lwp *, void *, register_t *);
371 
372 int	compat_12_sys_swapon(struct lwp *, void *, register_t *);
373 
374 int	sys_getitimer(struct lwp *, void *, register_t *);
375 
376 int	compat_43_sys_gethostname(struct lwp *, void *, register_t *);
377 
378 int	compat_43_sys_sethostname(struct lwp *, void *, register_t *);
379 
380 int	compat_43_sys_getdtablesize(struct lwp *, void *, register_t *);
381 
382 int	sys_dup2(struct lwp *, void *, register_t *);
383 
384 int	sys_fcntl(struct lwp *, void *, register_t *);
385 
386 int	sys_select(struct lwp *, void *, register_t *);
387 
388 int	sys_fsync(struct lwp *, void *, register_t *);
389 
390 int	sys_setpriority(struct lwp *, void *, register_t *);
391 
392 int	compat_30_sys_socket(struct lwp *, void *, register_t *);
393 
394 int	sys_connect(struct lwp *, void *, register_t *);
395 
396 int	compat_43_sys_accept(struct lwp *, void *, register_t *);
397 
398 int	sys_getpriority(struct lwp *, void *, register_t *);
399 
400 int	compat_43_sys_send(struct lwp *, void *, register_t *);
401 
402 int	compat_43_sys_recv(struct lwp *, void *, register_t *);
403 
404 int	freebsd_sys_sigreturn(struct lwp *, void *, register_t *);
405 
406 int	sys_bind(struct lwp *, void *, register_t *);
407 
408 int	sys_setsockopt(struct lwp *, void *, register_t *);
409 
410 int	sys_listen(struct lwp *, void *, register_t *);
411 
412 int	compat_43_sys_sigvec(struct lwp *, void *, register_t *);
413 
414 int	compat_43_sys_sigblock(struct lwp *, void *, register_t *);
415 
416 int	compat_43_sys_sigsetmask(struct lwp *, void *, register_t *);
417 
418 int	compat_13_sys_sigsuspend(struct lwp *, void *, register_t *);
419 
420 int	compat_43_sys_sigstack(struct lwp *, void *, register_t *);
421 
422 int	compat_43_sys_recvmsg(struct lwp *, void *, register_t *);
423 
424 int	compat_43_sys_sendmsg(struct lwp *, void *, register_t *);
425 
426 #ifdef TRACE
427 int	sys_vtrace(struct lwp *, void *, register_t *);
428 
429 #else
430 #endif
431 int	sys_gettimeofday(struct lwp *, void *, register_t *);
432 
433 int	sys_getrusage(struct lwp *, void *, register_t *);
434 
435 int	sys_getsockopt(struct lwp *, void *, register_t *);
436 
437 int	sys_readv(struct lwp *, void *, register_t *);
438 
439 int	sys_writev(struct lwp *, void *, register_t *);
440 
441 int	sys_settimeofday(struct lwp *, void *, register_t *);
442 
443 int	sys_fchown(struct lwp *, void *, register_t *);
444 
445 int	sys_fchmod(struct lwp *, void *, register_t *);
446 
447 int	compat_43_sys_recvfrom(struct lwp *, void *, register_t *);
448 
449 int	sys_setreuid(struct lwp *, void *, register_t *);
450 
451 int	sys_setregid(struct lwp *, void *, register_t *);
452 
453 int	sys_rename(struct lwp *, void *, register_t *);
454 
455 int	compat_43_sys_truncate(struct lwp *, void *, register_t *);
456 
457 int	compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
458 
459 int	sys_flock(struct lwp *, void *, register_t *);
460 
461 int	sys_mkfifo(struct lwp *, void *, register_t *);
462 
463 int	sys_sendto(struct lwp *, void *, register_t *);
464 
465 int	sys_shutdown(struct lwp *, void *, register_t *);
466 
467 int	sys_socketpair(struct lwp *, void *, register_t *);
468 
469 int	sys_mkdir(struct lwp *, void *, register_t *);
470 
471 int	sys_rmdir(struct lwp *, void *, register_t *);
472 
473 int	sys_utimes(struct lwp *, void *, register_t *);
474 
475 int	sys_adjtime(struct lwp *, void *, register_t *);
476 
477 int	compat_43_sys_getpeername(struct lwp *, void *, register_t *);
478 
479 int	compat_43_sys_gethostid(struct lwp *, void *, register_t *);
480 
481 int	compat_43_sys_sethostid(struct lwp *, void *, register_t *);
482 
483 int	compat_43_sys_getrlimit(struct lwp *, void *, register_t *);
484 
485 int	compat_43_sys_setrlimit(struct lwp *, void *, register_t *);
486 
487 int	compat_43_sys_killpg(struct lwp *, void *, register_t *);
488 
489 int	sys_setsid(struct lwp *, void *, register_t *);
490 
491 int	sys_quotactl(struct lwp *, void *, register_t *);
492 
493 int	compat_43_sys_quota(struct lwp *, void *, register_t *);
494 
495 int	compat_43_sys_getsockname(struct lwp *, void *, register_t *);
496 
497 #if defined(NFS) || defined(NFSSERVER)
498 int	sys_nfssvc(struct lwp *, void *, register_t *);
499 
500 #else
501 #endif
502 int	compat_43_sys_getdirentries(struct lwp *, void *, register_t *);
503 
504 int	compat_20_sys_statfs(struct lwp *, void *, register_t *);
505 
506 int	compat_20_sys_fstatfs(struct lwp *, void *, register_t *);
507 
508 #ifdef NFS
509 int	compat_30_sys_getfh(struct lwp *, void *, register_t *);
510 
511 #else
512 #endif
513 int	compat_09_sys_getdomainname(struct lwp *, void *, register_t *);
514 
515 int	compat_09_sys_setdomainname(struct lwp *, void *, register_t *);
516 
517 int	compat_09_sys_uname(struct lwp *, void *, register_t *);
518 
519 int	sys_sysarch(struct lwp *, void *, register_t *);
520 
521 int	freebsd_sys_rtprio(struct lwp *, void *, register_t *);
522 
523 #if defined(SYSVSEM) && !defined(_LP64)
524 int	freebsd_sys_semsys(struct lwp *, void *, register_t *);
525 
526 #else
527 #endif
528 #if defined(SYSVMSG) && !defined(_LP64)
529 int	freebsd_sys_msgsys(struct lwp *, void *, register_t *);
530 
531 #else
532 #endif
533 #if defined(SYSVSHM) && !defined(_LP64)
534 int	freebsd_sys_shmsys(struct lwp *, void *, register_t *);
535 
536 #else
537 #endif
538 int	sys_pread(struct lwp *, void *, register_t *);
539 
540 int	sys_pwrite(struct lwp *, void *, register_t *);
541 
542 #ifdef NTP
543 int	freebsd_ntp_adjtime(struct lwp *, void *, register_t *);
544 
545 #else
546 #endif
547 int	sys_setgid(struct lwp *, void *, register_t *);
548 
549 int	sys_setegid(struct lwp *, void *, register_t *);
550 
551 int	sys_seteuid(struct lwp *, void *, register_t *);
552 
553 #ifdef LFS
554 int	sys_lfs_bmapv(struct lwp *, void *, register_t *);
555 
556 int	sys_lfs_markv(struct lwp *, void *, register_t *);
557 
558 int	sys_lfs_segclean(struct lwp *, void *, register_t *);
559 
560 int	sys_lfs_segwait(struct lwp *, void *, register_t *);
561 
562 #else
563 #endif
564 int	compat_12_sys_stat(struct lwp *, void *, register_t *);
565 
566 int	compat_12_sys_fstat(struct lwp *, void *, register_t *);
567 
568 int	compat_12_sys_lstat(struct lwp *, void *, register_t *);
569 
570 int	sys_pathconf(struct lwp *, void *, register_t *);
571 
572 int	sys_fpathconf(struct lwp *, void *, register_t *);
573 
574 int	sys_getrlimit(struct lwp *, void *, register_t *);
575 
576 int	sys_setrlimit(struct lwp *, void *, register_t *);
577 
578 int	compat_12_sys_getdirentries(struct lwp *, void *, register_t *);
579 
580 int	freebsd_sys_mmap(struct lwp *, void *, register_t *);
581 
582 int	sys_lseek(struct lwp *, void *, register_t *);
583 
584 int	sys_truncate(struct lwp *, void *, register_t *);
585 
586 int	sys_ftruncate(struct lwp *, void *, register_t *);
587 
588 int	freebsd_sys_sysctl(struct lwp *, void *, register_t *);
589 
590 int	sys_mlock(struct lwp *, void *, register_t *);
591 
592 int	sys_munlock(struct lwp *, void *, register_t *);
593 
594 #ifdef FREEBSD_BASED_ON_44LITE_R2
595 int	freebsd_sys_undelete(struct lwp *, void *, register_t *);
596 
597 #else
598 #endif
599 int	sys_futimes(struct lwp *, void *, register_t *);
600 
601 int	sys_getpgid(struct lwp *, void *, register_t *);
602 
603 #if 0
604 #else
605 #endif
606 int	sys_poll(struct lwp *, void *, register_t *);
607 
608 #ifdef SYSVSEM
609 int	compat_14_sys___semctl(struct lwp *, void *, register_t *);
610 
611 int	sys_semget(struct lwp *, void *, register_t *);
612 
613 int	sys_semop(struct lwp *, void *, register_t *);
614 
615 int	sys_semconfig(struct lwp *, void *, register_t *);
616 
617 #else
618 #endif
619 #ifdef SYSVMSG
620 int	compat_14_sys_msgctl(struct lwp *, void *, register_t *);
621 
622 int	sys_msgget(struct lwp *, void *, register_t *);
623 
624 int	sys_msgsnd(struct lwp *, void *, register_t *);
625 
626 int	sys_msgrcv(struct lwp *, void *, register_t *);
627 
628 #else
629 #endif
630 #ifdef SYSVSHM
631 int	sys_shmat(struct lwp *, void *, register_t *);
632 
633 int	compat_14_sys_shmctl(struct lwp *, void *, register_t *);
634 
635 int	sys_shmdt(struct lwp *, void *, register_t *);
636 
637 int	sys_shmget(struct lwp *, void *, register_t *);
638 
639 #else
640 #endif
641 int	sys_clock_gettime(struct lwp *, void *, register_t *);
642 
643 int	sys_clock_settime(struct lwp *, void *, register_t *);
644 
645 int	sys_clock_getres(struct lwp *, void *, register_t *);
646 
647 int	sys_nanosleep(struct lwp *, void *, register_t *);
648 
649 int	sys_minherit(struct lwp *, void *, register_t *);
650 
651 int	freebsd_sys_rfork(struct lwp *, void *, register_t *);
652 
653 int	sys_issetugid(struct lwp *, void *, register_t *);
654 
655 int	sys_lchown(struct lwp *, void *, register_t *);
656 
657 int	compat_30_sys_getdents(struct lwp *, void *, register_t *);
658 
659 int	sys_lchmod(struct lwp *, void *, register_t *);
660 
661 int	sys_lutimes(struct lwp *, void *, register_t *);
662 
663 int	sys___msync13(struct lwp *, void *, register_t *);
664 
665 int	compat_30_sys___stat13(struct lwp *, void *, register_t *);
666 
667 int	compat_30_sys___fstat13(struct lwp *, void *, register_t *);
668 
669 int	compat_30_sys___lstat13(struct lwp *, void *, register_t *);
670 
671 int	compat_20_sys_fhstatfs(struct lwp *, void *, register_t *);
672 
673 int	compat_30_sys_fhopen(struct lwp *, void *, register_t *);
674 
675 int	compat_30_sys_fhstat(struct lwp *, void *, register_t *);
676 
677 int	sys_getsid(struct lwp *, void *, register_t *);
678 
679 int	freebsd_sys_yield(struct lwp *, void *, register_t *);
680 
681 int	sys_mlockall(struct lwp *, void *, register_t *);
682 
683 int	sys_munlockall(struct lwp *, void *, register_t *);
684 
685 int	sys___getcwd(struct lwp *, void *, register_t *);
686 
687 int	freebsd_sys_sched_setparam(struct lwp *, void *, register_t *);
688 
689 int	freebsd_sys_sched_getparam(struct lwp *, void *, register_t *);
690 
691 int	freebsd_sys_sched_setscheduler(struct lwp *, void *, register_t *);
692 
693 int	freebsd_sys_sched_getscheduler(struct lwp *, void *, register_t *);
694 
695 int	freebsd_sys_sched_yield(struct lwp *, void *, register_t *);
696 
697 int	freebsd_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
698 
699 int	freebsd_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
700 
701 int	freebsd_sys_utrace(struct lwp *, void *, register_t *);
702 
703 int	sys___sigprocmask14(struct lwp *, void *, register_t *);
704 
705 int	sys___sigsuspend14(struct lwp *, void *, register_t *);
706 
707 int	freebsd_sys_sigaction4(struct lwp *, void *, register_t *);
708 
709 int	sys___sigpending14(struct lwp *, void *, register_t *);
710 
711 int	sys_lchflags(struct lwp *, void *, register_t *);
712 
713 int	sys_uuidgen(struct lwp *, void *, register_t *);
714 
715 #if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
716 int	sys__ksem_close(struct lwp *, void *, register_t *);
717 
718 int	sys__ksem_post(struct lwp *, void *, register_t *);
719 
720 int	sys__ksem_wait(struct lwp *, void *, register_t *);
721 
722 int	sys__ksem_trywait(struct lwp *, void *, register_t *);
723 
724 int	sys__ksem_unlink(struct lwp *, void *, register_t *);
725 
726 int	sys__ksem_getvalue(struct lwp *, void *, register_t *);
727 
728 int	sys__ksem_destroy(struct lwp *, void *, register_t *);
729 
730 #else
731 #endif
732 #endif /* _FREEBSD_SYS_SYSCALLARGS_H_ */
733