This commit is contained in:
jdolecek 2000-12-14 20:39:36 +00:00
parent b206900063
commit 5f0114a837
8 changed files with 38 additions and 22 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.30 2000/12/14 18:08:09 mycroft Exp $ */
/* $NetBSD: linux_syscall.h,v 1.31 2000/12/14 20:40:02 jdolecek Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.28 2000/12/11 04:55:50 mycroft Exp
* created from NetBSD: syscalls.master,v 1.29 2000/12/14 20:38:03 jdolecek Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -373,6 +373,9 @@
/* syscall: "munlockall" ret: "int" args: */
#define LINUX_SYS_munlockall 317
/* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */
#define LINUX_SYS_sysinfo 318
/* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */
#define LINUX_SYS___sysctl 319

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.30 2000/12/14 18:08:09 mycroft Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.31 2000/12/14 20:40:02 jdolecek Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.28 2000/12/11 04:55:50 mycroft Exp
* created from NetBSD: syscalls.master,v 1.29 2000/12/14 20:38:03 jdolecek Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -384,6 +384,10 @@ struct linux_sys_uselib_args {
syscallarg(const char *) path;
};
struct linux_sys_sysinfo_args {
syscallarg(struct linux_sysinfo *) arg;
};
struct linux_sys___sysctl_args {
syscallarg(struct linux___sysctl *) lsp;
};
@ -681,6 +685,7 @@ int sys_mlock(struct proc *, void *, register_t *);
int sys_munlock(struct proc *, void *, register_t *);
int sys_mlockall(struct proc *, void *, register_t *);
int sys_munlockall(struct proc *, void *, register_t *);
int linux_sys_sysinfo(struct proc *, void *, register_t *);
int linux_sys___sysctl(struct proc *, void *, register_t *);
int linux_sys_swapon(struct proc *, void *, register_t *);
int linux_sys_times(struct proc *, void *, register_t *);

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscalls.c,v 1.31 2000/12/14 18:08:09 mycroft Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.32 2000/12/14 20:40:02 jdolecek Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.28 2000/12/11 04:55:50 mycroft Exp
* created from NetBSD: syscalls.master,v 1.29 2000/12/14 20:38:03 jdolecek Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -373,7 +373,7 @@ const char *const linux_syscallnames[] = {
"munlock", /* 315 = munlock */
"mlockall", /* 316 = mlockall */
"munlockall", /* 317 = munlockall */
"#318 (unimplemented sysinfo)", /* 318 = unimplemented sysinfo */
"sysinfo", /* 318 = sysinfo */
"__sysctl", /* 319 = __sysctl */
"#320 (unimplemented idle)", /* 320 = unimplemented idle */
"#321 (unimplemented oldumount)", /* 321 = unimplemented oldumount */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_sysent.c,v 1.31 2000/12/14 18:08:09 mycroft Exp $ */
/* $NetBSD: linux_sysent.c,v 1.32 2000/12/14 20:40:02 jdolecek Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.28 2000/12/11 04:55:50 mycroft Exp
* created from NetBSD: syscalls.master,v 1.29 2000/12/14 20:38:03 jdolecek Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -703,8 +703,8 @@ struct sysent linux_sysent[] = {
sys_mlockall }, /* 316 = mlockall */
{ 0, 0,
sys_munlockall }, /* 317 = munlockall */
{ 0, 0,
sys_nosys }, /* 318 = unimplemented sysinfo */
{ 1, s(struct linux_sys_sysinfo_args),
linux_sys_sysinfo }, /* 318 = sysinfo */
{ 1, s(struct linux_sys___sysctl_args),
linux_sys___sysctl }, /* 319 = __sysctl */
{ 0, 0,

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.24 2000/12/12 22:24:14 jdolecek Exp $ */
/* $NetBSD: linux_syscall.h,v 1.25 2000/12/14 20:39:37 jdolecek Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.23 2000/12/12 22:23:03 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.24 2000/12/14 20:37:57 jdolecek Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -300,6 +300,9 @@
/* syscall: "swapoff" ret: "int" args: "const char *" */
#define LINUX_SYS_swapoff 115
/* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */
#define LINUX_SYS_sysinfo 116
/* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "caddr_t" */
#define LINUX_SYS_ipc 117

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.24 2000/12/12 22:24:14 jdolecek Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.25 2000/12/14 20:39:37 jdolecek Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.23 2000/12/12 22:23:03 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.24 2000/12/14 20:37:57 jdolecek Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -277,6 +277,10 @@ struct linux_sys_swapoff_args {
syscallarg(const char *) path;
};
struct linux_sys_sysinfo_args {
syscallarg(struct linux_sysinfo *) arg;
};
struct linux_sys_ipc_args {
syscallarg(int) what;
syscallarg(int) a1;
@ -604,6 +608,7 @@ int linux_sys_lstat(struct proc *, void *, register_t *);
int linux_sys_fstat(struct proc *, void *, register_t *);
int linux_sys_wait4(struct proc *, void *, register_t *);
int linux_sys_swapoff(struct proc *, void *, register_t *);
int linux_sys_sysinfo(struct proc *, void *, register_t *);
int linux_sys_ipc(struct proc *, void *, register_t *);
int sys_fsync(struct proc *, void *, register_t *);
int linux_sys_sigreturn(struct proc *, void *, register_t *);

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscalls.c,v 1.25 2000/12/12 22:24:14 jdolecek Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.26 2000/12/14 20:39:36 jdolecek Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.23 2000/12/12 22:23:03 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.24 2000/12/14 20:37:57 jdolecek Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -160,7 +160,7 @@ const char *const linux_syscallnames[] = {
"#113 (unimplemented vm86old)", /* 113 = unimplemented vm86old */
"wait4", /* 114 = wait4 */
"swapoff", /* 115 = swapoff */
"#116 (unimplemented sysinfo)", /* 116 = unimplemented sysinfo */
"sysinfo", /* 116 = sysinfo */
"ipc", /* 117 = ipc */
"fsync", /* 118 = fsync */
"sigreturn", /* 119 = sigreturn */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_sysent.c,v 1.24 2000/12/12 22:24:14 jdolecek Exp $ */
/* $NetBSD: linux_sysent.c,v 1.25 2000/12/14 20:39:36 jdolecek Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.23 2000/12/12 22:23:03 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.24 2000/12/14 20:37:57 jdolecek Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -282,8 +282,8 @@ struct sysent linux_sysent[] = {
linux_sys_wait4 }, /* 114 = wait4 */
{ 1, s(struct linux_sys_swapoff_args),
linux_sys_swapoff }, /* 115 = swapoff */
{ 0, 0,
sys_nosys }, /* 116 = unimplemented sysinfo */
{ 1, s(struct linux_sys_sysinfo_args),
linux_sys_sysinfo }, /* 116 = sysinfo */
{ 5, s(struct linux_sys_ipc_args),
linux_sys_ipc }, /* 117 = ipc */
{ 1, s(struct sys_fsync_args),