Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/arch/powerpc regen - 64 fs syscalls
details: https://anonhg.NetBSD.org/src/rev/cd444f2e3c45
branches: trunk
changeset: 526832:cd444f2e3c45
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sun May 12 15:04:59 2002 +0000
description:
regen - 64 fs syscalls
diffstat:
sys/compat/linux/arch/powerpc/linux_syscall.h | 16 +++++++++++-
sys/compat/linux/arch/powerpc/linux_syscallargs.h | 29 +++++++++++++++++++++-
sys/compat/linux/arch/powerpc/linux_syscalls.c | 14 +++++-----
sys/compat/linux/arch/powerpc/linux_sysent.c | 22 ++++++++--------
4 files changed, 59 insertions(+), 22 deletions(-)
diffs (189 lines):
diff -r eb33d3a8f10c -r cd444f2e3c45 sys/compat/linux/arch/powerpc/linux_syscall.h
--- a/sys/compat/linux/arch/powerpc/linux_syscall.h Sun May 12 15:04:27 2002 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_syscall.h Sun May 12 15:04:59 2002 +0000
@@ -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
diff -r eb33d3a8f10c -r cd444f2e3c45 sys/compat/linux/arch/powerpc/linux_syscallargs.h
--- a/sys/compat/linux/arch/powerpc/linux_syscallargs.h Sun May 12 15:04:27 2002 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_syscallargs.h Sun May 12 15:04:59 2002 +0000
@@ -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 @@
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 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_ */
diff -r eb33d3a8f10c -r cd444f2e3c45 sys/compat/linux/arch/powerpc/linux_syscalls.c
--- a/sys/compat/linux/arch/powerpc/linux_syscalls.c Sun May 12 15:04:27 2002 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_syscalls.c Sun May 12 15:04:59 2002 +0000
@@ -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 @@
"#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 */
};
diff -r eb33d3a8f10c -r cd444f2e3c45 sys/compat/linux/arch/powerpc/linux_sysent.c
--- a/sys/compat/linux/arch/powerpc/linux_sysent.c Sun May 12 15:04:27 2002 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_sysent.c Sun May 12 15:04:59 2002 +0000
@@ -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 @@
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 @@
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,
Home |
Main Index |
Thread Index |
Old Index