Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/arch regen for ppoll (and, apparently, SYCA...
details: https://anonhg.NetBSD.org/src/rev/7c9b29c626b3
branches: trunk
changeset: 781643:7c9b29c626b3
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Sep 19 21:24:36 2012 +0000
description:
regen for ppoll (and, apparently, SYCALL_ARG_PTR)
diffstat:
sys/compat/linux/arch/alpha/linux_syscall.h | 7 +-
sys/compat/linux/arch/alpha/linux_syscallargs.h | 14 +-
sys/compat/linux/arch/alpha/linux_syscalls.c | 8 +-
sys/compat/linux/arch/alpha/linux_sysent.c | 306 +++++++++++-----------
sys/compat/linux/arch/amd64/linux_syscall.h | 7 +-
sys/compat/linux/arch/amd64/linux_syscallargs.h | 14 +-
sys/compat/linux/arch/amd64/linux_syscalls.c | 8 +-
sys/compat/linux/arch/amd64/linux_sysent.c | 262 +++++++++---------
sys/compat/linux/arch/arm/linux_syscall.h | 7 +-
sys/compat/linux/arch/arm/linux_syscallargs.h | 14 +-
sys/compat/linux/arch/arm/linux_syscalls.c | 8 +-
sys/compat/linux/arch/arm/linux_sysent.c | 286 ++++++++++----------
sys/compat/linux/arch/i386/linux_syscall.h | 7 +-
sys/compat/linux/arch/i386/linux_syscallargs.h | 14 +-
sys/compat/linux/arch/i386/linux_syscalls.c | 8 +-
sys/compat/linux/arch/i386/linux_sysent.c | 294 ++++++++++----------
sys/compat/linux/arch/m68k/linux_syscall.h | 7 +-
sys/compat/linux/arch/m68k/linux_syscallargs.h | 14 +-
sys/compat/linux/arch/m68k/linux_syscalls.c | 8 +-
sys/compat/linux/arch/m68k/linux_sysent.c | 272 +++++++++---------
sys/compat/linux/arch/mips/linux_syscall.h | 7 +-
sys/compat/linux/arch/mips/linux_syscallargs.h | 14 +-
sys/compat/linux/arch/mips/linux_syscalls.c | 8 +-
sys/compat/linux/arch/mips/linux_sysent.c | 296 ++++++++++----------
sys/compat/linux/arch/powerpc/linux_syscall.h | 7 +-
sys/compat/linux/arch/powerpc/linux_syscallargs.h | 14 +-
sys/compat/linux/arch/powerpc/linux_syscalls.c | 8 +-
sys/compat/linux/arch/powerpc/linux_sysent.c | 272 +++++++++---------
28 files changed, 1141 insertions(+), 1050 deletions(-)
diffs (truncated from 5163 to 300 lines):
diff -r 86f340cd08c1 -r 7c9b29c626b3 sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h Wed Sep 19 21:24:28 2012 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h Wed Sep 19 21:24:36 2012 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.82 2011/11/18 04:07:43 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.83 2012/09/19 21:24:36 pooka Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.76 2011/11/18 04:03:50 christos Exp
+ * created from NetBSD: syscalls.master,v 1.77 2012/09/19 21:19:14 pooka Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@@ -594,6 +594,9 @@
/* syscall: "tgkill" ret: "int" args: "int" "int" "int" */
#define LINUX_SYS_tgkill 424
+/* syscall: "ppoll" ret: "int" args: "struct pollfd *" "int" "struct linux_timespec *" "linux_sigset_t *" */
+#define LINUX_SYS_ppoll 464
+
/* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
#define LINUX_SYS_set_robust_list 466
diff -r 86f340cd08c1 -r 7c9b29c626b3 sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h Wed Sep 19 21:24:28 2012 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h Wed Sep 19 21:24:36 2012 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.81 2011/11/18 04:07:43 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.82 2012/09/19 21:24:36 pooka Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.76 2011/11/18 04:03:50 christos Exp
+ * created from NetBSD: syscalls.master,v 1.77 2012/09/19 21:19:14 pooka Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -978,6 +978,14 @@
};
check_syscall_args(linux_sys_tgkill)
+struct linux_sys_ppoll_args {
+ syscallarg(struct pollfd *) fds;
+ syscallarg(int) nfds;
+ syscallarg(struct linux_timespec *) timeout;
+ syscallarg(linux_sigset_t *) sigset;
+};
+check_syscall_args(linux_sys_ppoll)
+
struct linux_sys_set_robust_list_args {
syscallarg(struct linux_robust_list_head *) head;
syscallarg(size_t) len;
@@ -1430,6 +1438,8 @@
int linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_args *, register_t *);
+int linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_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 *);
diff -r 86f340cd08c1 -r 7c9b29c626b3 sys/compat/linux/arch/alpha/linux_syscalls.c
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c Wed Sep 19 21:24:28 2012 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c Wed Sep 19 21:24:36 2012 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.83 2011/11/18 04:07:43 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.84 2012/09/19 21:24:36 pooka Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.76 2011/11/18 04:03:50 christos Exp
+ * created from NetBSD: syscalls.master,v 1.77 2012/09/19 21:19:14 pooka Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.83 2011/11/18 04:07:43 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.84 2012/09/19 21:24:36 pooka Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -520,7 +520,7 @@
/* 461 */ "#461 (unimplemented fchmodat)",
/* 462 */ "#462 (unimplemented faccessat)",
/* 463 */ "#463 (unimplemented pselect6)",
- /* 464 */ "#464 (unimplemented ppoll)",
+ /* 464 */ "ppoll",
/* 465 */ "#465 (unimplemented unshare)",
/* 466 */ "set_robust_list",
/* 467 */ "get_robust_list",
diff -r 86f340cd08c1 -r 7c9b29c626b3 sys/compat/linux/arch/alpha/linux_sysent.c
--- a/sys/compat/linux/arch/alpha/linux_sysent.c Wed Sep 19 21:24:28 2012 +0000
+++ b/sys/compat/linux/arch/alpha/linux_sysent.c Wed Sep 19 21:24:36 2012 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.82 2011/11/18 04:07:43 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.83 2012/09/19 21:24:36 pooka Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.76 2011/11/18 04:03:50 christos Exp
+ * created from NetBSD: syscalls.master,v 1.77 2012/09/19 21:19:14 pooka Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.82 2011/11/18 04:07:43 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.83 2012/09/19 21:24:36 pooka Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@@ -40,35 +40,35 @@
(sy_call_t *)linux_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 */
{ 0, 0, 0,
linux_sys_nosys }, /* 5 = unimplemented */
{ ns(struct sys_close_args), 0,
(sy_call_t *)sys_close }, /* 6 = close */
- { ns(struct osf1_sys_wait4_args), 0,
+ { ns(struct osf1_sys_wait4_args), SYCALL_ARG_PTR,
(sy_call_t *)osf1_sys_wait4 }, /* 7 = wait4 */
- { ns(struct linux_sys_creat_args), 0,
+ { ns(struct linux_sys_creat_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_creat }, /* 8 = creat */
- { ns(struct sys_link_args), 0,
+ { ns(struct sys_link_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_link }, /* 9 = link */
- { ns(struct linux_sys_unlink_args), 0,
+ { ns(struct linux_sys_unlink_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_unlink }, /* 10 = unlink */
{ 0, 0, 0,
linux_sys_nosys }, /* 11 = unimplemented */
- { 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 linux_sys_mknod_args), 0,
+ { ns(struct linux_sys_mknod_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_mknod }, /* 14 = 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___posix_chown_args), 0,
+ { ns(struct sys___posix_chown_args), SYCALL_ARG_PTR,
(sy_call_t *)sys___posix_chown }, /* 16 = __posix_chown */
- { ns(struct linux_sys_brk_args), 0,
+ { ns(struct linux_sys_brk_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_brk }, /* 17 = brk */
{ 0, 0, 0,
linux_sys_nosys }, /* 18 = unimplemented */
@@ -76,7 +76,7 @@
(sy_call_t *)compat_43_sys_lseek }, /* 19 = lseek */
{ 0, 0, 0,
(sy_call_t *)sys_getpid_with_ppid },/* 20 = getpid_with_ppid */
- { ns(struct osf1_sys_mount_args), 0,
+ { ns(struct osf1_sys_mount_args), SYCALL_ARG_PTR,
(sy_call_t *)osf1_sys_mount }, /* 21 = mount */
{ 0, 0, 0,
linux_sys_nosys }, /* 22 = unimplemented umount */
@@ -100,7 +100,7 @@
linux_sys_nosys }, /* 31 = unimplemented */
{ 0, 0, 0,
linux_sys_nosys }, /* 32 = unimplemented */
- { ns(struct sys_access_args), 0,
+ { ns(struct sys_access_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_access }, /* 33 = access */
{ 0, 0, 0,
linux_sys_nosys }, /* 34 = unimplemented */
@@ -120,11 +120,11 @@
(sy_call_t *)sys_dup }, /* 41 = dup */
{ 0, 0, 0,
(sy_call_t *)linux_sys_pipe }, /* 42 = pipe */
- { ns(struct osf1_sys_set_program_attributes_args), 0,
+ { ns(struct osf1_sys_set_program_attributes_args), SYCALL_ARG_PTR,
(sy_call_t *)osf1_sys_set_program_attributes },/* 43 = set_program_attributes */
{ 0, 0, 0,
linux_sys_nosys }, /* 44 = unimplemented */
- { ns(struct linux_sys_open_args), 0,
+ { ns(struct linux_sys_open_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_open }, /* 45 = open */
{ 0, 0, 0,
linux_sys_nosys }, /* 46 = unimplemented */
@@ -136,27 +136,27 @@
linux_sys_nosys }, /* 49 = unimplemented */
{ 0, 0, 0,
linux_sys_nosys }, /* 50 = unimplemented */
- { ns(struct sys_acct_args), 0,
+ { ns(struct sys_acct_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_acct }, /* 51 = acct */
- { ns(struct linux_sys_sigpending_args), 0,
+ { ns(struct linux_sys_sigpending_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_sigpending },/* 52 = sigpending */
{ 0, 0, 0,
linux_sys_nosys }, /* 53 = unimplemented */
- { ns(struct linux_sys_ioctl_args), 0,
+ { ns(struct linux_sys_ioctl_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_ioctl }, /* 54 = ioctl */
{ 0, 0, 0,
linux_sys_nosys }, /* 55 = unimplemented */
{ 0, 0, 0,
linux_sys_nosys }, /* 56 = unimplemented */
- { ns(struct sys_symlink_args), 0,
+ { ns(struct sys_symlink_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_symlink }, /* 57 = symlink */
- { ns(struct sys_readlink_args), 0,
+ { ns(struct sys_readlink_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_readlink }, /* 58 = readlink */
- { ns(struct sys_execve_args), 0,
+ { ns(struct sys_execve_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_execve }, /* 59 = execve */
{ ns(struct sys_umask_args), 0,
(sy_call_t *)sys_umask }, /* 60 = umask */
- { ns(struct sys_chroot_args), 0,
+ { ns(struct sys_chroot_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_chroot }, /* 61 = chroot */
{ 0, 0, 0,
linux_sys_nosys }, /* 62 = unimplemented */
@@ -168,9 +168,9 @@
linux_sys_nosys }, /* 65 = unimplemented */
{ 0, 0, 0,
(sy_call_t *)sys___vfork14 }, /* 66 = __vfork14 */
- { ns(struct linux_sys_stat_args), 0,
+ { ns(struct linux_sys_stat_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_stat }, /* 67 = stat */
- { ns(struct linux_sys_lstat_args), 0,
+ { ns(struct linux_sys_lstat_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_lstat }, /* 68 = lstat */
{ 0, 0, 0,
linux_sys_nosys }, /* 69 = unimplemented */
@@ -180,11 +180,11 @@
(sy_call_t *)linux_sys_mmap }, /* 71 = mmap */
{ 0, 0, 0,
linux_sys_nosys }, /* 72 = unimplemented */
- { ns(struct sys_munmap_args), 0,
+ { ns(struct sys_munmap_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_munmap }, /* 73 = munmap */
- { ns(struct linux_sys_mprotect_args), 0,
+ { ns(struct linux_sys_mprotect_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_mprotect }, /* 74 = mprotect */
- { ns(struct sys_madvise_args), 0,
+ { ns(struct sys_madvise_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_madvise }, /* 75 = madvise */
{ 0, 0, 0,
linux_sys_nosys }, /* 76 = unimplemented vhangup */
@@ -192,15 +192,15 @@
linux_sys_nosys }, /* 77 = unimplemented */
{ 0, 0, 0,
linux_sys_nosys }, /* 78 = unimplemented */
- { ns(struct sys_getgroups_args), 0,
+ { ns(struct sys_getgroups_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_getgroups }, /* 79 = getgroups */
- { ns(struct sys_setgroups_args), 0,
+ { ns(struct sys_setgroups_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_setgroups }, /* 80 = setgroups */
{ 0, 0, 0,
linux_sys_nosys }, /* 81 = unimplemented */
{ 0, 0, 0,
linux_sys_nosys }, /* 82 = unimplemented setpgrp */
- { ns(struct osf1_sys_setitimer_args), 0,
+ { ns(struct osf1_sys_setitimer_args), SYCALL_ARG_PTR,
(sy_call_t *)osf1_sys_setitimer }, /* 83 = setitimer */
{ 0, 0, 0,
linux_sys_nosys }, /* 84 = unimplemented */
@@ -208,21 +208,21 @@
linux_sys_nosys }, /* 85 = unimplemented */
{ 0, 0, 0,
linux_sys_nosys }, /* 86 = unimplemented osf1_sys_getitimer */
- { ns(struct compat_43_sys_gethostname_args), 0,
+ { ns(struct compat_43_sys_gethostname_args), SYCALL_ARG_PTR,
(sy_call_t *)compat_43_sys_gethostname },/* 87 = gethostname */
- { ns(struct compat_43_sys_sethostname_args), 0,
+ { ns(struct compat_43_sys_sethostname_args), SYCALL_ARG_PTR,
(sy_call_t *)compat_43_sys_sethostname },/* 88 = sethostname */
{ 0, 0, 0,
linux_sys_nosys }, /* 89 = unimplemented getdtablesize */
{ ns(struct sys_dup2_args), 0,
(sy_call_t *)sys_dup2 }, /* 90 = dup2 */
- { ns(struct linux_sys_fstat_args), 0,
+ { ns(struct linux_sys_fstat_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_fstat }, /* 91 = fstat */
- { ns(struct linux_sys_fcntl_args), 0,
+ { ns(struct linux_sys_fcntl_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_fcntl }, /* 92 = fcntl */
- { ns(struct osf1_sys_select_args), 0,
+ { ns(struct osf1_sys_select_args), SYCALL_ARG_PTR,
(sy_call_t *)osf1_sys_select }, /* 93 = select */
Home |
Main Index |
Thread Index |
Old Index