regen - 64 fs syscalls

This commit is contained in:
jdolecek 2002-05-12 15:04:59 +00:00
parent 0197718567
commit b6168e0ca7
4 changed files with 59 additions and 22 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.15 2002/04/10 18:19:10 christos Exp $ */
/* $NetBSD: linux_syscall.h,v 1.16 2002/05/12 15:04:59 jdolecek Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.11 2002/04/10 18:18:28 christos Exp
* created from NetBSD: syscalls.master,v 1.12 2002/05/12 15:04:27 jdolecek Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -474,7 +474,19 @@
/* syscall: "ugetrlimit" ret: "int" args: "int" "struct rlimit *" */
#define LINUX_SYS_ugetrlimit 190
/* syscall: "stat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
#define LINUX_SYS_stat64 195
/* syscall: "lstat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
#define LINUX_SYS_lstat64 196
/* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */
#define LINUX_SYS_fstat64 197
/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
#define LINUX_SYS_getdents64 202
/* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */
#define LINUX_SYS_fcntl64 204
#define LINUX_SYS_MAXSYSCALL 207

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.15 2002/04/10 18:19:10 christos Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.16 2002/05/12 15:04:59 jdolecek Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.11 2002/04/10 18:18:28 christos Exp
* created from NetBSD: syscalls.master,v 1.12 2002/05/12 15:04:27 jdolecek Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -514,12 +514,33 @@ struct linux_sys_ugetrlimit_args {
syscallarg(struct rlimit *) rlp;
};
struct linux_sys_stat64_args {
syscallarg(const char *) path;
syscallarg(struct linux_stat64 *) sp;
};
struct linux_sys_lstat64_args {
syscallarg(const char *) path;
syscallarg(struct linux_stat64 *) sp;
};
struct linux_sys_fstat64_args {
syscallarg(int) fd;
syscallarg(struct linux_stat64 *) sp;
};
struct linux_sys_getdents64_args {
syscallarg(int) fd;
syscallarg(struct linux_dirent64 *) dent;
syscallarg(unsigned int) count;
};
struct linux_sys_fcntl64_args {
syscallarg(int) fd;
syscallarg(int) cmd;
syscallarg(void *) arg;
};
/*
* System call prototypes.
*/
@ -676,5 +697,9 @@ int sys___getcwd(struct proc *, void *, register_t *);
int linux_sys_sigaltstack(struct proc *, void *, register_t *);
int sys___vfork14(struct proc *, void *, register_t *);
int linux_sys_ugetrlimit(struct proc *, void *, register_t *);
int linux_sys_stat64(struct proc *, void *, register_t *);
int linux_sys_lstat64(struct proc *, void *, register_t *);
int linux_sys_fstat64(struct proc *, void *, register_t *);
int linux_sys_getdents64(struct proc *, void *, register_t *);
int linux_sys_fcntl64(struct proc *, void *, register_t *);
#endif /* _LINUX_SYS__SYSCALLARGS_H_ */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.15 2002/04/10 18:19:10 christos Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.16 2002/05/12 15:04:59 jdolecek Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.11 2002/04/10 18:18:28 christos Exp
* created from NetBSD: syscalls.master,v 1.12 2002/05/12 15:04:27 jdolecek Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.15 2002/04/10 18:19:10 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.16 2002/05/12 15:04:59 jdolecek Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -225,16 +225,16 @@ const char *const linux_syscallnames[] = {
"#192 (unimplemented mmap2)", /* 192 = unimplemented mmap2 */
"#193 (unimplemented truncate64)", /* 193 = unimplemented truncate64 */
"#194 (unimplemented ftruncate64)", /* 194 = unimplemented ftruncate64 */
"#195 (unimplemented stat64)", /* 195 = unimplemented stat64 */
"#196 (unimplemented lstat64)", /* 196 = unimplemented lstat64 */
"#197 (unimplemented fstat64)", /* 197 = unimplemented fstat64 */
"stat64", /* 195 = stat64 */
"lstat64", /* 196 = lstat64 */
"fstat64", /* 197 = fstat64 */
"#198 (unimplemented sys_pciconfig_read)", /* 198 = unimplemented sys_pciconfig_read */
"#199 (unimplemented sys_pciconfig_write)", /* 199 = unimplemented sys_pciconfig_write */
"#200 (unimplemented sys_pciconfig_iobase)", /* 200 = unimplemented sys_pciconfig_iobase */
"#201 (unimplemented / * Unused ( MacOnLinux project ) * /)", /* 201 = unimplemented / * Unused ( MacOnLinux project ) * / */
"getdents64", /* 202 = getdents64 */
"#203 (unimplemented pivot_root)", /* 203 = unimplemented pivot_root */
"#204 (unimplemented fcntl64)", /* 204 = unimplemented fcntl64 */
"fcntl64", /* 204 = fcntl64 */
"#205 (unimplemented madvise)", /* 205 = unimplemented madvise */
"#206 (unimplemented mincore)", /* 206 = unimplemented mincore */
};

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.15 2002/04/10 18:19:10 christos Exp $ */
/* $NetBSD: linux_sysent.c,v 1.16 2002/05/12 15:05:00 jdolecek Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.11 2002/04/10 18:18:28 christos Exp
* created from NetBSD: syscalls.master,v 1.12 2002/05/12 15:04:27 jdolecek Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.15 2002/04/10 18:19:10 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.16 2002/05/12 15:05:00 jdolecek Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@ -420,12 +420,12 @@ struct sysent linux_sysent[] = {
linux_sys_nosys }, /* 193 = unimplemented truncate64 */
{ 0, 0, 0,
linux_sys_nosys }, /* 194 = unimplemented ftruncate64 */
{ 0, 0, 0,
linux_sys_nosys }, /* 195 = unimplemented stat64 */
{ 0, 0, 0,
linux_sys_nosys }, /* 196 = unimplemented lstat64 */
{ 0, 0, 0,
linux_sys_nosys }, /* 197 = unimplemented fstat64 */
{ 2, s(struct linux_sys_stat64_args), 0,
linux_sys_stat64 }, /* 195 = stat64 */
{ 2, s(struct linux_sys_lstat64_args), 0,
linux_sys_lstat64 }, /* 196 = lstat64 */
{ 2, s(struct linux_sys_fstat64_args), 0,
linux_sys_fstat64 }, /* 197 = fstat64 */
{ 0, 0, 0,
linux_sys_nosys }, /* 198 = unimplemented sys_pciconfig_read */
{ 0, 0, 0,
@ -438,8 +438,8 @@ struct sysent linux_sysent[] = {
linux_sys_getdents64 }, /* 202 = getdents64 */
{ 0, 0, 0,
linux_sys_nosys }, /* 203 = unimplemented pivot_root */
{ 0, 0, 0,
linux_sys_nosys }, /* 204 = unimplemented fcntl64 */
{ 3, s(struct linux_sys_fcntl64_args), 0,
linux_sys_fcntl64 }, /* 204 = fcntl64 */
{ 0, 0, 0,
linux_sys_nosys }, /* 205 = unimplemented madvise */
{ 0, 0, 0,