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/484d7ac4326a
branches: trunk
changeset: 780683:484d7ac4326a
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Aug 03 11:32:55 2012 +0000
description:
regen
diffstat:
sys/kern/init_sysent.c | 4 +-
sys/kern/syscalls.c | 4 +-
sys/rump/include/rump/rump_syscalls.h | 2 +-
sys/rump/librump/rumpkern/rump_syscalls.c | 17 +-
sys/sys/syscall.h | 2 +-
sys/sys/syscallargs.h | 774 +++++++++++++++++++++++------
6 files changed, 628 insertions(+), 175 deletions(-)
diffs (truncated from 2445 to 300 lines):
diff -r 5f0d2d90edfd -r 484d7ac4326a sys/kern/init_sysent.c
--- a/sys/kern/init_sysent.c Fri Aug 03 11:31:33 2012 +0000
+++ b/sys/kern/init_sysent.c Fri Aug 03 11:32:55 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: init_sysent.c,v 1.267 2012/07/20 16:49:46 pooka Exp $ */
+/* $NetBSD: init_sysent.c,v 1.268 2012/08/03 11:32:56 pooka Exp $ */
/*
* System call switch table.
@@ -8,7 +8,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.267 2012/07/20 16:49:46 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.268 2012/08/03 11:32:56 pooka Exp $");
#include "opt_modular.h"
#include "opt_ntp.h"
diff -r 5f0d2d90edfd -r 484d7ac4326a sys/kern/syscalls.c
--- a/sys/kern/syscalls.c Fri Aug 03 11:31:33 2012 +0000
+++ b/sys/kern/syscalls.c Fri Aug 03 11:32:55 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: syscalls.c,v 1.258 2012/07/20 16:49:46 pooka Exp $ */
+/* $NetBSD: syscalls.c,v 1.259 2012/08/03 11:32:56 pooka Exp $ */
/*
* System call names.
@@ -8,7 +8,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.258 2012/07/20 16:49:46 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.259 2012/08/03 11:32:56 pooka Exp $");
#if defined(_KERNEL_OPT)
#include "opt_modular.h"
diff -r 5f0d2d90edfd -r 484d7ac4326a sys/rump/include/rump/rump_syscalls.h
--- a/sys/rump/include/rump/rump_syscalls.h Fri Aug 03 11:31:33 2012 +0000
+++ b/sys/rump/include/rump/rump_syscalls.h Fri Aug 03 11:32:55 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_syscalls.h,v 1.58 2012/07/20 18:19:45 pooka Exp $ */
+/* $NetBSD: rump_syscalls.h,v 1.59 2012/08/03 11:32:55 pooka Exp $ */
/*
* System call protos in rump namespace.
diff -r 5f0d2d90edfd -r 484d7ac4326a sys/rump/librump/rumpkern/rump_syscalls.c
--- a/sys/rump/librump/rumpkern/rump_syscalls.c Fri Aug 03 11:31:33 2012 +0000
+++ b/sys/rump/librump/rumpkern/rump_syscalls.c Fri Aug 03 11:32:55 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_syscalls.c,v 1.80 2012/07/20 18:19:45 pooka Exp $ */
+/* $NetBSD: rump_syscalls.c,v 1.81 2012/08/03 11:32:56 pooka Exp $ */
/*
* System call vector and marshalling for rump.
@@ -7,17 +7,24 @@
* created from NetBSD: syscalls.master,v 1.260 2012/06/22 18:26:35 christos Exp
*/
+#include <sys/param.h>
+
+#ifdef __NetBSD__
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.80 2012/07/20 18:19:45 pooka Exp $");
-
-#include <sys/param.h>
+__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.81 2012/08/03 11:32:56 pooka Exp $");
+
#include <sys/fstypes.h>
#include <sys/proc.h>
+#endif /* __NetBSD__ */
+
#ifdef RUMP_CLIENT
+#include <errno.h>
+#include <stdint.h>
+#include <stdlib.h>
+
#include <srcsys/syscall.h>
#include <srcsys/syscallargs.h>
-#include <errno.h>
#include <rump/rumpclient.h>
#define rsys_syscall(num, data, dlen, retval) \
diff -r 5f0d2d90edfd -r 484d7ac4326a sys/sys/syscall.h
--- a/sys/sys/syscall.h Fri Aug 03 11:31:33 2012 +0000
+++ b/sys/sys/syscall.h Fri Aug 03 11:32:55 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: syscall.h,v 1.254 2012/07/20 16:49:46 pooka Exp $ */
+/* $NetBSD: syscall.h,v 1.255 2012/08/03 11:32:56 pooka Exp $ */
/*
* System call numbers.
diff -r 5f0d2d90edfd -r 484d7ac4326a sys/sys/syscallargs.h
--- a/sys/sys/syscallargs.h Fri Aug 03 11:31:33 2012 +0000
+++ b/sys/sys/syscallargs.h Fri Aug 03 11:32:55 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: syscallargs.h,v 1.237 2012/07/20 16:49:46 pooka Exp $ */
+/* $NetBSD: syscallargs.h,v 1.238 2012/08/03 11:32:56 pooka Exp $ */
/*
* System call argument lists.
@@ -35,15 +35,19 @@
typedef char call##_check_args[sizeof (struct call##_args) \
<= SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
+#ifndef RUMP_CLIENT
struct sys_syscall_args {
syscallarg(int) code;
syscallarg(register_t) args[SYS_MAXSYSARGS];
};
-
+#endif /* !RUMP_CLIENT */
+
+#ifndef RUMP_CLIENT
struct sys_exit_args {
syscallarg(int) rval;
};
check_syscall_args(sys_exit)
+#endif /* !RUMP_CLIENT */
struct sys_read_args {
syscallarg(int) fd;
@@ -71,6 +75,7 @@
};
check_syscall_args(sys_close)
+#ifndef RUMP_CLIENT
struct compat_50_sys_wait4_args {
syscallarg(pid_t) pid;
syscallarg(int *) status;
@@ -78,12 +83,15 @@
syscallarg(struct rusage50 *) rusage;
};
check_syscall_args(compat_50_sys_wait4)
-
+#endif /* !RUMP_CLIENT */
+
+#ifndef RUMP_CLIENT
struct compat_43_sys_creat_args {
syscallarg(const char *) path;
syscallarg(mode_t) mode;
};
check_syscall_args(compat_43_sys_creat)
+#endif /* !RUMP_CLIENT */
struct sys_link_args {
syscallarg(const char *) path;
@@ -126,25 +134,32 @@
};
check_syscall_args(sys_chown)
+#ifndef RUMP_CLIENT
struct sys_obreak_args {
syscallarg(char *) nsize;
};
check_syscall_args(sys_obreak)
-
+#endif /* !RUMP_CLIENT */
+
+#ifndef RUMP_CLIENT
struct compat_20_sys_getfsstat_args {
syscallarg(struct statfs12 *) buf;
syscallarg(long) bufsize;
syscallarg(int) flags;
};
check_syscall_args(compat_20_sys_getfsstat)
-
+#endif /* !RUMP_CLIENT */
+
+#ifndef RUMP_CLIENT
struct compat_43_sys_lseek_args {
syscallarg(int) fd;
syscallarg(long) offset;
syscallarg(int) whence;
};
check_syscall_args(compat_43_sys_lseek)
-
+#endif /* !RUMP_CLIENT */
+
+#ifndef RUMP_CLIENT
struct compat_40_sys_mount_args {
syscallarg(const char *) type;
syscallarg(const char *) path;
@@ -152,6 +167,7 @@
syscallarg(void *) data;
};
check_syscall_args(compat_40_sys_mount)
+#endif /* !RUMP_CLIENT */
struct sys_unmount_args {
syscallarg(const char *) path;
@@ -164,6 +180,7 @@
};
check_syscall_args(sys_setuid)
+#ifndef RUMP_CLIENT
struct sys_ptrace_args {
syscallarg(int) req;
syscallarg(pid_t) pid;
@@ -171,6 +188,7 @@
syscallarg(int) data;
};
check_syscall_args(sys_ptrace)
+#endif /* !RUMP_CLIENT */
struct sys_recvmsg_args {
syscallarg(int) s;
@@ -235,29 +253,36 @@
};
check_syscall_args(sys_fchflags)
+#ifndef RUMP_CLIENT
struct sys_kill_args {
syscallarg(pid_t) pid;
syscallarg(int) signum;
};
check_syscall_args(sys_kill)
-
+#endif /* !RUMP_CLIENT */
+
+#ifndef RUMP_CLIENT
struct compat_43_sys_stat_args {
syscallarg(const char *) path;
syscallarg(struct stat43 *) ub;
};
check_syscall_args(compat_43_sys_stat)
-
+#endif /* !RUMP_CLIENT */
+
+#ifndef RUMP_CLIENT
struct compat_43_sys_lstat_args {
syscallarg(const char *) path;
syscallarg(struct stat43 *) ub;
};
check_syscall_args(compat_43_sys_lstat)
+#endif /* !RUMP_CLIENT */
struct sys_dup_args {
syscallarg(int) fd;
};
check_syscall_args(sys_dup)
+#ifndef RUMP_CLIENT
struct sys_profil_args {
syscallarg(char *) samples;
syscallarg(size_t) size;
@@ -265,7 +290,9 @@
syscallarg(u_int) scale;
};
check_syscall_args(sys_profil)
-
+#endif /* !RUMP_CLIENT */
+
+#ifndef RUMP_CLIENT
struct sys_ktrace_args {
syscallarg(const char *) fname;
syscallarg(int) ops;
@@ -273,19 +300,24 @@
syscallarg(pid_t) pid;
};
check_syscall_args(sys_ktrace)
-
+#endif /* !RUMP_CLIENT */
+
+#ifndef RUMP_CLIENT
struct compat_13_sys_sigaction_args {
syscallarg(int) signum;
syscallarg(const struct sigaction13 *) nsa;
syscallarg(struct sigaction13 *) osa;
};
check_syscall_args(compat_13_sys_sigaction)
-
+#endif /* !RUMP_CLIENT */
+
+#ifndef RUMP_CLIENT
struct compat_13_sys_sigprocmask_args {
syscallarg(int) how;
syscallarg(int) mask;
};
check_syscall_args(compat_13_sys_sigprocmask)
+#endif /* !RUMP_CLIENT */
struct sys___getlogin_args {
syscallarg(char *) namebuf;
@@ -298,16 +330,20 @@
};
check_syscall_args(sys___setlogin)
+#ifndef RUMP_CLIENT
struct sys_acct_args {
syscallarg(const char *) path;
};
check_syscall_args(sys_acct)
-
+#endif /* !RUMP_CLIENT */
+
+#ifndef RUMP_CLIENT
struct compat_13_sys_sigaltstack_args {
syscallarg(const struct sigaltstack13 *) nss;
syscallarg(struct sigaltstack13 *) oss;
Home |
Main Index |
Thread Index |
Old Index