This commit is contained in:
augustss 2000-12-13 21:42:21 +00:00
parent b907acd3fd
commit 8dab2a36e1
4 changed files with 19 additions and 11 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.28 2000/12/12 22:23:47 jdolecek Exp $ */
/* $NetBSD: linux_syscall.h,v 1.29 2000/12/13 21:42:21 augustss Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.49 2000/12/12 22:23:02 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.50 2000/12/13 21:41:46 augustss Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -314,6 +314,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.28 2000/12/12 22:23:48 jdolecek Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.29 2000/12/13 21:42:21 augustss Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.49 2000/12/12 22:23:02 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.50 2000/12/13 21:41:46 augustss Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -299,6 +299,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;
@ -626,6 +630,7 @@ int linux_sys_olduname(struct proc *, void *, register_t *);
int linux_sys_iopl(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.29 2000/12/12 22:23:47 jdolecek Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.30 2000/12/13 21:42:21 augustss Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.49 2000/12/12 22:23:02 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.50 2000/12/13 21:41:46 augustss Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -141,7 +141,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.28 2000/12/12 22:23:47 jdolecek Exp $ */
/* $NetBSD: linux_sysent.c,v 1.29 2000/12/13 21:42:21 augustss Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.49 2000/12/12 22:23:02 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.50 2000/12/13 21:41:46 augustss Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -257,8 +257,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),