Regen for fstatfs.

This commit is contained in:
njoly 2009-06-05 16:46:52 +00:00
parent ca080002aa
commit b0b09eac89
4 changed files with 24 additions and 13 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux32_syscall.h,v 1.55 2009/06/04 18:01:02 njoly Exp $ */
/* $NetBSD: linux32_syscall.h,v 1.56 2009/06/05 16:46:52 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.52 2009/06/04 17:59:30 njoly Exp
* created from NetBSD: syscalls.master,v 1.53 2009/06/05 16:45:33 njoly Exp
*/
#ifndef _LINUX32_SYS_SYSCALL_H_
@ -268,6 +268,9 @@
/* syscall: "statfs" ret: "int" args: "netbsd32_charp" "linux32_statfsp" */
#define LINUX32_SYS_statfs 99
/* syscall: "fstatfs" ret: "int" args: "int" "linux32_statfsp" */
#define LINUX32_SYS_fstatfs 100
/* syscall: "socketcall" ret: "int" args: "int" "netbsd32_voidp" */
#define LINUX32_SYS_socketcall 102

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux32_syscallargs.h,v 1.55 2009/06/04 18:01:02 njoly Exp $ */
/* $NetBSD: linux32_syscallargs.h,v 1.56 2009/06/05 16:46:52 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.52 2009/06/04 17:59:30 njoly Exp
* created from NetBSD: syscalls.master,v 1.53 2009/06/05 16:45:33 njoly Exp
*/
#ifndef _LINUX32_SYS_SYSCALLARGS_H_
@ -319,6 +319,12 @@ struct linux32_sys_statfs_args {
};
check_syscall_args(linux32_sys_statfs)
struct linux32_sys_fstatfs_args {
syscallarg(int) fd;
syscallarg(linux32_statfsp) sp;
};
check_syscall_args(linux32_sys_fstatfs)
struct linux32_sys_socketcall_args {
syscallarg(int) what;
syscallarg(netbsd32_voidp) args;
@ -902,6 +908,8 @@ int netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *,
int linux32_sys_statfs(struct lwp *, const struct linux32_sys_statfs_args *, register_t *);
int linux32_sys_fstatfs(struct lwp *, const struct linux32_sys_fstatfs_args *, register_t *);
int linux32_sys_socketcall(struct lwp *, const struct linux32_sys_socketcall_args *, register_t *);
int compat_50_netbsd32_setitimer(struct lwp *, const struct compat_50_netbsd32_setitimer_args *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux32_syscalls.c,v 1.55 2009/06/04 18:01:02 njoly Exp $ */
/* $NetBSD: linux32_syscalls.c,v 1.56 2009/06/05 16:46:52 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.52 2009/06/04 17:59:30 njoly Exp
* created from NetBSD: syscalls.master,v 1.53 2009/06/05 16:45:33 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.55 2009/06/04 18:01:02 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.56 2009/06/05 16:46:52 njoly Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
@ -135,7 +135,7 @@ const char *const linux32_syscallnames[] = {
/* 97 */ "netbsd32_setpriority",
/* 98 */ "#98 (unimplemented profil)",
/* 99 */ "statfs",
/* 100 */ "#100 (unimplemented fstatfs)",
/* 100 */ "fstatfs",
/* 101 */ "#101 (unimplemented ioperm)",
/* 102 */ "socketcall",
/* 103 */ "#103 (unimplemented syslog)",

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux32_sysent.c,v 1.55 2009/06/04 18:01:02 njoly Exp $ */
/* $NetBSD: linux32_sysent.c,v 1.56 2009/06/05 16:46:52 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.52 2009/06/04 17:59:30 njoly Exp
* created from NetBSD: syscalls.master,v 1.53 2009/06/05 16:45:33 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.55 2009/06/04 18:01:02 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.56 2009/06/05 16:46:52 njoly Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@ -237,8 +237,8 @@ struct sysent linux32_sysent[] = {
linux_sys_nosys }, /* 98 = unimplemented profil */
{ ns(struct linux32_sys_statfs_args), 0,
(sy_call_t *)linux32_sys_statfs }, /* 99 = statfs */
{ 0, 0, 0,
linux_sys_nosys }, /* 100 = unimplemented fstatfs */
{ ns(struct linux32_sys_fstatfs_args), 0,
(sy_call_t *)linux32_sys_fstatfs }, /* 100 = fstatfs */
{ 0, 0, 0,
linux_sys_nosys }, /* 101 = unimplemented ioperm */
{ ns(struct linux32_sys_socketcall_args), 0,