Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/compat/sunos Regen



details:   https://anonhg.NetBSD.org/src/rev/a346fb526ad3
branches:  pgoyette-compat
changeset: 830817:a346fb526ad3
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Sep 29 02:06:46 2018 +0000

description:
Regen

diffstat:

 sys/compat/sunos/sunos_syscall.h     |   7 +++++--
 sys/compat/sunos/sunos_syscallargs.h |  10 ++++++++--
 sys/compat/sunos/sunos_syscalls.c    |  16 +++++++++++++---
 sys/compat/sunos/sunos_sysent.c      |  15 ++++++++++++---
 4 files changed, 38 insertions(+), 10 deletions(-)

diffs (169 lines):

diff -r 4077aa24cfa3 -r a346fb526ad3 sys/compat/sunos/sunos_syscall.h
--- a/sys/compat/sunos/sunos_syscall.h  Sat Sep 29 02:06:14 2018 +0000
+++ b/sys/compat/sunos/sunos_syscall.h  Sat Sep 29 02:06:46 2018 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: sunos_syscall.h,v 1.96.2.1 2018/09/06 06:55:47 pgoyette Exp $ */
+/* $NetBSD: sunos_syscall.h,v 1.96.2.2 2018/09/29 02:06:46 pgoyette Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.80 2018/01/06 16:41:23 kamil Exp
+ * created from        NetBSD: syscalls.master,v 1.80.2.1 2018/09/29 02:06:14 pgoyette Exp
  */
 
 #ifndef _SUNOS_SYS_SYSCALL_H_
@@ -381,12 +381,15 @@
 /* syscall: "getfh" ret: "int" args: "char *" "fhandle_t *" */
 #define        SUNOS_SYS_getfh 161
 
+#ifdef COMPAT_09
 /* syscall: "getdomainname" ret: "int" args: "char *" "int" */
 #define        SUNOS_SYS_getdomainname 162
 
 /* syscall: "setdomainname" ret: "int" args: "char *" "int" */
 #define        SUNOS_SYS_setdomainname 163
 
+#else
+#endif
 /* syscall: "quotactl" ret: "int" args: "int" "char *" "int" "void *" */
 #define        SUNOS_SYS_quotactl      165
 
diff -r 4077aa24cfa3 -r a346fb526ad3 sys/compat/sunos/sunos_syscallargs.h
--- a/sys/compat/sunos/sunos_syscallargs.h      Sat Sep 29 02:06:14 2018 +0000
+++ b/sys/compat/sunos/sunos_syscallargs.h      Sat Sep 29 02:06:46 2018 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: sunos_syscallargs.h,v 1.80.2.1 2018/09/06 06:55:47 pgoyette Exp $ */
+/* $NetBSD: sunos_syscallargs.h,v 1.80.2.2 2018/09/29 02:06:46 pgoyette Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.80 2018/01/06 16:41:23 kamil Exp
+ * created from        NetBSD: syscalls.master,v 1.80.2.1 2018/09/29 02:06:14 pgoyette Exp
  */
 
 #ifndef _SUNOS_SYS_SYSCALLARGS_H_
@@ -369,10 +369,13 @@
 check_syscall_args(sunos_sys_unmount)
 
 struct compat_30_sys_getfh_args;
+#ifdef COMPAT_09
 
 struct compat_09_sys_getdomainname_args;
 
 struct compat_09_sys_setdomainname_args;
+#else
+#endif
 
 struct sunos_sys_quotactl_args {
        syscallarg(int) cmd;
@@ -698,10 +701,13 @@
 
 int    compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *);
 
+#ifdef COMPAT_09
 int    compat_09_sys_getdomainname(struct lwp *, const struct compat_09_sys_getdomainname_args *, register_t *);
 
 int    compat_09_sys_setdomainname(struct lwp *, const struct compat_09_sys_setdomainname_args *, register_t *);
 
+#else
+#endif
 int    sunos_sys_quotactl(struct lwp *, const struct sunos_sys_quotactl_args *, register_t *);
 
 int    sunos_sys_exportfs(struct lwp *, const struct sunos_sys_exportfs_args *, register_t *);
diff -r 4077aa24cfa3 -r a346fb526ad3 sys/compat/sunos/sunos_syscalls.c
--- a/sys/compat/sunos/sunos_syscalls.c Sat Sep 29 02:06:14 2018 +0000
+++ b/sys/compat/sunos/sunos_syscalls.c Sat Sep 29 02:06:46 2018 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: sunos_syscalls.c,v 1.95.2.1 2018/09/06 06:55:47 pgoyette Exp $ */
+/* $NetBSD: sunos_syscalls.c,v 1.95.2.2 2018/09/29 02:06:46 pgoyette Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.80 2018/01/06 16:41:23 kamil Exp
+ * created from        NetBSD: syscalls.master,v 1.80.2.1 2018/09/29 02:06:14 pgoyette Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunos_syscalls.c,v 1.95.2.1 2018/09/06 06:55:47 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos_syscalls.c,v 1.95.2.2 2018/09/29 02:06:46 pgoyette Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -190,8 +190,13 @@
        /* 159 */       "unmount",
        /* 160 */       "async_daemon",
        /* 161 */       "getfh",
+#ifdef COMPAT_09
        /* 162 */       "getdomainname",
        /* 163 */       "setdomainname",
+#else
+       /* 162 */       "#162 (unimplemented compat_09_sys_getdomainname)",
+       /* 163 */       "#163 (unimplemented compat_09_sys_setdomainname)",
+#endif
        /* 164 */       "#164 (unimplemented rtschedule)",
        /* 165 */       "quotactl",
        /* 166 */       "exportfs",
@@ -463,8 +468,13 @@
        /* 159 */       NULL, /* unmount */
        /* 160 */       "daemon",
        /* 161 */       NULL, /* getfh */
+#ifdef COMPAT_09
        /* 162 */       NULL, /* getdomainname */
        /* 163 */       NULL, /* setdomainname */
+#else
+       /* 162 */       NULL, /* unimplemented compat_09_sys_getdomainname */
+       /* 163 */       NULL, /* unimplemented compat_09_sys_setdomainname */
+#endif
        /* 164 */       NULL, /* unimplemented rtschedule */
        /* 165 */       NULL, /* quotactl */
        /* 166 */       NULL, /* exportfs */
diff -r 4077aa24cfa3 -r a346fb526ad3 sys/compat/sunos/sunos_sysent.c
--- a/sys/compat/sunos/sunos_sysent.c   Sat Sep 29 02:06:14 2018 +0000
+++ b/sys/compat/sunos/sunos_sysent.c   Sat Sep 29 02:06:46 2018 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: sunos_sysent.c,v 1.91.2.1 2018/09/06 06:55:47 pgoyette Exp $ */
+/* $NetBSD: sunos_sysent.c,v 1.91.2.2 2018/09/29 02:06:46 pgoyette Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.80 2018/01/06 16:41:23 kamil Exp
+ * created from        NetBSD: syscalls.master,v 1.80.2.1 2018/09/29 02:06:14 pgoyette Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunos_sysent.c,v 1.91.2.1 2018/09/06 06:55:47 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos_sysent.c,v 1.91.2.2 2018/09/29 02:06:46 pgoyette Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sysv.h"
@@ -699,6 +699,7 @@
                .sy_flags = SYCALL_ARG_PTR,
                .sy_call = (sy_call_t *)compat_30_sys_getfh
        },              /* 161 = getfh */
+#ifdef COMPAT_09
        {
                ns(struct compat_09_sys_getdomainname_args),
                .sy_flags = SYCALL_ARG_PTR,
@@ -709,6 +710,14 @@
                .sy_flags = SYCALL_ARG_PTR,
                .sy_call = (sy_call_t *)compat_09_sys_setdomainname
        },              /* 163 = setdomainname */
+#else
+       {
+               .sy_call = sys_nosys,
+       },              /* 162 = filler */
+       {
+               .sy_call = sys_nosys,
+       },              /* 163 = filler */
+#endif
        {
                .sy_call = sys_nosys,
        },              /* 164 = filler */



Home | Main Index | Thread Index | Old Index