This commit is contained in:
tron 1999-03-30 07:37:58 +00:00
parent b46e8732dd
commit ab9ea90a8e
8 changed files with 34 additions and 22 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.8 1999/03/27 01:15:58 tron Exp $ */
/* $NetBSD: linux_syscall.h,v 1.9 1999/03/30 07:37:58 tron Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.8 1999/03/27 01:10:56 tron Exp
* created from NetBSD: syscalls.master,v 1.9 1999/03/30 07:34:49 tron Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -154,6 +154,9 @@
/* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
#define LINUX_SYS_fcntl 92
/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
#define LINUX_SYS_poll 94
/* syscall: "fsync" ret: "int" args: "int" */
#define LINUX_SYS_fsync 95

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.8 1999/03/27 01:15:58 tron Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.9 1999/03/30 07:37:58 tron Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.8 1999/03/27 01:10:56 tron Exp
* created from NetBSD: syscalls.master,v 1.9 1999/03/30 07:34:49 tron Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -391,6 +391,7 @@ int compat_43_sys_sethostname __P((struct proc *, void *, register_t *));
int sys_dup2 __P((struct proc *, void *, register_t *));
int linux_sys_fstat __P((struct proc *, void *, register_t *));
int linux_sys_fcntl __P((struct proc *, void *, register_t *));
int sys_poll __P((struct proc *, void *, register_t *));
int sys_fsync __P((struct proc *, void *, register_t *));
int sys_setpriority __P((struct proc *, void *, register_t *));
int linux_sys_socket __P((struct proc *, void *, register_t *));

View File

@ -1,16 +1,17 @@
/* $NetBSD: linux_syscalls.c,v 1.8 1999/03/27 01:15:59 tron Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.9 1999/03/30 07:37:59 tron Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.8 1999/03/27 01:10:56 tron Exp
* created from NetBSD: syscalls.master,v 1.9 1999/03/30 07:34:49 tron Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
#include "opt_sysv.h"
#include "opt_compat_43.h"
#include <sys/param.h>
#include <sys/poll.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/mount.h>
@ -121,7 +122,7 @@ char *linux_syscallnames[] = {
"fstat", /* 91 = fstat */
"fcntl", /* 92 = fcntl */
"#93 (unimplemented osf_select)", /* 93 = unimplemented osf_select */
"#94 (unimplemented poll)", /* 94 = unimplemented poll */
"poll", /* 94 = poll */
"fsync", /* 95 = fsync */
"setpriority", /* 96 = setpriority */
"socket", /* 97 = socket */

View File

@ -1,15 +1,16 @@
/* $NetBSD: linux_sysent.c,v 1.9 1999/03/27 01:15:59 tron Exp $ */
/* $NetBSD: linux_sysent.c,v 1.10 1999/03/30 07:37:59 tron Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.8 1999/03/27 01:10:56 tron Exp
* created from NetBSD: syscalls.master,v 1.9 1999/03/30 07:34:49 tron Exp
*/
#include "opt_sysv.h"
#include "opt_compat_43.h"
#include <sys/param.h>
#include <sys/poll.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/mount.h>
@ -215,8 +216,8 @@ struct sysent linux_sysent[] = {
linux_sys_fcntl }, /* 92 = fcntl */
{ 0, 0,
sys_nosys }, /* 93 = unimplemented osf_select */
{ 0, 0,
sys_nosys }, /* 94 = unimplemented poll */
{ 3, s(struct sys_poll_args),
sys_poll }, /* 94 = poll */
{ 1, s(struct sys_fsync_args),
sys_fsync }, /* 95 = fsync */
{ 3, s(struct sys_setpriority_args),

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.4 1999/03/27 01:16:00 tron Exp $ */
/* $NetBSD: linux_syscall.h,v 1.5 1999/03/30 07:38:00 tron Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.4 1999/03/27 01:10:57 tron Exp
* created from NetBSD: syscalls.master,v 1.5 1999/03/30 07:29:05 tron Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -366,6 +366,9 @@
/* syscall: "mremap" ret: "void *" args: "void *" "size_t" "size_t" "u_long" */
#define LINUX_SYS_mremap 163
/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
#define LINUX_SYS_poll 168
/* syscall: "rt_sigreturn" ret: "int" args: */
#define LINUX_SYS_rt_sigreturn 173

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.4 1999/03/27 01:16:00 tron Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.5 1999/03/30 07:38:00 tron Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.4 1999/03/27 01:10:57 tron Exp
* created from NetBSD: syscalls.master,v 1.5 1999/03/30 07:29:05 tron Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -501,6 +501,7 @@ int sys_mlock __P((struct proc *, void *, register_t *));
int sys_munlock __P((struct proc *, void *, register_t *));
int sys_nanosleep __P((struct proc *, void *, register_t *));
int linux_sys_mremap __P((struct proc *, void *, register_t *));
int sys_poll __P((struct proc *, void *, register_t *));
int linux_sys_rt_sigreturn __P((struct proc *, void *, register_t *));
int linux_sys_rt_sigaction __P((struct proc *, void *, register_t *));
int linux_sys_rt_sigprocmask __P((struct proc *, void *, register_t *));

View File

@ -1,16 +1,17 @@
/* $NetBSD: linux_syscalls.c,v 1.4 1999/03/27 01:16:00 tron Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.5 1999/03/30 07:38:00 tron Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.4 1999/03/27 01:10:57 tron Exp
* created from NetBSD: syscalls.master,v 1.5 1999/03/30 07:29:05 tron Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
#include "opt_compat_netbsd.h"
#include "opt_compat_43.h"
#include <sys/param.h>
#include <sys/poll.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/mount.h>
@ -217,7 +218,7 @@ char *linux_syscallnames[] = {
"#165 (unimplemented getresuid)", /* 165 = unimplemented getresuid */
"#166 (unimplemented vm86)", /* 166 = unimplemented vm86 */
"#167 (unimplemented query_module)", /* 167 = unimplemented query_module */
"#168 (unimplemented poll)", /* 168 = unimplemented poll */
"poll", /* 168 = poll */
"#169 (unimplemented nfsservctl)", /* 169 = unimplemented nfsservctl */
"#170 (unimplemented setresgid)", /* 170 = unimplemented setresgid */
"#171 (unimplemented setresgid)", /* 171 = unimplemented setresgid */

View File

@ -1,15 +1,16 @@
/* $NetBSD: linux_sysent.c,v 1.4 1999/03/27 01:16:00 tron Exp $ */
/* $NetBSD: linux_sysent.c,v 1.5 1999/03/30 07:38:01 tron Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.4 1999/03/27 01:10:57 tron Exp
* created from NetBSD: syscalls.master,v 1.5 1999/03/30 07:29:05 tron Exp
*/
#include "opt_compat_netbsd.h"
#include "opt_compat_43.h"
#include <sys/param.h>
#include <sys/poll.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/mount.h>
@ -393,8 +394,8 @@ struct sysent linux_sysent[] = {
sys_nosys }, /* 166 = unimplemented vm86 */
{ 0, 0,
sys_nosys }, /* 167 = unimplemented query_module */
{ 0, 0,
sys_nosys }, /* 168 = unimplemented poll */
{ 3, s(struct sys_poll_args),
sys_poll }, /* 168 = poll */
{ 0, 0,
sys_nosys }, /* 169 = unimplemented nfsservctl */
{ 0, 0,