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 Add poll() emulation.



details:   https://anonhg.NetBSD.org/src/rev/1cd8a9a7e3a3
branches:  trunk
changeset: 467857:1cd8a9a7e3a3
user:      tron <tron%NetBSD.org@localhost>
date:      Tue Mar 30 07:29:05 1999 +0000

description:
Add poll() emulation.

diffstat:

 sys/compat/linux/arch/alpha/syscalls.master |  6 ++++--
 sys/compat/linux/arch/m68k/syscalls.master  |  6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (54 lines):

diff -r f0c809edf1f2 -r 1cd8a9a7e3a3 sys/compat/linux/arch/alpha/syscalls.master
--- a/sys/compat/linux/arch/alpha/syscalls.master       Tue Mar 30 06:19:54 1999 +0000
+++ b/sys/compat/linux/arch/alpha/syscalls.master       Tue Mar 30 07:29:05 1999 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.8 1999/03/27 01:10:56 tron Exp $
+       $NetBSD: syscalls.master,v 1.9 1999/03/30 07:34:49 tron Exp $
 
 ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
 
@@ -56,6 +56,7 @@
 #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>
@@ -182,7 +183,8 @@
 91     STD             { int linux_sys_fstat(int fd, struct linux_stat *sp); }
 92     STD             { int linux_sys_fcntl(int fd, int cmd, void *arg); }
 93     UNIMPL          osf_select
-94     UNIMPL          poll
+94     NOARGS          { int sys_poll(struct pollfd *fds, u_int nfds, \
+                           int timeout); }
 95     NOARGS          { int sys_fsync(int fd); }
 96     NOARGS          { int sys_setpriority(int which, int who, int prio); }
 97     STD             { int linux_sys_socket(int domain, int type, \
diff -r f0c809edf1f2 -r 1cd8a9a7e3a3 sys/compat/linux/arch/m68k/syscalls.master
--- a/sys/compat/linux/arch/m68k/syscalls.master        Tue Mar 30 06:19:54 1999 +0000
+++ b/sys/compat/linux/arch/m68k/syscalls.master        Tue Mar 30 07:29:05 1999 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.4 1999/03/27 01:10:57 tron Exp $
+       $NetBSD: syscalls.master,v 1.5 1999/03/30 07:29:05 tron Exp $
 
 ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
 
@@ -37,6 +37,7 @@
 #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>
@@ -289,7 +290,8 @@
 165    UNIMPL          getresuid
 166    UNIMPL          vm86
 167    UNIMPL          query_module
-168    UNIMPL          poll
+168    NOARGS          { int sys_poll(struct pollfd *fds, u_int nfds, \
+                           int timeout); }
 169    UNIMPL          nfsservctl
 170    UNIMPL          setresgid
 171    UNIMPL          setresgid



Home | Main Index | Thread Index | Old Index