Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-compat]: src/sys/compat/netbsd32 Regen
details: https://anonhg.NetBSD.org/src/rev/c5ac0b679b81
branches: pgoyette-compat
changeset: 830823:c5ac0b679b81
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sat Sep 29 04:24:02 2018 +0000
description:
Regen
diffstat:
sys/compat/netbsd32/netbsd32_syscall.h | 8 ++++++--
sys/compat/netbsd32/netbsd32_syscallargs.h | 10 ++++++++--
sys/compat/netbsd32/netbsd32_syscalls.c | 14 +++++++++++---
sys/compat/netbsd32/netbsd32_syscalls_autoload.c | 6 +++---
sys/compat/netbsd32/netbsd32_sysent.c | 12 +++++++++---
sys/compat/netbsd32/netbsd32_systrace_args.c | 11 ++++++++++-
6 files changed, 47 insertions(+), 14 deletions(-)
diffs (235 lines):
diff -r 7f432bf7b6a1 -r c5ac0b679b81 sys/compat/netbsd32/netbsd32_syscall.h
--- a/sys/compat/netbsd32/netbsd32_syscall.h Sat Sep 29 04:22:31 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscall.h Sat Sep 29 04:24:02 2018 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.134.2.15 2018/09/29 04:11:45 pgoyette Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.134.2.16 2018/09/29 04:24:02 pgoyette Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.120.2.18 2018/09/29 04:11:06 pgoyette Exp
+ * created from NetBSD: syscalls.master,v 1.120.2.19 2018/09/29 04:22:31 pgoyette Exp
*/
#ifndef _NETBSD32_SYS_SYSCALL_H_
@@ -482,9 +482,13 @@
/* syscall: "compat_30_netbsd32_ntp_gettime" ret: "int" args: "netbsd32_ntptimeval50p_t" */
#define NETBSD32_SYS_compat_30_netbsd32_ntp_gettime 175
+#if defined(NTP) || !defined(_KERNEL_OPT)
/* syscall: "netbsd32_ntp_adjtime" ret: "int" args: "netbsd32_timexp_t" */
#define NETBSD32_SYS_netbsd32_ntp_adjtime 176
+#else
+ /* 176 is excluded ntp_adjtime */
+#endif
/* syscall: "netbsd32_setgid" ret: "int" args: "gid_t" */
#define NETBSD32_SYS_netbsd32_setgid 181
diff -r 7f432bf7b6a1 -r c5ac0b679b81 sys/compat/netbsd32/netbsd32_syscallargs.h
--- a/sys/compat/netbsd32/netbsd32_syscallargs.h Sat Sep 29 04:22:31 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscallargs.h Sat Sep 29 04:24:02 2018 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.134.2.14 2018/09/29 04:11:45 pgoyette Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.134.2.15 2018/09/29 04:24:02 pgoyette Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.120.2.18 2018/09/29 04:11:06 pgoyette Exp
+ * created from NetBSD: syscalls.master,v 1.120.2.19 2018/09/29 04:22:31 pgoyette Exp
*/
#ifndef _NETBSD32_SYS_SYSCALLARGS_H_
@@ -913,11 +913,14 @@
syscallarg(netbsd32_ntptimeval50p_t) ntvp;
};
check_syscall_args(compat_30_netbsd32_ntp_gettime)
+#if defined(NTP) || !defined(_KERNEL_OPT)
struct netbsd32_ntp_adjtime_args {
syscallarg(netbsd32_timexp_t) tp;
};
check_syscall_args(netbsd32_ntp_adjtime)
+#else
+#endif
struct netbsd32_setgid_args {
syscallarg(gid_t) gid;
@@ -2923,8 +2926,11 @@
int compat_30_netbsd32_ntp_gettime(struct lwp *, const struct compat_30_netbsd32_ntp_gettime_args *, register_t *);
+#if defined(NTP) || !defined(_KERNEL_OPT)
int netbsd32_ntp_adjtime(struct lwp *, const struct netbsd32_ntp_adjtime_args *, register_t *);
+#else
+#endif
int netbsd32_setgid(struct lwp *, const struct netbsd32_setgid_args *, register_t *);
int netbsd32_setegid(struct lwp *, const struct netbsd32_setegid_args *, register_t *);
diff -r 7f432bf7b6a1 -r c5ac0b679b81 sys/compat/netbsd32/netbsd32_syscalls.c
--- a/sys/compat/netbsd32/netbsd32_syscalls.c Sat Sep 29 04:22:31 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscalls.c Sat Sep 29 04:24:02 2018 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_syscalls.c,v 1.132.2.15 2018/09/29 04:11:45 pgoyette Exp $ */
+/* $NetBSD: netbsd32_syscalls.c,v 1.132.2.16 2018/09/29 04:24:02 pgoyette Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.120.2.18 2018/09/29 04:11:06 pgoyette Exp
+ * created from NetBSD: syscalls.master,v 1.120.2.19 2018/09/29 04:22:31 pgoyette Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.132.2.15 2018/09/29 04:11:45 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.132.2.16 2018/09/29 04:24:02 pgoyette Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -204,7 +204,11 @@
/* 173 */ "netbsd32_pread",
/* 174 */ "netbsd32_pwrite",
/* 175 */ "compat_30_netbsd32_ntp_gettime",
+#if defined(NTP) || !defined(_KERNEL_OPT)
/* 176 */ "netbsd32_ntp_adjtime",
+#else
+ /* 176 */ "#176 (excluded ntp_adjtime)",
+#endif
/* 177 */ "#177 (unimplemented)",
/* 178 */ "#178 (unimplemented)",
/* 179 */ "#179 (unimplemented)",
@@ -725,7 +729,11 @@
/* 173 */ "pread",
/* 174 */ "pwrite",
/* 175 */ NULL, /* compat_30_netbsd32_ntp_gettime */
+#if defined(NTP) || !defined(_KERNEL_OPT)
/* 176 */ "ntp_adjtime",
+#else
+ /* 176 */ NULL, /* excluded ntp_adjtime */
+#endif
/* 177 */ NULL, /* unimplemented */
/* 178 */ NULL, /* unimplemented */
/* 179 */ NULL, /* unimplemented */
diff -r 7f432bf7b6a1 -r c5ac0b679b81 sys/compat/netbsd32/netbsd32_syscalls_autoload.c
--- a/sys/compat/netbsd32/netbsd32_syscalls_autoload.c Sat Sep 29 04:22:31 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscalls_autoload.c Sat Sep 29 04:24:02 2018 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_syscalls_autoload.c,v 1.13.2.14 2018/09/29 04:11:45 pgoyette Exp $ */
+/* $NetBSD: netbsd32_syscalls_autoload.c,v 1.13.2.15 2018/09/29 04:24:02 pgoyette Exp $ */
/*
* System call autoload table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.120.2.18 2018/09/29 04:11:06 pgoyette Exp
+ * created from NetBSD: syscalls.master,v 1.120.2.19 2018/09/29 04:22:31 pgoyette Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls_autoload.c,v 1.13.2.14 2018/09/29 04:11:45 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls_autoload.c,v 1.13.2.15 2018/09/29 04:24:02 pgoyette Exp $");
#include <sys/proc.h>
static struct sc_autoload netbsd32_syscalls_autoload[] = {
diff -r 7f432bf7b6a1 -r c5ac0b679b81 sys/compat/netbsd32/netbsd32_sysent.c
--- a/sys/compat/netbsd32/netbsd32_sysent.c Sat Sep 29 04:22:31 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_sysent.c Sat Sep 29 04:24:02 2018 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_sysent.c,v 1.132.2.14 2018/09/29 04:11:45 pgoyette Exp $ */
+/* $NetBSD: netbsd32_sysent.c,v 1.132.2.15 2018/09/29 04:24:02 pgoyette Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.120.2.18 2018/09/29 04:11:06 pgoyette Exp
+ * created from NetBSD: syscalls.master,v 1.120.2.19 2018/09/29 04:22:31 pgoyette Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.132.2.14 2018/09/29 04:11:45 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.132.2.15 2018/09/29 04:24:02 pgoyette Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -790,10 +790,16 @@
ns(struct compat_30_netbsd32_ntp_gettime_args),
.sy_call = (sy_call_t *)sys_nomodule
}, /* 175 = compat_30_netbsd32_ntp_gettime */
+#if defined(NTP) || !defined(_KERNEL_OPT)
{
ns(struct netbsd32_ntp_adjtime_args),
.sy_call = (sy_call_t *)netbsd32_ntp_adjtime
}, /* 176 = netbsd32_ntp_adjtime */
+#else
+ {
+ .sy_call = sys_nosys,
+ }, /* 176 = filler */
+#endif
{
.sy_call = sys_nosys,
}, /* 177 = filler */
diff -r 7f432bf7b6a1 -r c5ac0b679b81 sys/compat/netbsd32/netbsd32_systrace_args.c
--- a/sys/compat/netbsd32/netbsd32_systrace_args.c Sat Sep 29 04:22:31 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_systrace_args.c Sat Sep 29 04:24:02 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_systrace_args.c,v 1.24.2.14 2018/09/29 04:11:45 pgoyette Exp $ */
+/* $NetBSD: netbsd32_systrace_args.c,v 1.24.2.15 2018/09/29 04:24:02 pgoyette Exp $ */
/*
* System call argument to DTrace register array converstion.
@@ -1253,6 +1253,7 @@
*n_args = 1;
break;
}
+#if defined(NTP) || !defined(_KERNEL_OPT)
/* netbsd32_ntp_adjtime */
case 176: {
const struct netbsd32_ntp_adjtime_args *p = params;
@@ -1260,6 +1261,8 @@
*n_args = 1;
break;
}
+#else
+#endif
/* netbsd32_setgid */
case 181: {
const struct netbsd32_setgid_args *p = params;
@@ -5515,6 +5518,7 @@
break;
};
break;
+#if defined(NTP) || !defined(_KERNEL_OPT)
/* netbsd32_ntp_adjtime */
case 176:
switch(ndx) {
@@ -5525,6 +5529,8 @@
break;
};
break;
+#else
+#endif
/* netbsd32_setgid */
case 181:
switch(ndx) {
@@ -10130,11 +10136,14 @@
if (ndx == 0 || ndx == 1)
p = "int";
break;
+#if defined(NTP) || !defined(_KERNEL_OPT)
/* netbsd32_ntp_adjtime */
case 176:
if (ndx == 0 || ndx == 1)
p = "int";
break;
+#else
+#endif
/* netbsd32_setgid */
case 181:
if (ndx == 0 || ndx == 1)
Home |
Main Index |
Thread Index |
Old Index