From 0d4567cd912dd0999ec49f5d2e5b554ea9df79fe Mon Sep 17 00:00:00 2001 From: cube Date: Fri, 8 Jul 2005 22:22:19 +0000 Subject: [PATCH] Regen. --- sys/compat/netbsd32/netbsd32_syscall.h | 10 ++++++++-- sys/compat/netbsd32/netbsd32_syscallargs.h | 12 ++++++++++-- sys/compat/netbsd32/netbsd32_syscalls.c | 10 +++++----- sys/compat/netbsd32/netbsd32_sysent.c | 12 ++++++------ 4 files changed, 29 insertions(+), 15 deletions(-) diff --git a/sys/compat/netbsd32/netbsd32_syscall.h b/sys/compat/netbsd32/netbsd32_syscall.h index f10af4da9793..9bd23df735cd 100644 --- a/sys/compat/netbsd32/netbsd32_syscall.h +++ b/sys/compat/netbsd32/netbsd32_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: netbsd32_syscall.h,v 1.36 2005/07/08 21:40:26 cube Exp $ */ +/* $NetBSD: netbsd32_syscall.h,v 1.37 2005/07/08 22:22:19 cube Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.29 2005/07/08 21:39:39 cube Exp + * created from NetBSD: syscalls.master,v 1.30 2005/07/08 22:21:43 cube Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ @@ -697,6 +697,12 @@ /* syscall: "netbsd32_fdatasync" ret: "int" args: "int" */ #define netbsd32_SYS_netbsd32_fdatasync 241 +/* syscall: "netbsd32_mlockall" ret: "int" args: "int" */ +#define netbsd32_SYS_netbsd32_mlockall 242 + +/* syscall: "munlockall" ret: "int" args: */ +#define netbsd32_SYS_munlockall 243 + /* syscall: "netbsd32___posix_rename" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */ #define netbsd32_SYS_netbsd32___posix_rename 270 diff --git a/sys/compat/netbsd32/netbsd32_syscallargs.h b/sys/compat/netbsd32/netbsd32_syscallargs.h index 12531f2a29a0..4b10668085b4 100644 --- a/sys/compat/netbsd32/netbsd32_syscallargs.h +++ b/sys/compat/netbsd32/netbsd32_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: netbsd32_syscallargs.h,v 1.36 2005/07/08 21:40:26 cube Exp $ */ +/* $NetBSD: netbsd32_syscallargs.h,v 1.37 2005/07/08 22:22:19 cube Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.29 2005/07/08 21:39:39 cube Exp + * created from NetBSD: syscalls.master,v 1.30 2005/07/08 22:21:43 cube Exp */ #ifndef _netbsd32_SYS__SYSCALLARGS_H_ @@ -1065,6 +1065,10 @@ struct netbsd32_fdatasync_args { syscallarg(int) fd; }; +struct netbsd32_mlockall_args { + syscallarg(int) flags; +}; + struct netbsd32___posix_rename_args { syscallarg(const netbsd32_charp) from; syscallarg(const netbsd32_charp) to; @@ -1853,6 +1857,10 @@ int netbsd32_nanosleep(struct lwp *, void *, register_t *); int netbsd32_fdatasync(struct lwp *, void *, register_t *); +int netbsd32_mlockall(struct lwp *, void *, register_t *); + +int sys_munlockall(struct lwp *, void *, register_t *); + int netbsd32___posix_rename(struct lwp *, void *, register_t *); int netbsd32_swapctl(struct lwp *, void *, register_t *); diff --git a/sys/compat/netbsd32/netbsd32_syscalls.c b/sys/compat/netbsd32/netbsd32_syscalls.c index ac6ca85c70f6..378bf6f066f1 100644 --- a/sys/compat/netbsd32/netbsd32_syscalls.c +++ b/sys/compat/netbsd32/netbsd32_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: netbsd32_syscalls.c,v 1.36 2005/07/08 21:40:26 cube Exp $ */ +/* $NetBSD: netbsd32_syscalls.c,v 1.37 2005/07/08 22:22:19 cube Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.29 2005/07/08 21:39:39 cube Exp + * created from NetBSD: syscalls.master,v 1.30 2005/07/08 22:21:43 cube Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.36 2005/07/08 21:40:26 cube Exp $"); +__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.37 2005/07/08 22:22:19 cube Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) @@ -352,8 +352,8 @@ const char *const netbsd32_syscallnames[] = { "#239 (unimplemented timer_getoverrun)", /* 239 = unimplemented timer_getoverrun */ "netbsd32_nanosleep", /* 240 = netbsd32_nanosleep */ "netbsd32_fdatasync", /* 241 = netbsd32_fdatasync */ - "#242 (unimplemented)", /* 242 = unimplemented */ - "#243 (unimplemented)", /* 243 = unimplemented */ + "netbsd32_mlockall", /* 242 = netbsd32_mlockall */ + "munlockall", /* 243 = munlockall */ "#244 (unimplemented)", /* 244 = unimplemented */ "#245 (unimplemented)", /* 245 = unimplemented */ "#246 (unimplemented)", /* 246 = unimplemented */ diff --git a/sys/compat/netbsd32/netbsd32_sysent.c b/sys/compat/netbsd32/netbsd32_sysent.c index 755158471bb4..e5fbc716c3e2 100644 --- a/sys/compat/netbsd32/netbsd32_sysent.c +++ b/sys/compat/netbsd32/netbsd32_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: netbsd32_sysent.c,v 1.36 2005/07/08 21:40:26 cube Exp $ */ +/* $NetBSD: netbsd32_sysent.c,v 1.37 2005/07/08 22:22:19 cube Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.29 2005/07/08 21:39:39 cube Exp + * created from NetBSD: syscalls.master,v 1.30 2005/07/08 22:21:43 cube Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.36 2005/07/08 21:40:26 cube Exp $"); +__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.37 2005/07/08 22:22:19 cube Exp $"); #if defined(_KERNEL_OPT) #include "opt_ktrace.h" @@ -690,10 +690,10 @@ struct sysent netbsd32_sysent[] = { netbsd32_nanosleep }, /* 240 = netbsd32_nanosleep */ { 1, s(struct netbsd32_fdatasync_args), 0, netbsd32_fdatasync }, /* 241 = netbsd32_fdatasync */ + { 1, s(struct netbsd32_mlockall_args), 0, + netbsd32_mlockall }, /* 242 = netbsd32_mlockall */ { 0, 0, 0, - sys_nosys }, /* 242 = unimplemented */ - { 0, 0, 0, - sys_nosys }, /* 243 = unimplemented */ + sys_munlockall }, /* 243 = munlockall */ { 0, 0, 0, sys_nosys }, /* 244 = unimplemented */ { 0, 0, 0,