Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat regen
details: https://anonhg.NetBSD.org/src/rev/71c723c14edd
branches: trunk
changeset: 756138:71c723c14edd
user: chs <chs%NetBSD.org@localhost>
date: Wed Jul 07 01:31:51 2010 +0000
description:
regen
diffstat:
sys/compat/linux/arch/alpha/linux_syscall.h | 35 ++-
sys/compat/linux/arch/alpha/linux_syscallargs.h | 87 +++++++-
sys/compat/linux/arch/alpha/linux_syscalls.c | 76 +++++-
sys/compat/linux/arch/alpha/linux_sysent.c | 154 ++++++------
sys/compat/linux/arch/amd64/linux_syscall.h | 10 +-
sys/compat/linux/arch/amd64/linux_syscallargs.h | 16 +-
sys/compat/linux/arch/amd64/linux_syscalls.c | 22 +-
sys/compat/linux/arch/amd64/linux_sysent.c | 44 +-
sys/compat/linux/arch/arm/linux_syscall.h | 40 +++-
sys/compat/linux/arch/arm/linux_syscallargs.h | 95 +++++++-
sys/compat/linux/arch/arm/linux_syscalls.c | 209 +++++++++--------
sys/compat/linux/arch/arm/linux_sysent.c | 232 ++++++++++----------
sys/compat/linux/arch/i386/linux_syscall.h | 37 +--
sys/compat/linux/arch/i386/linux_syscallargs.h | 63 +----
sys/compat/linux/arch/i386/linux_syscalls.c | 63 ++---
sys/compat/linux/arch/i386/linux_sysent.c | 98 ++------
sys/compat/linux/arch/m68k/linux_syscall.h | 41 +++-
sys/compat/linux/arch/m68k/linux_syscallargs.h | 105 ++++++++-
sys/compat/linux/arch/m68k/linux_syscalls.c | 90 +++++++-
sys/compat/linux/arch/m68k/linux_sysent.c | 188 ++++++++--------
sys/compat/linux/arch/mips/linux_syscall.h | 40 +++-
sys/compat/linux/arch/mips/linux_syscallargs.h | 96 +++++++-
sys/compat/linux/arch/mips/linux_syscalls.c | 79 +++++-
sys/compat/linux/arch/mips/linux_sysent.c | 160 ++++++------
sys/compat/linux/arch/powerpc/linux_syscall.h | 38 ++-
sys/compat/linux/arch/powerpc/linux_syscallargs.h | 96 +++++++-
sys/compat/linux/arch/powerpc/linux_syscalls.c | 76 +++++-
sys/compat/linux/arch/powerpc/linux_sysent.c | 152 ++++++------
sys/compat/linux32/arch/amd64/linux32_syscall.h | 45 +++-
sys/compat/linux32/arch/amd64/linux32_syscallargs.h | 111 +++++++++-
sys/compat/linux32/arch/amd64/linux32_syscalls.c | 80 +++++-
sys/compat/linux32/arch/amd64/linux32_sysent.c | 164 +++++++-------
32 files changed, 1858 insertions(+), 984 deletions(-)
diffs (truncated from 5276 to 300 lines):
diff -r 9ec8974bb648 -r 71c723c14edd sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h Wed Jul 07 01:30:32 2010 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h Wed Jul 07 01:31:51 2010 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.77 2009/12/14 00:58:36 matt Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.78 2010/07/07 01:31:51 chs Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.71 2009/11/24 10:42:43 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.72 2010/07/07 01:30:33 chs Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@@ -375,7 +375,7 @@
/* syscall: "reboot" ret: "int" args: "int" "int" "int" "void *" */
#define LINUX_SYS_reboot 311
-/* syscall: "clone" ret: "int" args: "int" "void *" */
+/* syscall: "clone" ret: "int" args: "int" "void *" "void *" "void *" "void *" */
#define LINUX_SYS_clone 312
#ifdef EXEC_AOUT
@@ -516,6 +516,12 @@
/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
#define LINUX_SYS_getdents64 377
+/* syscall: "gettid" ret: "pid_t" args: */
+#define LINUX_SYS_gettid 378
+
+/* syscall: "tkill" ret: "int" args: "int" "int" */
+#define LINUX_SYS_tkill 381
+
/* syscall: "setxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
#define LINUX_SYS_setxattr 382
@@ -552,9 +558,21 @@
/* syscall: "fremovexattr" ret: "int" args: "int" "char *" */
#define LINUX_SYS_fremovexattr 393
+/* syscall: "futex" ret: "int" args: "int *" "int" "int" "const struct linux_timespec *" "int *" "int" */
+#define LINUX_SYS_futex 394
+
+/* syscall: "sched_setaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */
+#define LINUX_SYS_sched_setaffinity 395
+
+/* syscall: "sched_getaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */
+#define LINUX_SYS_sched_getaffinity 396
+
/* syscall: "exit_group" ret: "int" args: "int" */
#define LINUX_SYS_exit_group 405
+/* syscall: "set_tid_address" ret: "int" args: "int *" */
+#define LINUX_SYS_set_tid_address 411
+
/* syscall: "clock_settime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
#define LINUX_SYS_clock_settime 419
@@ -567,6 +585,15 @@
/* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "struct linux_timespec *" "struct linux_timespec *" */
#define LINUX_SYS_clock_nanosleep 422
-#define LINUX_SYS_MAXSYSCALL 438
+/* syscall: "tgkill" ret: "int" args: "int" "int" "int" */
+#define LINUX_SYS_tgkill 424
+
+/* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
+#define LINUX_SYS_set_robust_list 466
+
+/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
+#define LINUX_SYS_get_robust_list 467
+
+#define LINUX_SYS_MAXSYSCALL 494
#define LINUX_SYS_NSYSENT 512
#endif /* _LINUX_SYS_SYSCALL_H_ */
diff -r 9ec8974bb648 -r 71c723c14edd sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h Wed Jul 07 01:30:32 2010 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h Wed Jul 07 01:31:51 2010 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.76 2009/12/14 00:58:36 matt Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.77 2010/07/07 01:31:51 chs Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.71 2009/11/24 10:42:43 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.72 2010/07/07 01:30:33 chs Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -31,7 +31,10 @@
typedef char call##_check_args[sizeof (struct call##_args) \
<= LINUX_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
-struct sys_exit_args;
+struct linux_sys_exit_args {
+ syscallarg(int) rval;
+};
+check_syscall_args(linux_sys_exit)
struct sys_read_args;
@@ -567,6 +570,9 @@
struct linux_sys_clone_args {
syscallarg(int) flags;
syscallarg(void *) stack;
+ syscallarg(void *) parent_tidptr;
+ syscallarg(void *) child_tidptr;
+ syscallarg(void *) tls;
};
check_syscall_args(linux_sys_clone)
#ifdef EXEC_AOUT
@@ -794,6 +800,12 @@
};
check_syscall_args(linux_sys_getdents64)
+struct linux_sys_tkill_args {
+ syscallarg(int) tid;
+ syscallarg(int) sig;
+};
+check_syscall_args(linux_sys_tkill)
+
struct linux_sys_setxattr_args {
syscallarg(char *) path;
syscallarg(char *) name;
@@ -884,11 +896,40 @@
};
check_syscall_args(linux_sys_fremovexattr)
+struct linux_sys_futex_args {
+ syscallarg(int *) uaddr;
+ syscallarg(int) op;
+ syscallarg(int) val;
+ syscallarg(const struct linux_timespec *) timeout;
+ syscallarg(int *) uaddr2;
+ syscallarg(int) val3;
+};
+check_syscall_args(linux_sys_futex)
+
+struct linux_sys_sched_setaffinity_args {
+ syscallarg(pid_t) pid;
+ syscallarg(unsigned int) len;
+ syscallarg(unsigned long *) mask;
+};
+check_syscall_args(linux_sys_sched_setaffinity)
+
+struct linux_sys_sched_getaffinity_args {
+ syscallarg(pid_t) pid;
+ syscallarg(unsigned int) len;
+ syscallarg(unsigned long *) mask;
+};
+check_syscall_args(linux_sys_sched_getaffinity)
+
struct linux_sys_exit_group_args {
syscallarg(int) error_code;
};
check_syscall_args(linux_sys_exit_group)
+struct linux_sys_set_tid_address_args {
+ syscallarg(int *) tid;
+};
+check_syscall_args(linux_sys_set_tid_address)
+
struct linux_sys_clock_settime_args {
syscallarg(clockid_t) which;
syscallarg(struct linux_timespec *) tp;
@@ -915,13 +956,33 @@
};
check_syscall_args(linux_sys_clock_nanosleep)
+struct linux_sys_tgkill_args {
+ syscallarg(int) tgid;
+ syscallarg(int) tid;
+ syscallarg(int) sig;
+};
+check_syscall_args(linux_sys_tgkill)
+
+struct linux_sys_set_robust_list_args {
+ syscallarg(struct linux_robust_list_head *) head;
+ syscallarg(size_t) len;
+};
+check_syscall_args(linux_sys_set_robust_list)
+
+struct linux_sys_get_robust_list_args {
+ syscallarg(int) pid;
+ syscallarg(struct linux_robust_list_head **) head;
+ syscallarg(size_t *) len;
+};
+check_syscall_args(linux_sys_get_robust_list)
+
/*
* System call prototypes.
*/
int linux_sys_nosys(struct lwp *, const void *, register_t *);
-int sys_exit(struct lwp *, const struct sys_exit_args *, register_t *);
+int linux_sys_exit(struct lwp *, const struct linux_sys_exit_args *, register_t *);
int sys_fork(struct lwp *, const void *, register_t *);
@@ -1289,6 +1350,10 @@
int linux_sys_getdents64(struct lwp *, const struct linux_sys_getdents64_args *, register_t *);
+int linux_sys_gettid(struct lwp *, const void *, register_t *);
+
+int linux_sys_tkill(struct lwp *, const struct linux_sys_tkill_args *, register_t *);
+
int linux_sys_setxattr(struct lwp *, const struct linux_sys_setxattr_args *, register_t *);
int linux_sys_lsetxattr(struct lwp *, const struct linux_sys_lsetxattr_args *, register_t *);
@@ -1313,8 +1378,16 @@
int linux_sys_fremovexattr(struct lwp *, const struct linux_sys_fremovexattr_args *, register_t *);
+int linux_sys_futex(struct lwp *, const struct linux_sys_futex_args *, register_t *);
+
+int linux_sys_sched_setaffinity(struct lwp *, const struct linux_sys_sched_setaffinity_args *, register_t *);
+
+int linux_sys_sched_getaffinity(struct lwp *, const struct linux_sys_sched_getaffinity_args *, register_t *);
+
int linux_sys_exit_group(struct lwp *, const struct linux_sys_exit_group_args *, register_t *);
+int linux_sys_set_tid_address(struct lwp *, const struct linux_sys_set_tid_address_args *, register_t *);
+
int linux_sys_clock_settime(struct lwp *, const struct linux_sys_clock_settime_args *, register_t *);
int linux_sys_clock_gettime(struct lwp *, const struct linux_sys_clock_gettime_args *, register_t *);
@@ -1323,4 +1396,10 @@
int linux_sys_clock_nanosleep(struct lwp *, const struct linux_sys_clock_nanosleep_args *, register_t *);
+int linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_args *, register_t *);
+
+int linux_sys_set_robust_list(struct lwp *, const struct linux_sys_set_robust_list_args *, register_t *);
+
+int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
+
#endif /* _LINUX_SYS_SYSCALLARGS_H_ */
diff -r 9ec8974bb648 -r 71c723c14edd sys/compat/linux/arch/alpha/linux_syscalls.c
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c Wed Jul 07 01:30:32 2010 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c Wed Jul 07 01:31:51 2010 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.78 2009/12/14 00:58:36 matt Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.79 2010/07/07 01:31:51 chs Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.71 2009/11/24 10:42:43 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.72 2010/07/07 01:30:33 chs Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.78 2009/12/14 00:58:36 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.79 2010/07/07 01:31:51 chs Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -434,10 +434,10 @@
/* 375 */ "mincore",
/* 376 */ "#376 (unimplemented pciconfig_iobase)",
/* 377 */ "getdents64",
- /* 378 */ "#378 (unimplemented gettid)",
+ /* 378 */ "gettid",
/* 379 */ "#379 (unimplemented readahead)",
/* 380 */ "#380 (unimplemented / * unused * /)",
- /* 381 */ "#381 (unimplemented tkill)",
+ /* 381 */ "tkill",
/* 382 */ "setxattr",
/* 383 */ "lsetxattr",
/* 384 */ "fsetxattr",
@@ -450,9 +450,9 @@
/* 391 */ "removexattr",
/* 392 */ "lremovexattr",
/* 393 */ "fremovexattr",
- /* 394 */ "#394 (unimplemented futex)",
- /* 395 */ "#395 (unimplemented sched_setaffinity)",
- /* 396 */ "#396 (unimplemented sched_getaffinity)",
+ /* 394 */ "futex",
+ /* 395 */ "sched_setaffinity",
+ /* 396 */ "sched_getaffinity",
/* 397 */ "#397 (unimplemented tuxcall)",
/* 398 */ "#398 (unimplemented io_setup)",
/* 399 */ "#399 (unimplemented io_destroy)",
@@ -467,7 +467,7 @@
/* 408 */ "#408 (unimplemented sys_epoll_ctl)",
/* 409 */ "#409 (unimplemented sys_epoll_wait)",
/* 410 */ "#410 (unimplemented remap_file_pages)",
- /* 411 */ "#411 (unimplemented set_tid_address)",
+ /* 411 */ "set_tid_address",
/* 412 */ "#412 (unimplemented restart_syscall)",
/* 413 */ "#413 (unimplemented fadvise64)",
/* 414 */ "#414 (unimplemented timer_create)",
@@ -480,7 +480,7 @@
Home |
Main Index |
Thread Index |
Old Index