summaryrefslogtreecommitdiff
path: root/sys/compat/freebsd/freebsd_syscallargs.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-10 08:07:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-10 08:07:31 +0000
commit7671605387bbd5e4f0d8839310f81a4b3d6c12c5 (patch)
tree1f8091ce8b107c5faa97a1a13bdd133f37de2737 /sys/compat/freebsd/freebsd_syscallargs.h
parent312b63cab3976ffcb3290a469bbf55b90da4559e (diff)
sync
Diffstat (limited to 'sys/compat/freebsd/freebsd_syscallargs.h')
-rw-r--r--sys/compat/freebsd/freebsd_syscallargs.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/compat/freebsd/freebsd_syscallargs.h b/sys/compat/freebsd/freebsd_syscallargs.h
index 7c6c498279d..4772cd575cd 100644
--- a/sys/compat/freebsd/freebsd_syscallargs.h
+++ b/sys/compat/freebsd/freebsd_syscallargs.h
@@ -1,8 +1,10 @@
+/* $OpenBSD: freebsd_syscallargs.h,v 1.9 1999/02/10 08:07:30 deraadt Exp $ */
+
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.8 1997/11/13 18:35:23 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.9 1999/02/10 08:05:08 deraadt Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -118,6 +120,12 @@ struct freebsd_sys_chroot_args {
syscallarg(char *) path;
};
+struct freebsd_sys_madvise_args {
+ syscallarg(caddr_t) addr;
+ syscallarg(size_t) len;
+ syscallarg(int) behav;
+};
+
struct freebsd_sys_sigreturn_args {
syscallarg(struct freebsd_sigcontext *) scp;
};
@@ -276,7 +284,7 @@ int compat_43_sys_mmap __P((struct proc *, void *, register_t *));
int sys_ovadvise __P((struct proc *, void *, register_t *));
int sys_munmap __P((struct proc *, void *, register_t *));
int sys_mprotect __P((struct proc *, void *, register_t *));
-int sys_madvise __P((struct proc *, void *, register_t *));
+int freebsd_sys_madvise __P((struct proc *, void *, register_t *));
int sys_mincore __P((struct proc *, void *, register_t *));
int sys_getgroups __P((struct proc *, void *, register_t *));
int sys_setgroups __P((struct proc *, void *, register_t *));