Regen (fhstat versioning, posix_fadvise).
This commit is contained in:
parent
8a02261127
commit
8332bbc306
|
@ -1,10 +1,10 @@
|
|||
/* $NetBSD: netbsd32_syscall.h,v 1.50 2006/03/29 23:04:48 cube Exp $ */
|
||||
/* $NetBSD: netbsd32_syscall.h,v 1.51 2006/05/05 13:29:50 cube Exp $ */
|
||||
|
||||
/*
|
||||
* System call numbers.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.44 2006/03/29 23:04:12 cube Exp
|
||||
* created from NetBSD: syscalls.master,v 1.45 2006/05/05 13:28:52 cube Exp
|
||||
*/
|
||||
|
||||
#ifndef _netbsd32_SYS_SYSCALL_H_
|
||||
|
@ -854,8 +854,8 @@
|
|||
/* syscall: "netbsd32_fhopen" ret: "int" args: "const netbsd32_fhandlep_t" "int" */
|
||||
#define netbsd32_SYS_netbsd32_fhopen 298
|
||||
|
||||
/* syscall: "netbsd32_fhstat" ret: "int" args: "const netbsd32_fhandlep_t" "netbsd32_statp_t" */
|
||||
#define netbsd32_SYS_netbsd32_fhstat 299
|
||||
/* syscall: "compat_30_netbsd32_fhstat" ret: "int" args: "const netbsd32_fhandlep_t" "netbsd32_stat13p_t" */
|
||||
#define netbsd32_SYS_compat_30_netbsd32_fhstat 299
|
||||
|
||||
/* syscall: "compat_20_netbsd32_fhstatfs" ret: "int" args: "netbsd32_fhandlep_t" "netbsd32_statp_t" */
|
||||
#define netbsd32_SYS_compat_20_netbsd32_fhstatfs 300
|
||||
|
@ -1065,6 +1065,12 @@
|
|||
/* syscall: "__getdents30" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */
|
||||
#define netbsd32_SYS___getdents30 390
|
||||
|
||||
#define netbsd32_SYS_MAXSYSCALL 391
|
||||
/* syscall: "posix_fadvise" ret: "int" args: "int" "off_t" "off_t" "int" */
|
||||
#define netbsd32_SYS_posix_fadvise 391
|
||||
|
||||
/* syscall: "__fhstat30" ret: "int" args: "const netbsd32_fhandlep_t" "netbsd32_statp_t" */
|
||||
#define netbsd32_SYS___fhstat30 392
|
||||
|
||||
#define netbsd32_SYS_MAXSYSCALL 393
|
||||
#define netbsd32_SYS_NSYSENT 512
|
||||
#endif /* _netbsd32_SYS_SYSCALL_H_ */
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/* $NetBSD: netbsd32_syscallargs.h,v 1.50 2006/03/29 23:04:48 cube Exp $ */
|
||||
/* $NetBSD: netbsd32_syscallargs.h,v 1.51 2006/05/05 13:29:50 cube Exp $ */
|
||||
|
||||
/*
|
||||
* System call argument lists.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.44 2006/03/29 23:04:12 cube Exp
|
||||
* created from NetBSD: syscalls.master,v 1.45 2006/05/05 13:28:52 cube Exp
|
||||
*/
|
||||
|
||||
#ifndef _netbsd32_SYS_SYSCALLARGS_H_
|
||||
|
@ -1302,9 +1302,9 @@ struct netbsd32_fhopen_args {
|
|||
syscallarg(int) flags;
|
||||
};
|
||||
|
||||
struct netbsd32_fhstat_args {
|
||||
struct compat_30_netbsd32_fhstat_args {
|
||||
syscallarg(const netbsd32_fhandlep_t) fhp;
|
||||
syscallarg(netbsd32_statp_t) sb;
|
||||
syscallarg(netbsd32_stat13p_t) sb;
|
||||
};
|
||||
|
||||
struct compat_20_netbsd32_fhstatfs_args {
|
||||
|
@ -1677,6 +1677,11 @@ struct netbsd32_sys___getdents30_args {
|
|||
syscallarg(netbsd32_size_t) count;
|
||||
};
|
||||
|
||||
struct netbsd32_sys___fhstat30_args {
|
||||
syscallarg(const netbsd32_fhandlep_t) fhp;
|
||||
syscallarg(netbsd32_statp_t) sb;
|
||||
};
|
||||
|
||||
/*
|
||||
* System call prototypes.
|
||||
*/
|
||||
|
@ -2221,7 +2226,7 @@ int netbsd32_fchroot(struct lwp *, void *, register_t *);
|
|||
|
||||
int netbsd32_fhopen(struct lwp *, void *, register_t *);
|
||||
|
||||
int netbsd32_fhstat(struct lwp *, void *, register_t *);
|
||||
int compat_30_netbsd32_fhstat(struct lwp *, void *, register_t *);
|
||||
|
||||
int compat_20_netbsd32_fhstatfs(struct lwp *, void *, register_t *);
|
||||
|
||||
|
@ -2362,4 +2367,8 @@ int netbsd32_sys___lstat30(struct lwp *, void *, register_t *);
|
|||
|
||||
int netbsd32_sys___getdents30(struct lwp *, void *, register_t *);
|
||||
|
||||
int sys_posix_fadvise(struct lwp *, void *, register_t *);
|
||||
|
||||
int netbsd32_sys___fhstat30(struct lwp *, void *, register_t *);
|
||||
|
||||
#endif /* _netbsd32_SYS_SYSCALLARGS_H_ */
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/* $NetBSD: netbsd32_syscalls.c,v 1.50 2006/03/29 23:04:48 cube Exp $ */
|
||||
/* $NetBSD: netbsd32_syscalls.c,v 1.51 2006/05/05 13:29:50 cube Exp $ */
|
||||
|
||||
/*
|
||||
* System call names.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.44 2006/03/29 23:04:12 cube Exp
|
||||
* created from NetBSD: syscalls.master,v 1.45 2006/05/05 13:28:52 cube Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.50 2006/03/29 23:04:48 cube Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.51 2006/05/05 13:29:50 cube Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#if defined(_KERNEL_OPT)
|
||||
|
@ -427,7 +427,7 @@ const char *const netbsd32_syscallnames[] = {
|
|||
"netbsd32___getcwd", /* 296 = netbsd32___getcwd */
|
||||
"netbsd32_fchroot", /* 297 = netbsd32_fchroot */
|
||||
"netbsd32_fhopen", /* 298 = netbsd32_fhopen */
|
||||
"netbsd32_fhstat", /* 299 = netbsd32_fhstat */
|
||||
"compat_30_netbsd32_fhstat", /* 299 = compat_30 netbsd32_fhstat */
|
||||
"compat_20_netbsd32_fhstatfs", /* 300 = compat_20 netbsd32_fhstatfs */
|
||||
#if defined(SYSVSEM) || !defined(_KERNEL)
|
||||
"netbsd32___semctl14", /* 301 = netbsd32___semctl14 */
|
||||
|
@ -531,4 +531,6 @@ const char *const netbsd32_syscallnames[] = {
|
|||
"__fstat30", /* 388 = __fstat30 */
|
||||
"__lstat30", /* 389 = __lstat30 */
|
||||
"__getdents30", /* 390 = __getdents30 */
|
||||
"posix_fadvise", /* 391 = posix_fadvise */
|
||||
"__fhstat30", /* 392 = __fhstat30 */
|
||||
};
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/* $NetBSD: netbsd32_sysent.c,v 1.50 2006/03/29 23:04:48 cube Exp $ */
|
||||
/* $NetBSD: netbsd32_sysent.c,v 1.51 2006/05/05 13:29:50 cube Exp $ */
|
||||
|
||||
/*
|
||||
* System call switch table.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.44 2006/03/29 23:04:12 cube Exp
|
||||
* created from NetBSD: syscalls.master,v 1.45 2006/05/05 13:28:52 cube Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.50 2006/03/29 23:04:48 cube Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.51 2006/05/05 13:29:50 cube Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_ktrace.h"
|
||||
|
@ -90,6 +90,12 @@ __KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.50 2006/03/29 23:04:48 cube Ex
|
|||
#define compat_20(func) sys_nosys
|
||||
#endif
|
||||
|
||||
#ifdef COMPAT_30
|
||||
#define compat_30(func) __CONCAT(compat_30_,func)
|
||||
#else
|
||||
#define compat_30(func) sys_nosys
|
||||
#endif
|
||||
|
||||
#define s(type) sizeof(type)
|
||||
|
||||
struct sysent netbsd32_sysent[] = {
|
||||
|
@ -833,8 +839,8 @@ struct sysent netbsd32_sysent[] = {
|
|||
netbsd32_fchroot }, /* 297 = netbsd32_fchroot */
|
||||
{ 2, s(struct netbsd32_fhopen_args), 0,
|
||||
netbsd32_fhopen }, /* 298 = netbsd32_fhopen */
|
||||
{ 2, s(struct netbsd32_fhstat_args), 0,
|
||||
netbsd32_fhstat }, /* 299 = netbsd32_fhstat */
|
||||
{ 2, s(struct compat_30_netbsd32_fhstat_args), 0,
|
||||
compat_30(netbsd32_fhstat) }, /* 299 = compat_30 netbsd32_fhstat */
|
||||
{ 2, s(struct compat_20_netbsd32_fhstatfs_args), 0,
|
||||
compat_20(netbsd32_fhstatfs) }, /* 300 = compat_20 netbsd32_fhstatfs */
|
||||
#if defined(SYSVSEM) || !defined(_KERNEL)
|
||||
|
@ -1032,10 +1038,10 @@ struct sysent netbsd32_sysent[] = {
|
|||
netbsd32_sys___lstat30 }, /* 389 = __lstat30 */
|
||||
{ 3, s(struct netbsd32_sys___getdents30_args), 0,
|
||||
netbsd32_sys___getdents30 }, /* 390 = __getdents30 */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 391 = filler */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 392 = filler */
|
||||
{ 4, s(struct sys_posix_fadvise_args), 0,
|
||||
sys_posix_fadvise }, /* 391 = posix_fadvise */
|
||||
{ 2, s(struct netbsd32_sys___fhstat30_args), 0,
|
||||
netbsd32_sys___fhstat30 }, /* 392 = __fhstat30 */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 393 = filler */
|
||||
{ 0, 0, 0,
|
||||
|
|
Loading…
Reference in New Issue