Module Name: src Committed By: njoly Date: Sat Feb 15 22:36:27 UTC 2014
Modified Files: src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h linux_syscalls.c linux_sysent.c Log Message: Regen. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sys/compat/linux/arch/m68k/linux_syscall.h \ src/sys/compat/linux/arch/m68k/linux_syscalls.c \ src/sys/compat/linux/arch/m68k/linux_sysent.c cvs rdiff -u -r1.85 -r1.86 src/sys/compat/linux/arch/m68k/linux_syscallargs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/compat/linux/arch/m68k/linux_syscall.h diff -u src/sys/compat/linux/arch/m68k/linux_syscall.h:1.86 src/sys/compat/linux/arch/m68k/linux_syscall.h:1.87 --- src/sys/compat/linux/arch/m68k/linux_syscall.h:1.86 Tue Dec 24 13:41:55 2013 +++ src/sys/compat/linux/arch/m68k/linux_syscall.h Sat Feb 15 22:36:26 2014 @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscall.h,v 1.86 2013/12/24 13:41:55 njoly Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.87 2014/02/15 22:36:26 njoly Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.80 2013/12/24 13:41:25 njoly Exp + * created from NetBSD: syscalls.master,v 1.81 2014/02/15 22:35:08 njoly Exp */ #ifndef _LINUX_SYS_SYSCALL_H_ @@ -615,6 +615,12 @@ /* syscall: "futex" ret: "int" args: "int *" "int" "int" "const struct linux_timespec *" "int *" "int" */ #define LINUX_SYS_futex 235 +/* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */ +#define LINUX_SYS_mincore 237 + +/* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */ +#define LINUX_SYS_madvise 238 + /* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */ #define LINUX_SYS_fcntl64 239 Index: src/sys/compat/linux/arch/m68k/linux_syscalls.c diff -u src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.86 src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.87 --- src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.86 Tue Dec 24 13:41:55 2013 +++ src/sys/compat/linux/arch/m68k/linux_syscalls.c Sat Feb 15 22:36:26 2014 @@ -1,14 +1,14 @@ -/* $NetBSD: linux_syscalls.c,v 1.86 2013/12/24 13:41:55 njoly Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.87 2014/02/15 22:36:26 njoly Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.80 2013/12/24 13:41:25 njoly Exp + * created from NetBSD: syscalls.master,v 1.81 2014/02/15 22:35:08 njoly Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.86 2013/12/24 13:41:55 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.87 2014/02/15 22:36:26 njoly Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) @@ -289,8 +289,8 @@ const char *const linux_syscallnames[] = /* 234 */ "fremovexattr", /* 235 */ "futex", /* 236 */ "#236 (unimplemented sendfile64)", - /* 237 */ "#237 (unimplemented mincore)", - /* 238 */ "#238 (unimplemented madvise)", + /* 237 */ "mincore", + /* 238 */ "madvise", /* 239 */ "fcntl64", /* 240 */ "#240 (unimplemented readahead)", /* 241 */ "#241 (unimplemented io_setup)", Index: src/sys/compat/linux/arch/m68k/linux_sysent.c diff -u src/sys/compat/linux/arch/m68k/linux_sysent.c:1.86 src/sys/compat/linux/arch/m68k/linux_sysent.c:1.87 --- src/sys/compat/linux/arch/m68k/linux_sysent.c:1.86 Tue Dec 24 13:41:55 2013 +++ src/sys/compat/linux/arch/m68k/linux_sysent.c Sat Feb 15 22:36:26 2014 @@ -1,14 +1,14 @@ -/* $NetBSD: linux_sysent.c,v 1.86 2013/12/24 13:41:55 njoly Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.87 2014/02/15 22:36:26 njoly Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.80 2013/12/24 13:41:25 njoly Exp + * created from NetBSD: syscalls.master,v 1.81 2014/02/15 22:35:08 njoly Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.86 2013/12/24 13:41:55 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.87 2014/02/15 22:36:26 njoly Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -533,10 +533,10 @@ struct sysent linux_sysent[] = { (sy_call_t *)linux_sys_futex }, /* 235 = futex */ { 0, 0, 0, linux_sys_nosys }, /* 236 = unimplemented sendfile64 */ - { 0, 0, 0, - linux_sys_nosys }, /* 237 = unimplemented mincore */ - { 0, 0, 0, - linux_sys_nosys }, /* 238 = unimplemented madvise */ + { ns(struct sys_mincore_args), SYCALL_ARG_PTR, + (sy_call_t *)sys_mincore }, /* 237 = mincore */ + { ns(struct sys_madvise_args), SYCALL_ARG_PTR, + (sy_call_t *)sys_madvise }, /* 238 = madvise */ { ns(struct linux_sys_fcntl64_args), SYCALL_ARG_PTR, (sy_call_t *)linux_sys_fcntl64 }, /* 239 = fcntl64 */ { 0, 0, 0, Index: src/sys/compat/linux/arch/m68k/linux_syscallargs.h diff -u src/sys/compat/linux/arch/m68k/linux_syscallargs.h:1.85 src/sys/compat/linux/arch/m68k/linux_syscallargs.h:1.86 --- src/sys/compat/linux/arch/m68k/linux_syscallargs.h:1.85 Tue Dec 24 13:41:55 2013 +++ src/sys/compat/linux/arch/m68k/linux_syscallargs.h Sat Feb 15 22:36:26 2014 @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.85 2013/12/24 13:41:55 njoly Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.86 2014/02/15 22:36:26 njoly Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.80 2013/12/24 13:41:25 njoly Exp + * created from NetBSD: syscalls.master,v 1.81 2014/02/15 22:35:08 njoly Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -881,6 +881,10 @@ struct linux_sys_futex_args { }; check_syscall_args(linux_sys_futex) +struct sys_mincore_args; + +struct sys_madvise_args; + struct linux_sys_fcntl64_args { syscallarg(int) fd; syscallarg(int) cmd; @@ -1477,6 +1481,10 @@ int linux_sys_fremovexattr(struct lwp *, int linux_sys_futex(struct lwp *, const struct linux_sys_futex_args *, register_t *); +int sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *); + +int sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *); + int linux_sys_fcntl64(struct lwp *, const struct linux_sys_fcntl64_args *, register_t *); int linux_sys_fadvise64(struct lwp *, const struct linux_sys_fadvise64_args *, register_t *);