Regen for getdirentries fix.

This commit is contained in:
njoly 2008-12-02 13:45:40 +00:00
parent 488fb8373c
commit 96d7b57e0f
4 changed files with 21 additions and 15 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: osf1_syscall.h,v 1.57 2008/11/24 00:26:34 njoly Exp $ */
/* $NetBSD: osf1_syscall.h,v 1.58 2008/12/02 13:45:40 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.46 2008/11/24 00:25:30 njoly Exp
* created from NetBSD: syscalls.master,v 1.47 2008/12/02 13:45:02 njoly Exp
*/
#ifndef _OSF1_SYS_SYSCALL_H_
@ -354,7 +354,7 @@
/* syscall: "sigaction" ret: "int" args: "int" "struct osf1_sigaction *" "struct osf1_sigaction *" */
#define OSF1_SYS_sigaction 156
/* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
/* syscall: "getdirentries" ret: "int" args: "int" "char *" "int" "long *" */
#define OSF1_SYS_getdirentries 159
/* syscall: "statfs" ret: "int" args: "const char *" "struct osf1_statfs *" "int" */

View File

@ -1,10 +1,10 @@
/* $NetBSD: osf1_syscallargs.h,v 1.58 2008/11/24 00:26:34 njoly Exp $ */
/* $NetBSD: osf1_syscallargs.h,v 1.59 2008/12/02 13:45:40 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.46 2008/11/24 00:25:30 njoly Exp
* created from NetBSD: syscalls.master,v 1.47 2008/12/02 13:45:02 njoly Exp
*/
#ifndef _OSF1_SYS_SYSCALLARGS_H_
@ -427,7 +427,13 @@ struct osf1_sys_sigaction_args {
};
check_syscall_args(osf1_sys_sigaction)
struct compat_43_sys_getdirentries_args;
struct osf1_sys_getdirentries_args {
syscallarg(int) fd;
syscallarg(char *) buf;
syscallarg(int) nbytes;
syscallarg(long *) basep;
};
check_syscall_args(osf1_sys_getdirentries)
struct osf1_sys_statfs_args {
syscallarg(const char *) path;
@ -779,7 +785,7 @@ int compat_43_sys_getsockname(struct lwp *, const struct compat_43_sys_getsockna
int osf1_sys_sigaction(struct lwp *, const struct osf1_sys_sigaction_args *, register_t *);
int compat_43_sys_getdirentries(struct lwp *, const struct compat_43_sys_getdirentries_args *, register_t *);
int osf1_sys_getdirentries(struct lwp *, const struct osf1_sys_getdirentries_args *, register_t *);
int osf1_sys_statfs(struct lwp *, const struct osf1_sys_statfs_args *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: osf1_syscalls.c,v 1.56 2008/11/24 00:26:34 njoly Exp $ */
/* $NetBSD: osf1_syscalls.c,v 1.57 2008/12/02 13:45:40 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.46 2008/11/24 00:25:30 njoly Exp
* created from NetBSD: syscalls.master,v 1.47 2008/12/02 13:45:02 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: osf1_syscalls.c,v 1.56 2008/11/24 00:26:34 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: osf1_syscalls.c,v 1.57 2008/12/02 13:45:40 njoly Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)

View File

@ -1,14 +1,14 @@
/* $NetBSD: osf1_sysent.c,v 1.58 2008/11/24 00:26:34 njoly Exp $ */
/* $NetBSD: osf1_sysent.c,v 1.59 2008/12/02 13:45:40 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.46 2008/11/24 00:25:30 njoly Exp
* created from NetBSD: syscalls.master,v 1.47 2008/12/02 13:45:02 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: osf1_sysent.c,v 1.58 2008/11/24 00:26:34 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: osf1_sysent.c,v 1.59 2008/12/02 13:45:40 njoly Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_43.h"
@ -345,8 +345,8 @@ struct sysent osf1_sysent[] = {
sys_nosys }, /* 157 = unimplemented sigwaitprim */
{ 0, 0, 0,
sys_nosys }, /* 158 = unimplemented nfssvc */
{ ns(struct compat_43_sys_getdirentries_args), 0,
(sy_call_t *)compat_43_sys_getdirentries },/* 159 = getdirentries */
{ ns(struct osf1_sys_getdirentries_args), 0,
(sy_call_t *)osf1_sys_getdirentries },/* 159 = getdirentries */
{ ns(struct osf1_sys_statfs_args), 0,
(sy_call_t *)osf1_sys_statfs }, /* 160 = statfs */
{ ns(struct osf1_sys_fstatfs_args), 0,