This commit is contained in:
christos 2016-04-02 21:02:39 +00:00
parent 55b98faaa8
commit 3d596ad050
7 changed files with 717 additions and 699 deletions

View File

@ -1,14 +1,14 @@
/* $NetBSD: init_sysent.c,v 1.306 2016/01/26 23:49:46 pooka Exp $ */
/* $NetBSD: init_sysent.c,v 1.307 2016/04/02 21:02:39 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.281 2015/12/03 02:51:00 pgoyette Exp
* created from NetBSD: syscalls.master,v 1.282 2016/04/02 21:01:32 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.306 2016/01/26 23:49:46 pooka Exp $");
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.307 2016/04/02 21:02:39 christos Exp $");
#include "opt_modular.h"
#include "opt_ntp.h"
@ -2317,8 +2317,10 @@ struct sysent sysent[] = {
.sy_call = (sy_call_t *)sys_fdiscard
}, /* 480 = fdiscard */
{
.sy_call = sys_nosys,
}, /* 481 = filler */
ns(struct sys_wait6_args),
.sy_flags = SYCALL_ARG_PTR,
.sy_call = (sy_call_t *)sys_wait6
}, /* 481 = wait6 */
{
.sy_call = sys_nosys,
}, /* 482 = filler */

View File

@ -1,14 +1,14 @@
/* $NetBSD: syscalls.c,v 1.296 2016/01/26 23:49:46 pooka Exp $ */
/* $NetBSD: syscalls.c,v 1.297 2016/04/02 21:02:39 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.281 2015/12/03 02:51:00 pgoyette Exp
* created from NetBSD: syscalls.master,v 1.282 2016/04/02 21:01:32 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.296 2016/01/26 23:49:46 pooka Exp $");
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.297 2016/04/02 21:02:39 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_modular.h"
@ -527,7 +527,7 @@ const char *const syscallnames[] = {
/* 478 */ "___lwp_park60",
/* 479 */ "posix_fallocate",
/* 480 */ "fdiscard",
/* 481 */ "# filler",
/* 481 */ "wait6",
/* 482 */ "# filler",
/* 483 */ "# filler",
/* 484 */ "# filler",
@ -1064,7 +1064,7 @@ const char *const altsyscallnames[] = {
/* 478 */ "_lwp_park",
/* 479 */ NULL, /* posix_fallocate */
/* 480 */ NULL, /* fdiscard */
/* 481 */ NULL, /* filler */
/* 481 */ NULL, /* wait6 */
/* 482 */ NULL, /* filler */
/* 483 */ NULL, /* filler */
/* 484 */ NULL, /* filler */

View File

@ -1,14 +1,14 @@
/* $NetBSD: syscalls_autoload.c,v 1.15 2016/01/26 23:49:46 pooka Exp $ */
/* $NetBSD: syscalls_autoload.c,v 1.16 2016/04/02 21:02:39 christos Exp $ */
/*
* System call autoload table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.281 2015/12/03 02:51:00 pgoyette Exp
* created from NetBSD: syscalls.master,v 1.282 2016/04/02 21:01:32 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: syscalls_autoload.c,v 1.15 2016/01/26 23:49:46 pooka Exp $");
__KERNEL_RCSID(0, "$NetBSD: syscalls_autoload.c,v 1.16 2016/04/02 21:02:39 christos Exp $");
#include <sys/proc.h>
static struct sc_autoload netbsd_syscalls_autoload[] = {

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,10 @@
/* $NetBSD: rump_syscalls.c,v 1.123 2016/01/26 23:49:46 pooka Exp $ */
/* $NetBSD: rump_syscalls.c,v 1.124 2016/04/02 21:02:40 christos Exp $ */
/*
* System call vector and marshalling for rump.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.281 2015/12/03 02:51:00 pgoyette Exp
* created from NetBSD: syscalls.master,v 1.282 2016/04/02 21:01:32 christos Exp
*/
#ifdef RUMP_CLIENT
@ -15,7 +15,7 @@
#ifdef __NetBSD__
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.123 2016/01/26 23:49:46 pooka Exp $");
__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.124 2016/04/02 21:02:40 christos Exp $");
#include <sys/fstypes.h>
#include <sys/proc.h>
@ -8380,9 +8380,8 @@ struct sysent rump_sysent[] = {
.sy_call = (sy_call_t *)rumpns_enosys,
}, /* 480 = fdiscard */
{
.sy_flags = SYCALL_NOSYS,
.sy_call = (sy_call_t *)rumpns_enosys,
}, /* 481 = filler */
}, /* 481 = wait6 */
{
.sy_flags = SYCALL_NOSYS,
.sy_call = (sy_call_t *)rumpns_enosys,

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscall.h,v 1.290 2016/01/26 23:49:47 pooka Exp $ */
/* $NetBSD: syscall.h,v 1.291 2016/04/02 21:02:39 christos Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.281 2015/12/03 02:51:00 pgoyette Exp
* created from NetBSD: syscalls.master,v 1.282 2016/04/02 21:01:32 christos Exp
*/
#ifndef _SYS_SYSCALL_H_
@ -1325,6 +1325,9 @@
/* syscall: "fdiscard" ret: "int" args: "int" "int" "off_t" "off_t" */
#define SYS_fdiscard 480
#define SYS_MAXSYSCALL 481
/* syscall: "wait6" ret: "int" args: "idtype_t" "id_t" "int *" "int" "struct wrusage *" "siginfo_t *" */
#define SYS_wait6 481
#define SYS_MAXSYSCALL 482
#define SYS_NSYSENT 512
#endif /* _SYS_SYSCALL_H_ */

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscallargs.h,v 1.274 2016/01/26 23:49:47 pooka Exp $ */
/* $NetBSD: syscallargs.h,v 1.275 2016/04/02 21:02:39 christos Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.281 2015/12/03 02:51:00 pgoyette Exp
* created from NetBSD: syscalls.master,v 1.282 2016/04/02 21:01:32 christos Exp
*/
#ifndef _SYS_SYSCALLARGS_H_
@ -3128,6 +3128,18 @@ struct sys_fdiscard_args {
};
check_syscall_args(sys_fdiscard)
#ifndef RUMP_CLIENT
struct sys_wait6_args {
syscallarg(idtype_t) idtype;
syscallarg(id_t) id;
syscallarg(int *) status;
syscallarg(int) options;
syscallarg(struct wrusage *) wru;
syscallarg(siginfo_t *) info;
};
check_syscall_args(sys_wait6)
#endif /* !RUMP_CLIENT */
/*
* System call prototypes.
*/
@ -4002,5 +4014,7 @@ int sys_posix_fallocate(struct lwp *, const struct sys_posix_fallocate_args *, r
int sys_fdiscard(struct lwp *, const struct sys_fdiscard_args *, register_t *);
int sys_wait6(struct lwp *, const struct sys_wait6_args *, register_t *);
#endif /* !RUMP_CLIENT */
#endif /* _SYS_SYSCALLARGS_H_ */