Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux32/arch/amd64 Regen for ppoll(2)
details: https://anonhg.NetBSD.org/src/rev/7ea03892f191
branches: trunk
changeset: 333924:7ea03892f191
user: njoly <njoly%NetBSD.org@localhost>
date: Sat Nov 22 13:13:10 2014 +0000
description:
Regen for ppoll(2)
diffstat:
sys/compat/linux32/arch/amd64/linux32_syscall.h | 7 +++++--
sys/compat/linux32/arch/amd64/linux32_syscallargs.h | 14 ++++++++++++--
sys/compat/linux32/arch/amd64/linux32_syscalls.c | 8 ++++----
sys/compat/linux32/arch/amd64/linux32_sysent.c | 10 +++++-----
4 files changed, 26 insertions(+), 13 deletions(-)
diffs (128 lines):
diff -r 2828128a206c -r 7ea03892f191 sys/compat/linux32/arch/amd64/linux32_syscall.h
--- a/sys/compat/linux32/arch/amd64/linux32_syscall.h Sat Nov 22 13:12:22 2014 +0000
+++ b/sys/compat/linux32/arch/amd64/linux32_syscall.h Sat Nov 22 13:13:10 2014 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux32_syscall.h,v 1.72 2014/05/29 10:47:23 njoly Exp $ */
+/* $NetBSD: linux32_syscall.h,v 1.73 2014/11/22 13:13:10 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.67 2014/05/29 10:47:00 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.68 2014/11/22 13:12:22 njoly Exp
*/
#ifndef _LINUX32_SYS_SYSCALL_H_
@@ -690,6 +690,9 @@
/* syscall: "faccessat" ret: "int" args: "int" "netbsd32_charp" "int" */
#define LINUX32_SYS_faccessat 307
+/* syscall: "ppoll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "linux32_timespecp_t" "linux32_sigsetp_t" */
+#define LINUX32_SYS_ppoll 309
+
/* syscall: "set_robust_list" ret: "int" args: "linux32_robust_list_headp_t" "linux32_size_t" */
#define LINUX32_SYS_set_robust_list 311
diff -r 2828128a206c -r 7ea03892f191 sys/compat/linux32/arch/amd64/linux32_syscallargs.h
--- a/sys/compat/linux32/arch/amd64/linux32_syscallargs.h Sat Nov 22 13:12:22 2014 +0000
+++ b/sys/compat/linux32/arch/amd64/linux32_syscallargs.h Sat Nov 22 13:13:10 2014 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux32_syscallargs.h,v 1.72 2014/05/29 10:47:23 njoly Exp $ */
+/* $NetBSD: linux32_syscallargs.h,v 1.73 2014/11/22 13:13:10 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.67 2014/05/29 10:47:00 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.68 2014/11/22 13:12:22 njoly Exp
*/
#ifndef _LINUX32_SYS_SYSCALLARGS_H_
@@ -981,6 +981,14 @@
};
check_syscall_args(linux32_sys_faccessat)
+struct linux32_sys_ppoll_args {
+ syscallarg(netbsd32_pollfdp_t) fds;
+ syscallarg(u_int) nfds;
+ syscallarg(linux32_timespecp_t) timeout;
+ syscallarg(linux32_sigsetp_t) sigset;
+};
+check_syscall_args(linux32_sys_ppoll)
+
struct linux32_sys_set_robust_list_args {
syscallarg(linux32_robust_list_headp_t) head;
syscallarg(linux32_size_t) len;
@@ -1449,6 +1457,8 @@
int linux32_sys_faccessat(struct lwp *, const struct linux32_sys_faccessat_args *, register_t *);
+int linux32_sys_ppoll(struct lwp *, const struct linux32_sys_ppoll_args *, register_t *);
+
int linux32_sys_set_robust_list(struct lwp *, const struct linux32_sys_set_robust_list_args *, register_t *);
int linux32_sys_get_robust_list(struct lwp *, const struct linux32_sys_get_robust_list_args *, register_t *);
diff -r 2828128a206c -r 7ea03892f191 sys/compat/linux32/arch/amd64/linux32_syscalls.c
--- a/sys/compat/linux32/arch/amd64/linux32_syscalls.c Sat Nov 22 13:12:22 2014 +0000
+++ b/sys/compat/linux32/arch/amd64/linux32_syscalls.c Sat Nov 22 13:13:10 2014 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux32_syscalls.c,v 1.72 2014/05/29 10:47:23 njoly Exp $ */
+/* $NetBSD: linux32_syscalls.c,v 1.73 2014/11/22 13:13:10 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.67 2014/05/29 10:47:00 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.68 2014/11/22 13:12:22 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.72 2014/05/29 10:47:23 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.73 2014/11/22 13:13:10 njoly Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
@@ -346,7 +346,7 @@
/* 306 */ "fchmodat",
/* 307 */ "faccessat",
/* 308 */ "#308 (unimplemented pselect6)",
- /* 309 */ "#309 (unimplemented ppoll)",
+ /* 309 */ "ppoll",
/* 310 */ "#310 (unimplemented unshare)",
/* 311 */ "set_robust_list",
/* 312 */ "get_robust_list",
diff -r 2828128a206c -r 7ea03892f191 sys/compat/linux32/arch/amd64/linux32_sysent.c
--- a/sys/compat/linux32/arch/amd64/linux32_sysent.c Sat Nov 22 13:12:22 2014 +0000
+++ b/sys/compat/linux32/arch/amd64/linux32_sysent.c Sat Nov 22 13:13:10 2014 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux32_sysent.c,v 1.72 2014/05/29 10:47:23 njoly Exp $ */
+/* $NetBSD: linux32_sysent.c,v 1.73 2014/11/22 13:13:10 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.67 2014/05/29 10:47:00 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.68 2014/11/22 13:12:22 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.72 2014/05/29 10:47:23 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.73 2014/11/22 13:13:10 njoly Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@@ -657,8 +657,8 @@
(sy_call_t *)linux32_sys_faccessat },/* 307 = faccessat */
{ 0, 0, 0,
linux_sys_nosys }, /* 308 = unimplemented pselect6 */
- { 0, 0, 0,
- linux_sys_nosys }, /* 309 = unimplemented ppoll */
+ { ns(struct linux32_sys_ppoll_args), 0,
+ (sy_call_t *)linux32_sys_ppoll }, /* 309 = ppoll */
{ 0, 0, 0,
linux_sys_nosys }, /* 310 = unimplemented unshare */
{ ns(struct linux32_sys_set_robust_list_args), 0,
Home |
Main Index |
Thread Index |
Old Index