Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/osf1 regen for syscalls.master



details:   https://anonhg.NetBSD.org/src/rev/a98a3236686d
branches:  trunk
changeset: 472395:a98a3236686d
user:      cgd <cgd%NetBSD.org@localhost>
date:      Thu Apr 29 02:11:51 1999 +0000

description:
regen for syscalls.master

diffstat:

 sys/compat/osf1/osf1_syscall.h     |  13 +++++++++++--
 sys/compat/osf1/osf1_syscallargs.h |  20 +++++++++++++++++---
 sys/compat/osf1/osf1_syscalls.c    |  10 +++++-----
 sys/compat/osf1/osf1_sysent.c      |  20 ++++++++++----------
 4 files changed, 43 insertions(+), 20 deletions(-)

diffs (222 lines):

diff -r 8cbb8ba8b370 -r a98a3236686d sys/compat/osf1/osf1_syscall.h
--- a/sys/compat/osf1/osf1_syscall.h    Thu Apr 29 02:10:07 1999 +0000
+++ b/sys/compat/osf1/osf1_syscall.h    Thu Apr 29 02:11:51 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: osf1_syscall.h,v 1.25 1999/04/28 05:10:38 cgd Exp $    */
+/*     $NetBSD: osf1_syscall.h,v 1.26 1999/04/29 02:11:51 cgd Exp $    */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.19 1999/04/28 05:09:47 cgd Exp 
+ * created from        NetBSD: syscalls.master,v 1.20 1999/04/29 02:10:07 cgd Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -155,6 +155,9 @@
 /* syscall: "munmap" ret: "int" args: "caddr_t" "size_t" */
 #define        OSF1_SYS_munmap 73
 
+/* syscall: "mprotect" ret: "int" args: "void *" "size_t" "int" */
+#define        OSF1_SYS_mprotect       74
+
 /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
 #define        OSF1_SYS_madvise        75
 
@@ -286,6 +289,9 @@
 #define        OSF1_SYS_utimes 138
 
                                /* 139 is obsolete 4.2 sigreturn */
+/* syscall: "getpeername" ret: "int" args: "int" "caddr_t" "int *" */
+#define        OSF1_SYS_getpeername    141
+
 /* syscall: "gethostid" ret: "int32_t" args: */
 #define        OSF1_SYS_gethostid      142
 
@@ -304,6 +310,9 @@
 /* syscall: "quota" ret: "int" args: */
 #define        OSF1_SYS_quota  149
 
+/* syscall: "getsockname" ret: "int" args: "int" "caddr_t" "int *" */
+#define        OSF1_SYS_getsockname    150
+
 /* syscall: "sigaction" ret: "int" args: "int" "struct osf1_sigaction *" "struct osf1_sigaction *" */
 #define        OSF1_SYS_sigaction      156
 
diff -r 8cbb8ba8b370 -r a98a3236686d sys/compat/osf1/osf1_syscallargs.h
--- a/sys/compat/osf1/osf1_syscallargs.h        Thu Apr 29 02:10:07 1999 +0000
+++ b/sys/compat/osf1/osf1_syscallargs.h        Thu Apr 29 02:11:51 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: osf1_syscallargs.h,v 1.25 1999/04/28 05:10:38 cgd Exp $        */
+/*     $NetBSD: osf1_syscallargs.h,v 1.26 1999/04/29 02:11:51 cgd Exp $        */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.19 1999/04/28 05:09:47 cgd Exp 
+ * created from        NetBSD: syscalls.master,v 1.20 1999/04/29 02:10:07 cgd Exp 
  */
 
 #ifndef _OSF1_SYS__SYSCALLARGS_H_
@@ -60,6 +60,11 @@
        syscallarg(uid_t) uid;
 };
 
+struct osf1_sys_access_args {
+       syscallarg(const char *) path;
+       syscallarg(int) flags;
+};
+
 struct osf1_sys_open_args {
        syscallarg(const char *) path;
        syscallarg(int) flags;
@@ -101,6 +106,12 @@
        syscallarg(off_t) pos;
 };
 
+struct osf1_sys_mprotect_args {
+       syscallarg(void *) addr;
+       syscallarg(size_t) len;
+       syscallarg(int) prot;
+};
+
 struct osf1_sys_madvise_args {
        syscallarg(void *) addr;
        syscallarg(size_t) len;
@@ -263,7 +274,7 @@
 int    osf1_sys_unmount        __P((struct proc *, void *, register_t *));
 int    osf1_sys_setuid __P((struct proc *, void *, register_t *));
 int    sys_getuid      __P((struct proc *, void *, register_t *));
-int    sys_access      __P((struct proc *, void *, register_t *));
+int    osf1_sys_access __P((struct proc *, void *, register_t *));
 int    sys_sync        __P((struct proc *, void *, register_t *));
 int    sys_kill        __P((struct proc *, void *, register_t *));
 int    sys_setpgid     __P((struct proc *, void *, register_t *));
@@ -290,6 +301,7 @@
 int    osf1_sys_lstat  __P((struct proc *, void *, register_t *));
 int    osf1_sys_mmap   __P((struct proc *, void *, register_t *));
 int    sys_munmap      __P((struct proc *, void *, register_t *));
+int    osf1_sys_mprotect       __P((struct proc *, void *, register_t *));
 int    osf1_sys_madvise        __P((struct proc *, void *, register_t *));
 int    sys_getgroups   __P((struct proc *, void *, register_t *));
 int    sys_setgroups   __P((struct proc *, void *, register_t *));
@@ -333,12 +345,14 @@
 int    sys_mkdir       __P((struct proc *, void *, register_t *));
 int    sys_rmdir       __P((struct proc *, void *, register_t *));
 int    osf1_sys_utimes __P((struct proc *, void *, register_t *));
+int    compat_43_sys_getpeername       __P((struct proc *, void *, register_t *));
 int    compat_43_sys_gethostid __P((struct proc *, void *, register_t *));
 int    compat_43_sys_sethostid __P((struct proc *, void *, register_t *));
 int    osf1_sys_getrlimit      __P((struct proc *, void *, register_t *));
 int    osf1_sys_setrlimit      __P((struct proc *, void *, register_t *));
 int    sys_setsid      __P((struct proc *, void *, register_t *));
 int    compat_43_sys_quota     __P((struct proc *, void *, register_t *));
+int    compat_43_sys_getsockname       __P((struct proc *, void *, register_t *));
 int    osf1_sys_sigaction      __P((struct proc *, void *, register_t *));
 int    compat_43_sys_getdirentries     __P((struct proc *, void *, register_t *));
 int    osf1_sys_statfs __P((struct proc *, void *, register_t *));
diff -r 8cbb8ba8b370 -r a98a3236686d sys/compat/osf1/osf1_syscalls.c
--- a/sys/compat/osf1/osf1_syscalls.c   Thu Apr 29 02:10:07 1999 +0000
+++ b/sys/compat/osf1/osf1_syscalls.c   Thu Apr 29 02:11:51 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: osf1_syscalls.c,v 1.23 1999/04/28 05:10:38 cgd Exp $   */
+/*     $NetBSD: osf1_syscalls.c,v 1.24 1999/04/29 02:11:52 cgd Exp $   */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.19 1999/04/28 05:09:47 cgd Exp 
+ * created from        NetBSD: syscalls.master,v 1.20 1999/04/29 02:10:07 cgd Exp 
  */
 
 #if defined(_KERNEL) && !defined(_LKM)
@@ -93,7 +93,7 @@
        "mmap",                 /* 71 = mmap */
        "#72 (unimplemented ovadvise)",         /* 72 = unimplemented ovadvise */
        "munmap",                       /* 73 = munmap */
-       "#74 (unimplemented mprotect)",         /* 74 = unimplemented mprotect */
+       "mprotect",                     /* 74 = mprotect */
        "madvise",                      /* 75 = madvise */
        "#76 (unimplemented old vhangup)",              /* 76 = unimplemented old vhangup */
        "#77 (unimplemented kmodcall)",         /* 77 = unimplemented kmodcall */
@@ -160,7 +160,7 @@
        "utimes",                       /* 138 = utimes */
        "#139 (obsolete 4.2 sigreturn)",                /* 139 = obsolete 4.2 sigreturn */
        "#140 (unimplemented adjtime)",         /* 140 = unimplemented adjtime */
-       "#141 (unimplemented old getpeername)",         /* 141 = unimplemented old getpeername */
+       "getpeername",                  /* 141 = getpeername */
        "gethostid",                    /* 142 = gethostid */
        "sethostid",                    /* 143 = sethostid */
        "getrlimit",                    /* 144 = getrlimit */
@@ -169,7 +169,7 @@
        "setsid",                       /* 147 = setsid */
        "#148 (unimplemented quotactl)",                /* 148 = unimplemented quotactl */
        "quota",                        /* 149 = quota */
-       "#150 (unimplemented old getsockname)",         /* 150 = unimplemented old getsockname */
+       "getsockname",                  /* 150 = getsockname */
        "#151 (unimplemented pread)",           /* 151 = unimplemented pread */
        "#152 (unimplemented pwrite)",          /* 152 = unimplemented pwrite */
        "#153 (unimplemented pid_block)",               /* 153 = unimplemented pid_block */
diff -r 8cbb8ba8b370 -r a98a3236686d sys/compat/osf1/osf1_sysent.c
--- a/sys/compat/osf1/osf1_sysent.c     Thu Apr 29 02:10:07 1999 +0000
+++ b/sys/compat/osf1/osf1_sysent.c     Thu Apr 29 02:11:51 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: osf1_sysent.c,v 1.25 1999/04/28 05:10:39 cgd Exp $     */
+/*     $NetBSD: osf1_sysent.c,v 1.26 1999/04/29 02:11:52 cgd Exp $     */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.19 1999/04/28 05:09:47 cgd Exp 
+ * created from        NetBSD: syscalls.master,v 1.20 1999/04/29 02:10:07 cgd Exp 
  */
 
 #include "opt_compat_43.h"
@@ -85,8 +85,8 @@
            sys_nosys },                        /* 31 = unimplemented getpeername */
        { 0, 0,
            sys_nosys },                        /* 32 = unimplemented getsockname */
-       { 2, s(struct sys_access_args),
-           sys_access },                       /* 33 = access */
+       { 2, s(struct osf1_sys_access_args),
+           osf1_sys_access },                  /* 33 = access */
        { 0, 0,
            sys_nosys },                        /* 34 = unimplemented chflags */
        { 0, 0,
@@ -167,8 +167,8 @@
            sys_nosys },                        /* 72 = unimplemented ovadvise */
        { 2, s(struct sys_munmap_args),
            sys_munmap },                       /* 73 = munmap */
-       { 0, 0,
-           sys_nosys },                        /* 74 = unimplemented mprotect */
+       { 3, s(struct osf1_sys_mprotect_args),
+           osf1_sys_mprotect },                /* 74 = mprotect */
        { 3, s(struct osf1_sys_madvise_args),
            osf1_sys_madvise },                 /* 75 = madvise */
        { 0, 0,
@@ -301,8 +301,8 @@
            sys_nosys },                        /* 139 = obsolete 4.2 sigreturn */
        { 0, 0,
            sys_nosys },                        /* 140 = unimplemented adjtime */
-       { 0, 0,
-           sys_nosys },                        /* 141 = unimplemented old getpeername */
+       { 3, s(struct compat_43_sys_getpeername_args),
+           compat_43_sys_getpeername },        /* 141 = getpeername */
        { 0, 0,
            compat_43_sys_gethostid },          /* 142 = gethostid */
        { 1, s(struct compat_43_sys_sethostid_args),
@@ -319,8 +319,8 @@
            sys_nosys },                        /* 148 = unimplemented quotactl */
        { 0, 0,
            compat_43_sys_quota },              /* 149 = quota */
-       { 0, 0,
-           sys_nosys },                        /* 150 = unimplemented old getsockname */
+       { 3, s(struct compat_43_sys_getsockname_args),
+           compat_43_sys_getsockname },        /* 150 = getsockname */
        { 0, 0,
            sys_nosys },                        /* 151 = unimplemented pread */
        { 0, 0,



Home | Main Index | Thread Index | Old Index