Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/arch/i386 Regenerate (with poll())



details:   https://anonhg.NetBSD.org/src/rev/c2594368d99f
branches:  trunk
changeset: 467842:c2594368d99f
user:      abs <abs%NetBSD.org@localhost>
date:      Tue Mar 30 02:25:32 1999 +0000

description:
Regenerate (with poll())

diffstat:

 sys/compat/linux/arch/i386/linux_syscall.h     |  7 +++++--
 sys/compat/linux/arch/i386/linux_syscallargs.h |  5 +++--
 sys/compat/linux/arch/i386/linux_syscalls.c    |  7 ++++---
 sys/compat/linux/arch/i386/linux_sysent.c      |  9 +++++----
 4 files changed, 17 insertions(+), 11 deletions(-)

diffs (113 lines):

diff -r c384aca2a387 -r c2594368d99f sys/compat/linux/arch/i386/linux_syscall.h
--- a/sys/compat/linux/arch/i386/linux_syscall.h        Tue Mar 30 02:22:49 1999 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscall.h        Tue Mar 30 02:25:32 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: linux_syscall.h,v 1.7 1999/03/27 01:15:59 tron Exp $   */
+/*     $NetBSD: linux_syscall.h,v 1.8 1999/03/30 02:25:32 abs Exp $    */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.31 1999/03/27 01:10:57 tron Exp 
+ * created from        NetBSD: syscalls.master,v 1.32 1999/03/30 02:22:49 abs Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -380,6 +380,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: "struct linux_rt_sigframe *" */
 #define        LINUX_SYS_rt_sigreturn  173
 
diff -r c384aca2a387 -r c2594368d99f sys/compat/linux/arch/i386/linux_syscallargs.h
--- a/sys/compat/linux/arch/i386/linux_syscallargs.h    Tue Mar 30 02:22:49 1999 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscallargs.h    Tue Mar 30 02:25:32 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: linux_syscallargs.h,v 1.7 1999/03/27 01:15:59 tron Exp $       */
+/*     $NetBSD: linux_syscallargs.h,v 1.8 1999/03/30 02:25:32 abs Exp $        */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.31 1999/03/27 01:10:57 tron Exp 
+ * created from        NetBSD: syscalls.master,v 1.32 1999/03/30 02:22:49 abs Exp 
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -517,6 +517,7 @@
 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 *));
diff -r c384aca2a387 -r c2594368d99f sys/compat/linux/arch/i386/linux_syscalls.c
--- a/sys/compat/linux/arch/i386/linux_syscalls.c       Tue Mar 30 02:22:49 1999 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscalls.c       Tue Mar 30 02:25:32 1999 +0000
@@ -1,15 +1,16 @@
-/*     $NetBSD: linux_syscalls.c,v 1.7 1999/03/27 01:15:59 tron Exp $  */
+/*     $NetBSD: linux_syscalls.c,v 1.8 1999/03/30 02:25:32 abs Exp $   */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.31 1999/03/27 01:10:57 tron Exp 
+ * created from        NetBSD: syscalls.master,v 1.32 1999/03/30 02:22:49 abs Exp 
  */
 
 #if defined(_KERNEL) && !defined(_LKM)
 #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>
@@ -190,7 +191,7 @@
        "#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 */
diff -r c384aca2a387 -r c2594368d99f sys/compat/linux/arch/i386/linux_sysent.c
--- a/sys/compat/linux/arch/i386/linux_sysent.c Tue Mar 30 02:22:49 1999 +0000
+++ b/sys/compat/linux/arch/i386/linux_sysent.c Tue Mar 30 02:25:32 1999 +0000
@@ -1,14 +1,15 @@
-/*     $NetBSD: linux_sysent.c,v 1.7 1999/03/27 01:15:59 tron Exp $    */
+/*     $NetBSD: linux_sysent.c,v 1.8 1999/03/30 02:25:32 abs Exp $     */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.31 1999/03/27 01:10:57 tron Exp 
+ * created from        NetBSD: syscalls.master,v 1.32 1999/03/30 02:22:49 abs Exp 
  */
 
 #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>
@@ -358,8 +359,8 @@
            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,



Home | Main Index | Thread Index | Old Index