diff options
| author | njoly <njoly@NetBSD.org> | 2014-02-15 22:36:26 +0000 |
|---|---|---|
| committer | njoly <njoly@NetBSD.org> | 2014-02-15 22:36:26 +0000 |
| commit | c1bc477cd8d192ea05442fa735e3d6599983da19 (patch) | |
| tree | b02696b08f545a9c0a214ac455d1726a5deea57f /sys/compat/linux | |
| parent | 51bd7fec20b74dc67dcb81cc0e8e4ce08226dff3 (diff) | |
Regen.
Diffstat (limited to 'sys/compat/linux')
| -rw-r--r-- | sys/compat/linux/arch/m68k/linux_syscall.h | 10 | ||||
| -rw-r--r-- | sys/compat/linux/arch/m68k/linux_syscallargs.h | 12 | ||||
| -rw-r--r-- | sys/compat/linux/arch/m68k/linux_syscalls.c | 10 | ||||
| -rw-r--r-- | sys/compat/linux/arch/m68k/linux_sysent.c | 14 |
4 files changed, 30 insertions, 16 deletions
diff --git a/sys/compat/linux/arch/m68k/linux_syscall.h b/sys/compat/linux/arch/m68k/linux_syscall.h index da710556fb9..d3275cbeaa8 100644 --- a/sys/compat/linux/arch/m68k/linux_syscall.h +++ b/sys/compat/linux/arch/m68k/linux_syscall.h @@ -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 diff --git a/sys/compat/linux/arch/m68k/linux_syscallargs.h b/sys/compat/linux/arch/m68k/linux_syscallargs.h index cc88f2d8e39..66067ef90dc 100644 --- a/sys/compat/linux/arch/m68k/linux_syscallargs.h +++ b/sys/compat/linux/arch/m68k/linux_syscallargs.h @@ -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 *, const struct linux_sys_fremovexattr_arg 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 *); diff --git a/sys/compat/linux/arch/m68k/linux_syscalls.c b/sys/compat/linux/arch/m68k/linux_syscalls.c index 335fac49694..8652ab58fe7 100644 --- a/sys/compat/linux/arch/m68k/linux_syscalls.c +++ b/sys/compat/linux/arch/m68k/linux_syscalls.c @@ -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)", diff --git a/sys/compat/linux/arch/m68k/linux_sysent.c b/sys/compat/linux/arch/m68k/linux_sysent.c index fa5916710ce..a40e4893998 100644 --- a/sys/compat/linux/arch/m68k/linux_sysent.c +++ b/sys/compat/linux/arch/m68k/linux_sysent.c @@ -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, |
