Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys regen
details: https://anonhg.NetBSD.org/src/rev/d67e4aa92dcf
branches: trunk
changeset: 781805:d67e4aa92dcf
user: christos <christos%NetBSD.org@localhost>
date: Tue Oct 02 01:46:20 2012 +0000
description:
regen
diffstat:
sys/compat/netbsd32/netbsd32_syscall.h | 9 +-
sys/compat/netbsd32/netbsd32_syscallargs.h | 14 +-
sys/compat/netbsd32/netbsd32_syscalls.c | 12 +-
sys/compat/netbsd32/netbsd32_sysent.c | 14 +-
sys/kern/init_sysent.c | 646 +++++++++---------
sys/kern/syscalls.c | 8 +-
sys/rump/include/rump/rump_syscalls.h | 972 ++++++++++++++--------------
sys/rump/librump/rumpkern/rump_syscalls.c | 8 +-
sys/sys/syscall.h | 9 +-
sys/sys/syscallargs.h | 16 +-
10 files changed, 868 insertions(+), 840 deletions(-)
diffs (truncated from 2748 to 300 lines):
diff -r eaa6bb9e6803 -r d67e4aa92dcf sys/compat/netbsd32/netbsd32_syscall.h
--- a/sys/compat/netbsd32/netbsd32_syscall.h Tue Oct 02 01:44:27 2012 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscall.h Tue Oct 02 01:46:20 2012 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.103 2012/04/08 11:28:12 martin Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.104 2012/10/02 01:46:22 christos Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.95 2012/04/08 11:27:44 martin Exp
+ * created from NetBSD: syscalls.master,v 1.96 2012/10/02 01:44:28 christos Exp
*/
#ifndef _NETBSD32_SYS_SYSCALL_H_
@@ -1242,6 +1242,9 @@
/* syscall: "netbsd32_posix_spawn" ret: "int" args: "netbsd32_pid_tp" "const netbsd32_charp" "const netbsd32_posix_spawn_file_actionsp" "const netbsd32_posix_spawnattrp" "netbsd32_charpp"
"netbsd32_charpp" */
#define NETBSD32_SYS_netbsd32_posix_spawn 474
-#define NETBSD32_SYS_MAXSYSCALL 475
+/* syscall: "netbsd32_clock_nanosleep" ret: "int" args: "netbsd32_clockid_t" "int" "const netbsd32_timespecp_t" "netbsd32_timespecp_t" */
+#define NETBSD32_SYS_netbsd32_clock_nanosleep 477
+
+#define NETBSD32_SYS_MAXSYSCALL 478
#define NETBSD32_SYS_NSYSENT 512
#endif /* _NETBSD32_SYS_SYSCALL_H_ */
diff -r eaa6bb9e6803 -r d67e4aa92dcf sys/compat/netbsd32/netbsd32_syscallargs.h
--- a/sys/compat/netbsd32/netbsd32_syscallargs.h Tue Oct 02 01:44:27 2012 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscallargs.h Tue Oct 02 01:46:20 2012 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.103 2012/04/08 11:28:12 martin Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.104 2012/10/02 01:46:22 christos Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.95 2012/04/08 11:27:44 martin Exp
+ * created from NetBSD: syscalls.master,v 1.96 2012/10/02 01:44:28 christos Exp
*/
#ifndef _NETBSD32_SYS_SYSCALLARGS_H_
@@ -2448,6 +2448,14 @@
};
check_syscall_args(netbsd32_posix_spawn)
+struct netbsd32_clock_nanosleep_args {
+ syscallarg(netbsd32_clockid_t) clock_id;
+ syscallarg(int) flags;
+ syscallarg(const netbsd32_timespecp_t) rqtp;
+ syscallarg(netbsd32_timespecp_t) rmtp;
+};
+check_syscall_args(netbsd32_clock_nanosleep)
+
/*
* System call prototypes.
*/
@@ -3255,4 +3263,6 @@
int netbsd32_posix_spawn(struct lwp *, const struct netbsd32_posix_spawn_args *, register_t *);
+int netbsd32_clock_nanosleep(struct lwp *, const struct netbsd32_clock_nanosleep_args *, register_t *);
+
#endif /* _NETBSD32_SYS_SYSCALLARGS_H_ */
diff -r eaa6bb9e6803 -r d67e4aa92dcf sys/compat/netbsd32/netbsd32_syscalls.c
--- a/sys/compat/netbsd32/netbsd32_syscalls.c Tue Oct 02 01:44:27 2012 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscalls.c Tue Oct 02 01:46:20 2012 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_syscalls.c,v 1.102 2012/04/08 11:28:12 martin Exp $ */
+/* $NetBSD: netbsd32_syscalls.c,v 1.103 2012/10/02 01:46:22 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.95 2012/04/08 11:27:44 martin Exp
+ * created from NetBSD: syscalls.master,v 1.96 2012/10/02 01:44:28 christos Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.102 2012/04/08 11:28:12 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.103 2012/10/02 01:46:22 christos Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -572,9 +572,9 @@
/* 472 */ "netbsd32_futimens",
/* 473 */ "netbsd32___quotactl",
/* 474 */ "netbsd32_posix_spawn",
- /* 475 */ "# filler",
- /* 476 */ "# filler",
- /* 477 */ "# filler",
+ /* 475 */ "#475 (unimplemented { int | netbsd32 | | recvmmsg ( int s , struct mmsghdr * mmsg , unsigned int vlen , unsigned int flags , netbsd32_timespecp_t timeout ) ; })",
+ /* 476 */ "#476 (unimplemented { int | netbsd32 | | sendmmsg ( int s , struct mmsghdr * mmsg , unsigned int vlen , unsigned int flags ) ; })",
+ /* 477 */ "netbsd32_clock_nanosleep",
/* 478 */ "# filler",
/* 479 */ "# filler",
/* 480 */ "# filler",
diff -r eaa6bb9e6803 -r d67e4aa92dcf sys/compat/netbsd32/netbsd32_sysent.c
--- a/sys/compat/netbsd32/netbsd32_sysent.c Tue Oct 02 01:44:27 2012 +0000
+++ b/sys/compat/netbsd32/netbsd32_sysent.c Tue Oct 02 01:46:20 2012 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_sysent.c,v 1.102 2012/04/08 11:28:13 martin Exp $ */
+/* $NetBSD: netbsd32_sysent.c,v 1.103 2012/10/02 01:46:22 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.95 2012/04/08 11:27:44 martin Exp
+ * created from NetBSD: syscalls.master,v 1.96 2012/10/02 01:44:28 christos Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.102 2012/04/08 11:28:13 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.103 2012/10/02 01:46:22 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -1153,11 +1153,11 @@
{ ns(struct netbsd32_posix_spawn_args), 0,
(sy_call_t *)netbsd32_posix_spawn },/* 474 = netbsd32_posix_spawn */
{ 0, 0, 0,
- sys_nosys }, /* 475 = filler */
+ sys_nosys }, /* 475 = unimplemented { int | netbsd32 | | recvmmsg ( int s , struct mmsghdr * mmsg , unsigned int vlen , unsigned int flags , netbsd32_timespecp_t
timeout ) ; } */
{ 0, 0, 0,
- sys_nosys }, /* 476 = filler */
- { 0, 0, 0,
- sys_nosys }, /* 477 = filler */
+ sys_nosys }, /* 476 = unimplemented { int | netbsd32 | | sendmmsg ( int s , struct mmsghdr * mmsg , unsigned int vlen , unsigned int flags ) ; } */
+ { ns(struct netbsd32_clock_nanosleep_args), 0,
+ (sy_call_t *)netbsd32_clock_nanosleep },/* 477 = netbsd32_clock_nanosleep */
{ 0, 0, 0,
sys_nosys }, /* 478 = filler */
{ 0, 0, 0,
diff -r eaa6bb9e6803 -r d67e4aa92dcf sys/kern/init_sysent.c
--- a/sys/kern/init_sysent.c Tue Oct 02 01:44:27 2012 +0000
+++ b/sys/kern/init_sysent.c Tue Oct 02 01:46:20 2012 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: init_sysent.c,v 1.269 2012/08/03 12:42:10 pooka Exp $ */
+/* $NetBSD: init_sysent.c,v 1.270 2012/10/02 01:46:20 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.260 2012/06/22 18:26:35 christos Exp
+ * created from NetBSD: syscalls.master,v 1.261 2012/10/02 01:44:28 christos Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.269 2012/08/03 12:42:10 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.270 2012/10/02 01:46:20 christos Exp $");
#include "opt_modular.h"
#include "opt_ntp.h"
@@ -116,45 +116,45 @@
(sy_call_t *)sys_exit }, /* 1 = exit */
{ 0, 0, 0,
(sy_call_t *)sys_fork }, /* 2 = fork */
- { ns(struct sys_read_args), 0,
+ { ns(struct sys_read_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_read }, /* 3 = read */
- { ns(struct sys_write_args), 0,
+ { ns(struct sys_write_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_write }, /* 4 = write */
- { ns(struct sys_open_args), 0,
+ { ns(struct sys_open_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_open }, /* 5 = open */
{ ns(struct sys_close_args), 0,
(sy_call_t *)sys_close }, /* 6 = close */
- { ns(struct compat_50_sys_wait4_args), 0,
+ { ns(struct compat_50_sys_wait4_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_nomodule }, /* 7 = compat_50_wait4 */
- { ns(struct compat_43_sys_creat_args), 0,
+ { ns(struct compat_43_sys_creat_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_nomodule }, /* 8 = compat_43_ocreat */
- { ns(struct sys_link_args), 0,
+ { ns(struct sys_link_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_link }, /* 9 = link */
- { ns(struct sys_unlink_args), 0,
+ { ns(struct sys_unlink_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_unlink }, /* 10 = unlink */
{ 0, 0, 0,
sys_nosys }, /* 11 = obsolete execv */
- { ns(struct sys_chdir_args), 0,
+ { ns(struct sys_chdir_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_chdir }, /* 12 = chdir */
{ ns(struct sys_fchdir_args), 0,
(sy_call_t *)sys_fchdir }, /* 13 = fchdir */
- { ns(struct compat_50_sys_mknod_args), 0,
+ { ns(struct compat_50_sys_mknod_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_nomodule }, /* 14 = compat_50_mknod */
- { ns(struct sys_chmod_args), 0,
+ { ns(struct sys_chmod_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_chmod }, /* 15 = chmod */
- { ns(struct sys_chown_args), 0,
+ { ns(struct sys_chown_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_chown }, /* 16 = chown */
- { ns(struct sys_obreak_args), 0,
+ { ns(struct sys_obreak_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_obreak }, /* 17 = break */
- { ns(struct compat_20_sys_getfsstat_args), 0,
+ { ns(struct compat_20_sys_getfsstat_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_nomodule }, /* 18 = compat_20_getfsstat */
{ ns(struct compat_43_sys_lseek_args), 0,
(sy_call_t *)sys_nomodule }, /* 19 = compat_43_olseek */
{ 0, 0, 0,
(sy_call_t *)sys_getpid_with_ppid },/* 20 = getpid */
- { ns(struct compat_40_sys_mount_args), 0,
+ { ns(struct compat_40_sys_mount_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_nomodule }, /* 21 = compat_40_mount */
- { ns(struct sys_unmount_args), 0,
+ { ns(struct sys_unmount_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_unmount }, /* 22 = unmount */
{ ns(struct sys_setuid_args), 0,
(sy_call_t *)sys_setuid }, /* 23 = setuid */
@@ -162,23 +162,23 @@
(sy_call_t *)sys_getuid_with_euid },/* 24 = getuid */
{ 0, 0, 0,
(sy_call_t *)sys_geteuid }, /* 25 = geteuid */
- { ns(struct sys_ptrace_args), 0,
+ { ns(struct sys_ptrace_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_ptrace }, /* 26 = ptrace */
- { ns(struct sys_recvmsg_args), 0,
+ { ns(struct sys_recvmsg_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_recvmsg }, /* 27 = recvmsg */
- { ns(struct sys_sendmsg_args), 0,
+ { ns(struct sys_sendmsg_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_sendmsg }, /* 28 = sendmsg */
- { ns(struct sys_recvfrom_args), 0,
+ { ns(struct sys_recvfrom_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_recvfrom }, /* 29 = recvfrom */
- { ns(struct sys_accept_args), 0,
+ { ns(struct sys_accept_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_accept }, /* 30 = accept */
- { ns(struct sys_getpeername_args), 0,
+ { ns(struct sys_getpeername_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_getpeername }, /* 31 = getpeername */
- { ns(struct sys_getsockname_args), 0,
+ { ns(struct sys_getsockname_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_getsockname }, /* 32 = getsockname */
- { ns(struct sys_access_args), 0,
+ { ns(struct sys_access_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_access }, /* 33 = access */
- { ns(struct sys_chflags_args), 0,
+ { ns(struct sys_chflags_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_chflags }, /* 34 = chflags */
{ ns(struct sys_fchflags_args), 0,
(sy_call_t *)sys_fchflags }, /* 35 = fchflags */
@@ -186,11 +186,11 @@
(sy_call_t *)sys_sync }, /* 36 = sync */
{ ns(struct sys_kill_args), 0,
(sy_call_t *)sys_kill }, /* 37 = kill */
- { ns(struct compat_43_sys_stat_args), 0,
+ { ns(struct compat_43_sys_stat_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_nomodule }, /* 38 = compat_43_stat43 */
{ 0, 0, 0,
(sy_call_t *)sys_getppid }, /* 39 = getppid */
- { ns(struct compat_43_sys_lstat_args), 0,
+ { ns(struct compat_43_sys_lstat_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_nomodule }, /* 40 = compat_43_lstat43 */
{ ns(struct sys_dup_args), 0,
(sy_call_t *)sys_dup }, /* 41 = dup */
@@ -198,49 +198,49 @@
(sy_call_t *)sys_pipe }, /* 42 = pipe */
{ 0, 0, 0,
(sy_call_t *)sys_getegid }, /* 43 = getegid */
- { ns(struct sys_profil_args), 0,
+ { ns(struct sys_profil_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_profil }, /* 44 = profil */
- { ns(struct sys_ktrace_args), 0,
+ { ns(struct sys_ktrace_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_ktrace }, /* 45 = ktrace */
- { ns(struct compat_13_sys_sigaction_args), 0,
+ { ns(struct compat_13_sys_sigaction_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_nomodule }, /* 46 = compat_13_sigaction13 */
{ 0, 0, 0,
(sy_call_t *)sys_getgid_with_egid },/* 47 = getgid */
{ ns(struct compat_13_sys_sigprocmask_args), 0,
(sy_call_t *)sys_nomodule }, /* 48 = compat_13_sigprocmask13 */
- { ns(struct sys___getlogin_args), 0,
+ { ns(struct sys___getlogin_args), SYCALL_ARG_PTR,
(sy_call_t *)sys___getlogin }, /* 49 = __getlogin */
- { ns(struct sys___setlogin_args), 0,
+ { ns(struct sys___setlogin_args), SYCALL_ARG_PTR,
(sy_call_t *)sys___setlogin }, /* 50 = __setlogin */
- { ns(struct sys_acct_args), 0,
+ { ns(struct sys_acct_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_acct }, /* 51 = acct */
{ 0, 0, 0,
(sy_call_t *)sys_nomodule }, /* 52 = compat_13_sigpending13 */
- { ns(struct compat_13_sys_sigaltstack_args), 0,
+ { ns(struct compat_13_sys_sigaltstack_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_nomodule }, /* 53 = compat_13_sigaltstack13 */
- { ns(struct sys_ioctl_args), 0,
+ { ns(struct sys_ioctl_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_ioctl }, /* 54 = ioctl */
{ ns(struct compat_12_sys_reboot_args), 0,
Home |
Main Index |
Thread Index |
Old Index