This commit is contained in:
cube 2005-07-08 22:22:19 +00:00
parent 01f1f7ce7d
commit 0d4567cd91
4 changed files with 29 additions and 15 deletions

View File

@ -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. * System call numbers.
* *
* DO NOT EDIT-- this file is automatically generated. * 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" "..." */ /* syscall: "syscall" ret: "int" args: "int" "..." */
@ -697,6 +697,12 @@
/* syscall: "netbsd32_fdatasync" ret: "int" args: "int" */ /* syscall: "netbsd32_fdatasync" ret: "int" args: "int" */
#define netbsd32_SYS_netbsd32_fdatasync 241 #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" */ /* syscall: "netbsd32___posix_rename" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
#define netbsd32_SYS_netbsd32___posix_rename 270 #define netbsd32_SYS_netbsd32___posix_rename 270

View File

@ -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. * System call argument lists.
* *
* DO NOT EDIT-- this file is automatically generated. * 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_ #ifndef _netbsd32_SYS__SYSCALLARGS_H_
@ -1065,6 +1065,10 @@ struct netbsd32_fdatasync_args {
syscallarg(int) fd; syscallarg(int) fd;
}; };
struct netbsd32_mlockall_args {
syscallarg(int) flags;
};
struct netbsd32___posix_rename_args { struct netbsd32___posix_rename_args {
syscallarg(const netbsd32_charp) from; syscallarg(const netbsd32_charp) from;
syscallarg(const netbsd32_charp) to; 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_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___posix_rename(struct lwp *, void *, register_t *);
int netbsd32_swapctl(struct lwp *, void *, register_t *); int netbsd32_swapctl(struct lwp *, void *, register_t *);

View File

@ -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. * System call names.
* *
* DO NOT EDIT-- this file is automatically generated. * 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 <sys/cdefs.h> #include <sys/cdefs.h>
__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)
#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 */ "#239 (unimplemented timer_getoverrun)", /* 239 = unimplemented timer_getoverrun */
"netbsd32_nanosleep", /* 240 = netbsd32_nanosleep */ "netbsd32_nanosleep", /* 240 = netbsd32_nanosleep */
"netbsd32_fdatasync", /* 241 = netbsd32_fdatasync */ "netbsd32_fdatasync", /* 241 = netbsd32_fdatasync */
"#242 (unimplemented)", /* 242 = unimplemented */ "netbsd32_mlockall", /* 242 = netbsd32_mlockall */
"#243 (unimplemented)", /* 243 = unimplemented */ "munlockall", /* 243 = munlockall */
"#244 (unimplemented)", /* 244 = unimplemented */ "#244 (unimplemented)", /* 244 = unimplemented */
"#245 (unimplemented)", /* 245 = unimplemented */ "#245 (unimplemented)", /* 245 = unimplemented */
"#246 (unimplemented)", /* 246 = unimplemented */ "#246 (unimplemented)", /* 246 = unimplemented */

View File

@ -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. * System call switch table.
* *
* DO NOT EDIT-- this file is automatically generated. * 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 <sys/cdefs.h> #include <sys/cdefs.h>
__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) #if defined(_KERNEL_OPT)
#include "opt_ktrace.h" #include "opt_ktrace.h"
@ -690,10 +690,10 @@ struct sysent netbsd32_sysent[] = {
netbsd32_nanosleep }, /* 240 = netbsd32_nanosleep */ netbsd32_nanosleep }, /* 240 = netbsd32_nanosleep */
{ 1, s(struct netbsd32_fdatasync_args), 0, { 1, s(struct netbsd32_fdatasync_args), 0,
netbsd32_fdatasync }, /* 241 = netbsd32_fdatasync */ netbsd32_fdatasync }, /* 241 = netbsd32_fdatasync */
{ 1, s(struct netbsd32_mlockall_args), 0,
netbsd32_mlockall }, /* 242 = netbsd32_mlockall */
{ 0, 0, 0, { 0, 0, 0,
sys_nosys }, /* 242 = unimplemented */ sys_munlockall }, /* 243 = munlockall */
{ 0, 0, 0,
sys_nosys }, /* 243 = unimplemented */
{ 0, 0, 0, { 0, 0, 0,
sys_nosys }, /* 244 = unimplemented */ sys_nosys }, /* 244 = unimplemented */
{ 0, 0, 0, { 0, 0, 0,