Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/irix Added one more system call: msync



details:   https://anonhg.NetBSD.org/src/rev/6b1485b60d2c
branches:  trunk
changeset: 525908:6b1485b60d2c
user:      manu <manu%NetBSD.org@localhost>
date:      Sat Apr 20 16:56:28 2002 +0000

description:
Added one more system call: msync

diffstat:

 sys/compat/irix/irix_syscall.h     |   7 +++++--
 sys/compat/irix/irix_syscallargs.h |   5 +++--
 sys/compat/irix/irix_syscalls.c    |   8 ++++----
 sys/compat/irix/irix_sysent.c      |  10 +++++-----
 sys/compat/irix/syscalls.master    |   5 +++--
 5 files changed, 20 insertions(+), 15 deletions(-)

diffs (131 lines):

diff -r dbb7bbed57f6 -r 6b1485b60d2c sys/compat/irix/irix_syscall.h
--- a/sys/compat/irix/irix_syscall.h    Sat Apr 20 16:20:12 2002 +0000
+++ b/sys/compat/irix/irix_syscall.h    Sat Apr 20 16:56:28 2002 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: irix_syscall.h,v 1.36 2002/04/16 20:15:47 manu Exp $ */
+/* $NetBSD: irix_syscall.h,v 1.37 2002/04/20 16:56:28 manu Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.34 2002/04/14 21:50:50 manu Exp 
+ * created from        NetBSD: syscalls.master,v 1.35 2002/04/16 20:15:48 manu Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -298,6 +298,9 @@
 /* syscall: "mprotect" ret: "int" args: "void *" "int" "int" */
 #define        IRIX_SYS_mprotect       136
 
+/* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */
+#define        IRIX_SYS___msync13      137
+
 /* syscall: "getpgrp" ret: "int" args: */
 #define        IRIX_SYS_getpgrp        143
 
diff -r dbb7bbed57f6 -r 6b1485b60d2c sys/compat/irix/irix_syscallargs.h
--- a/sys/compat/irix/irix_syscallargs.h        Sat Apr 20 16:20:12 2002 +0000
+++ b/sys/compat/irix/irix_syscallargs.h        Sat Apr 20 16:56:28 2002 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: irix_syscallargs.h,v 1.36 2002/04/16 20:15:47 manu Exp $ */
+/* $NetBSD: irix_syscallargs.h,v 1.37 2002/04/20 16:56:28 manu Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.34 2002/04/14 21:50:50 manu Exp 
+ * created from        NetBSD: syscalls.master,v 1.35 2002/04/16 20:15:48 manu Exp 
  */
 
 #ifndef _IRIX_SYS__SYSCALLARGS_H_
@@ -281,6 +281,7 @@
 int    svr4_sys_mmap(struct proc *, void *, register_t *);
 int    sys_munmap(struct proc *, void *, register_t *);
 int    sys_mprotect(struct proc *, void *, register_t *);
+int    sys___msync13(struct proc *, void *, register_t *);
 int    sys_getpgrp(struct proc *, void *, register_t *);
 int    irix_sys_setpgrp(struct proc *, void *, register_t *);
 int    sys_fsync(struct proc *, void *, register_t *);
diff -r dbb7bbed57f6 -r 6b1485b60d2c sys/compat/irix/irix_syscalls.c
--- a/sys/compat/irix/irix_syscalls.c   Sat Apr 20 16:20:12 2002 +0000
+++ b/sys/compat/irix/irix_syscalls.c   Sat Apr 20 16:56:28 2002 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: irix_syscalls.c,v 1.36 2002/04/16 20:15:47 manu Exp $ */
+/* $NetBSD: irix_syscalls.c,v 1.37 2002/04/20 16:56:29 manu Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.34 2002/04/14 21:50:50 manu Exp 
+ * created from        NetBSD: syscalls.master,v 1.35 2002/04/16 20:15:48 manu Exp 
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: irix_syscalls.c,v 1.36 2002/04/16 20:15:47 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: irix_syscalls.c,v 1.37 2002/04/20 16:56:29 manu Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -184,7 +184,7 @@
        "mmap",                 /* 134 = mmap */
        "munmap",                       /* 135 = munmap */
        "mprotect",                     /* 136 = mprotect */
-       "#137 (unimplemented msync)",           /* 137 = unimplemented msync */
+       "__msync13",                    /* 137 = __msync13 */
        "#138 (unimplemented madvise)",         /* 138 = unimplemented madvise */
        "#139 (unimplemented pagelock)",                /* 139 = unimplemented pagelock */
        "#140 (unimplemented getpagesize)",             /* 140 = unimplemented getpagesize */
diff -r dbb7bbed57f6 -r 6b1485b60d2c sys/compat/irix/irix_sysent.c
--- a/sys/compat/irix/irix_sysent.c     Sat Apr 20 16:20:12 2002 +0000
+++ b/sys/compat/irix/irix_sysent.c     Sat Apr 20 16:56:28 2002 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: irix_sysent.c,v 1.36 2002/04/16 20:15:48 manu Exp $ */
+/* $NetBSD: irix_sysent.c,v 1.37 2002/04/20 16:56:29 manu Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.34 2002/04/14 21:50:50 manu Exp 
+ * created from        NetBSD: syscalls.master,v 1.35 2002/04/16 20:15:48 manu Exp 
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: irix_sysent.c,v 1.36 2002/04/16 20:15:48 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: irix_sysent.c,v 1.37 2002/04/20 16:56:29 manu Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ntp.h"
@@ -324,8 +324,8 @@
            sys_munmap },                       /* 135 = munmap */
        { 3, s(struct sys_mprotect_args), 0,
            sys_mprotect },                     /* 136 = mprotect */
-       { 0, 0, 0,
-           sys_nosys },                        /* 137 = unimplemented msync */
+       { 3, s(struct sys___msync13_args), 0,
+           sys___msync13 },                    /* 137 = __msync13 */
        { 0, 0, 0,
            sys_nosys },                        /* 138 = unimplemented madvise */
        { 0, 0, 0,
diff -r dbb7bbed57f6 -r 6b1485b60d2c sys/compat/irix/syscalls.master
--- a/sys/compat/irix/syscalls.master   Sat Apr 20 16:20:12 2002 +0000
+++ b/sys/compat/irix/syscalls.master   Sat Apr 20 16:56:28 2002 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.35 2002/04/16 20:15:48 manu Exp $
+       $NetBSD: syscalls.master,v 1.36 2002/04/20 16:56:29 manu Exp $
 
 ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
 
@@ -254,7 +254,8 @@
                            int prot, int flags, int fd, svr4_off_t pos); }
 135    NOARGS          { int sys_munmap(void *addr, int len); }
 136    NOARGS          { int sys_mprotect(void *addr, int len, int prot); }
-137    UNIMPL          msync
+137    NOARGS          { int sys___msync13(void *addr, \
+                           size_t len, int flags); }
 138    UNIMPL          madvise
 139    UNIMPL          pagelock
 140    UNIMPL          getpagesize



Home | Main Index | Thread Index | Old Index