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/alpha regen
details: https://anonhg.NetBSD.org/src/rev/a9fc3737dbd7
branches: trunk
changeset: 351138:a9fc3737dbd7
user: christos <christos%NetBSD.org@localhost>
date: Fri Feb 03 16:17:17 2017 +0000
description:
regen
diffstat:
sys/compat/linux/arch/alpha/linux_syscall.h | 12 +++-
sys/compat/linux/arch/alpha/linux_syscallargs.h | 25 +++++++-
sys/compat/linux/arch/alpha/linux_syscalls.c | 74 ++++++++++++------------
sys/compat/linux/arch/alpha/linux_sysent.c | 18 +++--
4 files changed, 80 insertions(+), 49 deletions(-)
diffs (264 lines):
diff -r 95a59384820f -r a9fc3737dbd7 sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h Fri Feb 03 16:17:08 2017 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h Fri Feb 03 16:17:17 2017 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.104 2017/02/03 06:07:29 martin Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.105 2017/02/03 16:17:17 christos Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.93 2017/02/03 06:06:08 martin Exp
+ * created from NetBSD: syscalls.master,v 1.94 2017/02/03 16:17:08 christos Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@@ -654,6 +654,9 @@
/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
#define LINUX_SYS_utimensat 475
+/* syscall: "recvmmsg" ret: "int" args: "int" "struct linux_mmsghdr *" "unsigned int" "unsigned int" "struct timespec *" */
+#define LINUX_SYS_recvmmsg 479
+
/* syscall: "dup3" ret: "int" args: "int" "int" "int" */
#define LINUX_SYS_dup3 487
@@ -663,6 +666,9 @@
/* syscall: "accept4" ret: "int" args: "int" "struct osockaddr *" "int *" "int" */
#define LINUX_SYS_accept4 502
-#define LINUX_SYS_MAXSYSCALL 503
+/* syscall: "sendmmsg" ret: "int" args: "int" "struct linux_mmsghdr *" "unsigned int" "unsigned int" */
+#define LINUX_SYS_sendmmsg 503
+
+#define LINUX_SYS_MAXSYSCALL 511
#define LINUX_SYS_NSYSENT 512
#endif /* _LINUX_SYS_SYSCALL_H_ */
diff -r 95a59384820f -r a9fc3737dbd7 sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h Fri Feb 03 16:17:08 2017 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h Fri Feb 03 16:17:17 2017 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.103 2017/02/03 06:07:29 martin Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.104 2017/02/03 16:17:17 christos Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.93 2017/02/03 06:06:08 martin Exp
+ * created from NetBSD: syscalls.master,v 1.94 2017/02/03 16:17:08 christos Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -1114,6 +1114,15 @@
};
check_syscall_args(linux_sys_utimensat)
+struct linux_sys_recvmmsg_args {
+ syscallarg(int) s;
+ syscallarg(struct linux_mmsghdr *) msgvec;
+ syscallarg(unsigned int) vlen;
+ syscallarg(unsigned int) flags;
+ syscallarg(struct timespec *) timeout;
+};
+check_syscall_args(linux_sys_recvmmsg)
+
struct linux_sys_dup3_args {
syscallarg(int) from;
syscallarg(int) to;
@@ -1135,6 +1144,14 @@
};
check_syscall_args(linux_sys_accept4)
+struct linux_sys_sendmmsg_args {
+ syscallarg(int) s;
+ syscallarg(struct linux_mmsghdr *) msgvec;
+ syscallarg(unsigned int) vlen;
+ syscallarg(unsigned int) flags;
+};
+check_syscall_args(linux_sys_sendmmsg)
+
/*
* System call prototypes.
*/
@@ -1601,10 +1618,14 @@
int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
+int linux_sys_recvmmsg(struct lwp *, const struct linux_sys_recvmmsg_args *, register_t *);
+
int linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *);
int linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
int linux_sys_accept4(struct lwp *, const struct linux_sys_accept4_args *, register_t *);
+int linux_sys_sendmmsg(struct lwp *, const struct linux_sys_sendmmsg_args *, register_t *);
+
#endif /* _LINUX_SYS_SYSCALLARGS_H_ */
diff -r 95a59384820f -r a9fc3737dbd7 sys/compat/linux/arch/alpha/linux_syscalls.c
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c Fri Feb 03 16:17:08 2017 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c Fri Feb 03 16:17:17 2017 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.105 2017/02/03 06:07:29 martin Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.106 2017/02/03 16:17:17 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.93 2017/02/03 06:06:08 martin Exp
+ * created from NetBSD: syscalls.master,v 1.94 2017/02/03 16:17:08 christos Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.105 2017/02/03 06:07:29 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.106 2017/02/03 16:17:17 christos Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -537,7 +537,7 @@
/* 476 */ "#476 (unimplemented signalfd)",
/* 477 */ "#477 (unimplemented timerfd)",
/* 478 */ "#478 (unimplemented eventfd)",
- /* 479 */ "#479 (unimplemented recvmmsg)",
+ /* 479 */ "recvmmsg",
/* 480 */ "#480 (unimplemented fallocate)",
/* 481 */ "#481 (unimplemented timerfd_create)",
/* 482 */ "#482 (unimplemented timerfd_settime)",
@@ -552,23 +552,23 @@
/* 491 */ "#491 (unimplemented pwritev)",
/* 492 */ "#492 (unimplemented rt_tgsigqueueinfo)",
/* 493 */ "#493 (unimplemented perf_counter_open)",
- /* 494 */ "#494 (unimplemented)",
- /* 495 */ "#495 (unimplemented)",
- /* 496 */ "#496 (unimplemented)",
- /* 497 */ "#497 (unimplemented)",
- /* 498 */ "#498 (unimplemented)",
- /* 499 */ "#499 (unimplemented)",
- /* 500 */ "#500 (unimplemented)",
- /* 501 */ "#501 (unimplemented)",
+ /* 494 */ "#494 (unimplemented fanotify_init)",
+ /* 495 */ "#495 (unimplemented fanotify_mark)",
+ /* 496 */ "#496 (unimplemented prlimit64)",
+ /* 497 */ "#497 (unimplemented name_to_handle_at)",
+ /* 498 */ "#498 (unimplemented open_by_handle_at)",
+ /* 499 */ "#499 (unimplemented clock_adjtime)",
+ /* 500 */ "#500 (unimplemented syncfs)",
+ /* 501 */ "#501 (unimplemented setns)",
/* 502 */ "accept4",
- /* 503 */ "# filler",
- /* 504 */ "# filler",
- /* 505 */ "# filler",
- /* 506 */ "# filler",
- /* 507 */ "# filler",
- /* 508 */ "# filler",
- /* 509 */ "# filler",
- /* 510 */ "# filler",
+ /* 503 */ "sendmmsg",
+ /* 504 */ "#504 (unimplemented process_vm_readv)",
+ /* 505 */ "#505 (unimplemented process_vm_writev)",
+ /* 506 */ "#506 (unimplemented kcmp)",
+ /* 507 */ "#507 (unimplemented finit_module)",
+ /* 508 */ "#508 (unimplemented sched_setattr)",
+ /* 509 */ "#509 (unimplemented sched_getattr)",
+ /* 510 */ "#510 (unimplemented renameat2)",
/* 511 */ "# filler",
};
@@ -1078,7 +1078,7 @@
/* 476 */ NULL, /* unimplemented signalfd */
/* 477 */ NULL, /* unimplemented timerfd */
/* 478 */ NULL, /* unimplemented eventfd */
- /* 479 */ NULL, /* unimplemented recvmmsg */
+ /* 479 */ NULL, /* recvmmsg */
/* 480 */ NULL, /* unimplemented fallocate */
/* 481 */ NULL, /* unimplemented timerfd_create */
/* 482 */ NULL, /* unimplemented timerfd_settime */
@@ -1093,22 +1093,22 @@
/* 491 */ NULL, /* unimplemented pwritev */
/* 492 */ NULL, /* unimplemented rt_tgsigqueueinfo */
/* 493 */ NULL, /* unimplemented perf_counter_open */
- /* 494 */ NULL, /* unimplemented */
- /* 495 */ NULL, /* unimplemented */
- /* 496 */ NULL, /* unimplemented */
- /* 497 */ NULL, /* unimplemented */
- /* 498 */ NULL, /* unimplemented */
- /* 499 */ NULL, /* unimplemented */
- /* 500 */ NULL, /* unimplemented */
- /* 501 */ NULL, /* unimplemented */
+ /* 494 */ NULL, /* unimplemented fanotify_init */
+ /* 495 */ NULL, /* unimplemented fanotify_mark */
+ /* 496 */ NULL, /* unimplemented prlimit64 */
+ /* 497 */ NULL, /* unimplemented name_to_handle_at */
+ /* 498 */ NULL, /* unimplemented open_by_handle_at */
+ /* 499 */ NULL, /* unimplemented clock_adjtime */
+ /* 500 */ NULL, /* unimplemented syncfs */
+ /* 501 */ NULL, /* unimplemented setns */
/* 502 */ NULL, /* accept4 */
- /* 503 */ NULL, /* filler */
- /* 504 */ NULL, /* filler */
- /* 505 */ NULL, /* filler */
- /* 506 */ NULL, /* filler */
- /* 507 */ NULL, /* filler */
- /* 508 */ NULL, /* filler */
- /* 509 */ NULL, /* filler */
- /* 510 */ NULL, /* filler */
+ /* 503 */ NULL, /* sendmmsg */
+ /* 504 */ NULL, /* unimplemented process_vm_readv */
+ /* 505 */ NULL, /* unimplemented process_vm_writev */
+ /* 506 */ NULL, /* unimplemented kcmp */
+ /* 507 */ NULL, /* unimplemented finit_module */
+ /* 508 */ NULL, /* unimplemented sched_setattr */
+ /* 509 */ NULL, /* unimplemented sched_getattr */
+ /* 510 */ NULL, /* unimplemented renameat2 */
/* 511 */ NULL, /* filler */
};
diff -r 95a59384820f -r a9fc3737dbd7 sys/compat/linux/arch/alpha/linux_sysent.c
--- a/sys/compat/linux/arch/alpha/linux_sysent.c Fri Feb 03 16:17:08 2017 +0000
+++ b/sys/compat/linux/arch/alpha/linux_sysent.c Fri Feb 03 16:17:17 2017 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.104 2017/02/03 06:07:29 martin Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.105 2017/02/03 16:17:17 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.93 2017/02/03 06:06:08 martin Exp
+ * created from NetBSD: syscalls.master,v 1.94 2017/02/03 16:17:08 christos Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.104 2017/02/03 06:07:29 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.105 2017/02/03 16:17:17 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@@ -1897,8 +1897,10 @@
.sy_call = linux_sys_nosys,
}, /* 478 = filler */
{
- .sy_call = linux_sys_nosys,
- }, /* 479 = filler */
+ ns(struct linux_sys_recvmmsg_args),
+ .sy_flags = SYCALL_ARG_PTR,
+ .sy_call = (sy_call_t *)linux_sys_recvmmsg
+ }, /* 479 = recvmmsg */
{
.sy_call = linux_sys_nosys,
}, /* 480 = filler */
@@ -1974,8 +1976,10 @@
.sy_call = (sy_call_t *)linux_sys_accept4
}, /* 502 = accept4 */
{
- .sy_call = linux_sys_nosys,
- }, /* 503 = filler */
+ ns(struct linux_sys_sendmmsg_args),
+ .sy_flags = SYCALL_ARG_PTR,
+ .sy_call = (sy_call_t *)linux_sys_sendmmsg
+ }, /* 503 = sendmmsg */
{
.sy_call = linux_sys_nosys,
}, /* 504 = filler */
Home |
Main Index |
Thread Index |
Old Index