This commit is contained in:
dsl 2008-01-26 08:44:48 +00:00
parent be09b9791a
commit fe0f1a7e5d
4 changed files with 23 additions and 17 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: netbsd32_syscall.h,v 1.73 2008/01/19 22:25:36 dsl Exp $ */
/* $NetBSD: netbsd32_syscall.h,v 1.74 2008/01/26 08:44:48 dsl Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.65 2008/01/19 22:25:12 dsl Exp
* created from NetBSD: syscalls.master,v 1.66 2008/01/26 08:35:51 dsl Exp
*/
#ifndef _NETBSD32_SYS_SYSCALL_H_
@ -1057,8 +1057,8 @@
/* syscall: "__getdents30" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */
#define NETBSD32_SYS___getdents30 390
/* syscall: "posix_fadvise" ret: "int" args: "int" "off_t" "off_t" "int" */
#define NETBSD32_SYS_posix_fadvise 391
/* syscall: "netbsd32_posix_fadvise" ret: "int" args: "int" "off_t" "off_t" "int" */
#define NETBSD32_SYS_netbsd32_posix_fadvise 391
/* syscall: "compat_30___fhstat30" ret: "int" args: "netbsd32_fhandlep_t" "netbsd32_statp_t" */
#define NETBSD32_SYS_compat_30___fhstat30 392

View File

@ -1,10 +1,10 @@
/* $NetBSD: netbsd32_syscallargs.h,v 1.73 2008/01/19 22:25:37 dsl Exp $ */
/* $NetBSD: netbsd32_syscallargs.h,v 1.74 2008/01/26 08:44:48 dsl Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.65 2008/01/19 22:25:12 dsl Exp
* created from NetBSD: syscalls.master,v 1.66 2008/01/26 08:35:51 dsl Exp
*/
#ifndef _NETBSD32_SYS_SYSCALLARGS_H_
@ -1984,7 +1984,13 @@ struct netbsd32_sys___getdents30_args {
};
check_syscall_args(netbsd32_sys___getdents30)
struct sys_posix_fadvise_args;
struct netbsd32_posix_fadvise_args {
syscallarg(int) fd;
syscallarg(off_t) offset;
syscallarg(off_t) len;
syscallarg(int) advice;
};
check_syscall_args(netbsd32_posix_fadvise)
struct compat_30_netbsd32_sys___fhstat30_args {
syscallarg(netbsd32_fhandlep_t) fhp;
@ -2719,7 +2725,7 @@ int netbsd32_sys___lstat30(struct lwp *, const struct netbsd32_sys___lstat30_arg
int netbsd32_sys___getdents30(struct lwp *, const struct netbsd32_sys___getdents30_args *, register_t *);
int sys_posix_fadvise(struct lwp *, const struct sys_posix_fadvise_args *, register_t *);
int netbsd32_posix_fadvise(struct lwp *, const struct netbsd32_posix_fadvise_args *, register_t *);
int compat_30_netbsd32_sys___fhstat30(struct lwp *, const struct compat_30_netbsd32_sys___fhstat30_args *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: netbsd32_syscalls.c,v 1.72 2008/01/19 22:25:37 dsl Exp $ */
/* $NetBSD: netbsd32_syscalls.c,v 1.73 2008/01/26 08:44:48 dsl Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.65 2008/01/19 22:25:12 dsl Exp
* created from NetBSD: syscalls.master,v 1.66 2008/01/26 08:35:51 dsl Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.72 2008/01/19 22:25:37 dsl Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.73 2008/01/26 08:44:48 dsl Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -504,7 +504,7 @@ const char *const netbsd32_syscallnames[] = {
/* 388 */ "__fstat30",
/* 389 */ "__lstat30",
/* 390 */ "__getdents30",
/* 391 */ "posix_fadvise",
/* 391 */ "netbsd32_posix_fadvise",
/* 392 */ "compat_30___fhstat30",
/* 393 */ "netbsd32_ntp_gettime",
/* 394 */ "__socket30",

View File

@ -1,14 +1,14 @@
/* $NetBSD: netbsd32_sysent.c,v 1.72 2008/01/19 22:25:37 dsl Exp $ */
/* $NetBSD: netbsd32_sysent.c,v 1.73 2008/01/26 08:44:49 dsl Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.65 2008/01/19 22:25:12 dsl Exp
* created from NetBSD: syscalls.master,v 1.66 2008/01/26 08:35:51 dsl Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.72 2008/01/19 22:25:37 dsl Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.73 2008/01/26 08:44:49 dsl Exp $");
#if defined(_KERNEL_OPT)
#include "opt_nfsserver.h"
@ -1006,8 +1006,8 @@ struct sysent netbsd32_sysent[] = {
(sy_call_t *)netbsd32_sys___lstat30 },/* 389 = __lstat30 */
{ ns(struct netbsd32_sys___getdents30_args), 0,
(sy_call_t *)netbsd32_sys___getdents30 },/* 390 = __getdents30 */
{ ns(struct sys_posix_fadvise_args), 0,
(sy_call_t *)sys_posix_fadvise }, /* 391 = posix_fadvise */
{ ns(struct netbsd32_posix_fadvise_args), 0,
(sy_call_t *)netbsd32_posix_fadvise },/* 391 = netbsd32_posix_fadvise */
{ ns(struct compat_30_netbsd32_sys___fhstat30_args), 0,
(sy_call_t *)compat_30(netbsd32_sys___fhstat30) },/* 392 = compat_30___fhstat30 */
{ ns(struct netbsd32_ntp_gettime_args), 0,