Regen (posix_fadvise got a pad arg)

This commit is contained in:
martin 2008-01-27 16:14:59 +00:00
parent 65badb72df
commit a870c2e30e
4 changed files with 36 additions and 21 deletions

View File

@ -1,14 +1,14 @@
/* $NetBSD: init_sysent.c,v 1.208 2008/01/25 13:39:24 ad Exp $ */
/* $NetBSD: init_sysent.c,v 1.209 2008/01/27 16:14:59 martin Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.186 2008/01/25 13:38:57 ad Exp
* created from NetBSD: syscalls.master,v 1.187 2008/01/27 16:13:39 martin Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.208 2008/01/25 13:39:24 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.209 2008/01/27 16:14:59 martin Exp $");
#include "opt_nfsserver.h"
#include "opt_ntp.h"
@ -1028,8 +1028,8 @@ struct sysent sysent[] = {
(sy_call_t *)sys___lstat30 }, /* 389 = __lstat30 */
{ ns(struct sys___getdents30_args), SYCALL_MPSAFE | 0,
(sy_call_t *)sys___getdents30 }, /* 390 = __getdents30 */
{ ns(struct sys_posix_fadvise_args), SYCALL_MPSAFE | 0,
(sy_call_t *)sys_posix_fadvise }, /* 391 = posix_fadvise */
{ ns(struct compat_40_sys_posix_fadvise_args), SYCALL_MPSAFE | 0,
(sy_call_t *)compat_40(sys_posix_fadvise) },/* 391 = compat_40_posix_fadvise */
{ ns(struct compat_30_sys___fhstat30_args), SYCALL_MPSAFE | 0,
(sy_call_t *)compat_30(sys___fhstat30) },/* 392 = compat_30___fhstat30 */
{ ns(struct sys___ntp_gettime30_args), 0,
@ -1078,8 +1078,8 @@ struct sysent sysent[] = {
(sy_call_t *)sys_pset_assign }, /* 414 = pset_assign */
{ ns(struct sys__pset_bind_args), SYCALL_MPSAFE | 0,
(sy_call_t *)sys__pset_bind }, /* 415 = _pset_bind */
{ 0, 0, 0,
sys_nosys }, /* 416 = filler */
{ ns(struct sys___posix_fadvise50_args), SYCALL_MPSAFE | 0,
(sy_call_t *)sys___posix_fadvise50 },/* 416 = __posix_fadvise50 */
{ 0, 0, 0,
sys_nosys }, /* 417 = filler */
{ 0, 0, 0,

View File

@ -1,14 +1,14 @@
/* $NetBSD: syscalls.c,v 1.202 2008/01/25 13:39:25 ad Exp $ */
/* $NetBSD: syscalls.c,v 1.203 2008/01/27 16:14:59 martin Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.186 2008/01/25 13:38:57 ad Exp
* created from NetBSD: syscalls.master,v 1.187 2008/01/27 16:13:39 martin Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.202 2008/01/25 13:39:25 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.203 2008/01/27 16:14:59 martin Exp $");
#if defined(_KERNEL_OPT)
#include "opt_nfsserver.h"
@ -516,7 +516,7 @@ const char *const syscallnames[] = {
/* 388 */ "__fstat30",
/* 389 */ "__lstat30",
/* 390 */ "__getdents30",
/* 391 */ "posix_fadvise",
/* 391 */ "compat_40_posix_fadvise",
/* 392 */ "compat_30___fhstat30",
/* 393 */ "__ntp_gettime30",
/* 394 */ "__socket30",
@ -541,4 +541,5 @@ const char *const syscallnames[] = {
/* 413 */ "pset_destroy",
/* 414 */ "pset_assign",
/* 415 */ "_pset_bind",
/* 416 */ "__posix_fadvise50",
};

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscall.h,v 1.199 2008/01/25 13:39:24 ad Exp $ */
/* $NetBSD: syscall.h,v 1.200 2008/01/27 16:15:00 martin Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.186 2008/01/25 13:38:57 ad Exp
* created from NetBSD: syscalls.master,v 1.187 2008/01/27 16:13:39 martin Exp
*/
#ifndef _SYS_SYSCALL_H_
@ -1144,8 +1144,8 @@
/* syscall: "__getdents30" ret: "int" args: "int" "char *" "size_t" */
#define SYS___getdents30 390
/* syscall: "posix_fadvise" ret: "int" args: "int" "off_t" "off_t" "int" */
#define SYS_posix_fadvise 391
/* syscall: "compat_40_posix_fadvise" ret: "int" args: "int" "off_t" "off_t" "int" */
#define SYS_compat_40_posix_fadvise 391
/* syscall: "compat_30___fhstat30" ret: "int" args: "const struct compat_30_fhandle *" "struct stat *" */
#define SYS_compat_30___fhstat30 392
@ -1210,6 +1210,9 @@
/* syscall: "_pset_bind" ret: "int" args: "idtype_t" "id_t" "id_t" "psetid_t" "psetid_t *" */
#define SYS__pset_bind 415
#define SYS_MAXSYSCALL 416
/* syscall: "__posix_fadvise50" ret: "int" args: "int" "int" "off_t" "off_t" "int" */
#define SYS___posix_fadvise50 416
#define SYS_MAXSYSCALL 417
#define SYS_NSYSENT 512
#endif /* _SYS_SYSCALL_H_ */

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscallargs.h,v 1.181 2008/01/25 13:39:24 ad Exp $ */
/* $NetBSD: syscallargs.h,v 1.182 2008/01/27 16:15:00 martin Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.186 2008/01/25 13:38:57 ad Exp
* created from NetBSD: syscalls.master,v 1.187 2008/01/27 16:13:39 martin Exp
*/
#ifndef _SYS_SYSCALLARGS_H_
@ -2115,13 +2115,13 @@ struct sys___getdents30_args {
};
check_syscall_args(sys___getdents30)
struct sys_posix_fadvise_args {
struct compat_40_sys_posix_fadvise_args {
syscallarg(int) fd;
syscallarg(off_t) offset;
syscallarg(off_t) len;
syscallarg(int) advice;
};
check_syscall_args(sys_posix_fadvise)
check_syscall_args(compat_40_sys_posix_fadvise)
struct compat_30_sys___fhstat30_args {
syscallarg(const struct compat_30_fhandle *) fhp;
@ -2261,6 +2261,15 @@ struct sys__pset_bind_args {
};
check_syscall_args(sys__pset_bind)
struct sys___posix_fadvise50_args {
syscallarg(int) fd;
syscallarg(int) pad;
syscallarg(off_t) offset;
syscallarg(off_t) len;
syscallarg(int) advice;
};
check_syscall_args(sys___posix_fadvise50)
/*
* System call prototypes.
*/
@ -3004,7 +3013,7 @@ int sys___lstat30(struct lwp *, const struct sys___lstat30_args *, register_t *)
int sys___getdents30(struct lwp *, const struct sys___getdents30_args *, register_t *);
int sys_posix_fadvise(struct lwp *, const struct sys_posix_fadvise_args *, register_t *);
int compat_40_sys_posix_fadvise(struct lwp *, const struct compat_40_sys_posix_fadvise_args *, register_t *);
int compat_30_sys___fhstat30(struct lwp *, const struct compat_30_sys___fhstat30_args *, register_t *);
@ -3048,4 +3057,6 @@ int sys_pset_assign(struct lwp *, const struct sys_pset_assign_args *, register_
int sys__pset_bind(struct lwp *, const struct sys__pset_bind_args *, register_t *);
int sys___posix_fadvise50(struct lwp *, const struct sys___posix_fadvise50_args *, register_t *);
#endif /* _SYS_SYSCALLARGS_H_ */