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 regen
details: https://anonhg.NetBSD.org/src/rev/796a1a6b4f7a
branches: trunk
changeset: 500486:796a1a6b4f7a
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Tue Dec 12 19:03:10 2000 +0000
description:
regen
diffstat:
sys/compat/linux/arch/i386/linux_syscall.h | 19 +++++++++++++++++--
sys/compat/linux/arch/i386/linux_syscallargs.h | 24 ++++++++++++++++++++++--
sys/compat/linux/arch/i386/linux_syscalls.c | 14 +++++++-------
sys/compat/linux/arch/i386/linux_sysent.c | 24 ++++++++++++------------
sys/compat/linux/arch/m68k/linux_syscall.h | 19 +++++++++++++++++--
sys/compat/linux/arch/m68k/linux_syscallargs.h | 24 ++++++++++++++++++++++--
sys/compat/linux/arch/m68k/linux_syscalls.c | 14 +++++++-------
sys/compat/linux/arch/m68k/linux_sysent.c | 24 ++++++++++++------------
8 files changed, 116 insertions(+), 46 deletions(-)
diffs (truncated from 321 to 300 lines):
diff -r 29c8223e0c22 -r 796a1a6b4f7a sys/compat/linux/arch/i386/linux_syscall.h
--- a/sys/compat/linux/arch/i386/linux_syscall.h Tue Dec 12 19:01:59 2000 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscall.h Tue Dec 12 19:03:10 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.26 2000/12/11 03:09:10 mycroft Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.27 2000/12/12 19:03:10 jdolecek Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.47 2000/12/09 12:23:36 jdolecek Exp
+ * created from NetBSD: syscalls.master,v 1.48 2000/12/12 19:01:59 jdolecek Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -476,5 +476,20 @@
/* syscall: "__vfork14" ret: "int" args: */
#define LINUX_SYS___vfork14 190
+/* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
+#define LINUX_SYS_truncate64 193
+
+/* syscall: "ftruncate64" ret: "int" args: "const char *" "off_t" */
+#define LINUX_SYS_ftruncate64 194
+
+/* 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
+
#define LINUX_SYS_MAXSYSCALL 218
#define LINUX_SYS_NSYSENT 256
diff -r 29c8223e0c22 -r 796a1a6b4f7a sys/compat/linux/arch/i386/linux_syscallargs.h
--- a/sys/compat/linux/arch/i386/linux_syscallargs.h Tue Dec 12 19:01:59 2000 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscallargs.h Tue Dec 12 19:03:10 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.26 2000/12/11 03:09:10 mycroft Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.27 2000/12/12 19:03:10 jdolecek Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.47 2000/12/09 12:23:36 jdolecek Exp
+ * created from NetBSD: syscalls.master,v 1.48 2000/12/12 19:01:59 jdolecek Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -503,6 +503,21 @@
syscallarg(struct linux_sigaltstack *) oss;
};
+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;
+};
+
/*
* System call prototypes.
*/
@@ -660,4 +675,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 sys_truncate(struct proc *, void *, register_t *);
+int sys_ftruncate(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 *);
#endif /* _LINUX_SYS__SYSCALLARGS_H_ */
diff -r 29c8223e0c22 -r 796a1a6b4f7a sys/compat/linux/arch/i386/linux_syscalls.c
--- a/sys/compat/linux/arch/i386/linux_syscalls.c Tue Dec 12 19:01:59 2000 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscalls.c Tue Dec 12 19:03:10 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscalls.c,v 1.27 2000/12/11 03:09:10 mycroft Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.28 2000/12/12 19:03:10 jdolecek Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.47 2000/12/09 12:23:36 jdolecek Exp
+ * created from NetBSD: syscalls.master,v 1.48 2000/12/12 19:01:59 jdolecek Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@@ -218,11 +218,11 @@
"__vfork14", /* 190 = __vfork14 */
"#191 (unimplemented getrlimit)", /* 191 = unimplemented getrlimit */
"#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 */
+ "truncate64", /* 193 = truncate64 */
+ "ftruncate64", /* 194 = ftruncate64 */
+ "stat64", /* 195 = stat64 */
+ "lstat64", /* 196 = lstat64 */
+ "fstat64", /* 197 = fstat64 */
"#198 (unimplemented lchown)", /* 198 = unimplemented lchown */
"#199 (unimplemented getuid)", /* 199 = unimplemented getuid */
"#200 (unimplemented getgid)", /* 200 = unimplemented getgid */
diff -r 29c8223e0c22 -r 796a1a6b4f7a sys/compat/linux/arch/i386/linux_sysent.c
--- a/sys/compat/linux/arch/i386/linux_sysent.c Tue Dec 12 19:01:59 2000 +0000
+++ b/sys/compat/linux/arch/i386/linux_sysent.c Tue Dec 12 19:03:10 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_sysent.c,v 1.26 2000/12/11 03:09:11 mycroft Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.27 2000/12/12 19:03:10 jdolecek Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.47 2000/12/09 12:23:36 jdolecek Exp
+ * created from NetBSD: syscalls.master,v 1.48 2000/12/12 19:01:59 jdolecek Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@@ -411,16 +411,16 @@
sys_nosys }, /* 191 = unimplemented getrlimit */
{ 0, 0,
sys_nosys }, /* 192 = unimplemented mmap2 */
- { 0, 0,
- sys_nosys }, /* 193 = unimplemented truncate64 */
- { 0, 0,
- sys_nosys }, /* 194 = unimplemented ftruncate64 */
- { 0, 0,
- sys_nosys }, /* 195 = unimplemented stat64 */
- { 0, 0,
- sys_nosys }, /* 196 = unimplemented lstat64 */
- { 0, 0,
- sys_nosys }, /* 197 = unimplemented fstat64 */
+ { 2, s(struct sys_truncate_args),
+ sys_truncate }, /* 193 = truncate64 */
+ { 2, s(struct sys_ftruncate_args),
+ sys_ftruncate }, /* 194 = ftruncate64 */
+ { 2, s(struct linux_sys_stat64_args),
+ linux_sys_stat64 }, /* 195 = stat64 */
+ { 2, s(struct linux_sys_lstat64_args),
+ linux_sys_lstat64 }, /* 196 = lstat64 */
+ { 2, s(struct linux_sys_fstat64_args),
+ linux_sys_fstat64 }, /* 197 = fstat64 */
{ 0, 0,
sys_nosys }, /* 198 = unimplemented lchown */
{ 0, 0,
diff -r 29c8223e0c22 -r 796a1a6b4f7a sys/compat/linux/arch/m68k/linux_syscall.h
--- a/sys/compat/linux/arch/m68k/linux_syscall.h Tue Dec 12 19:01:59 2000 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscall.h Tue Dec 12 19:03:10 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.22 2000/12/09 12:27:00 jdolecek Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.23 2000/12/12 19:03:46 jdolecek Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.21 2000/12/09 12:23:36 jdolecek Exp
+ * created from NetBSD: syscalls.master,v 1.22 2000/12/12 19:02:00 jdolecek Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -462,4 +462,19 @@
/* syscall: "__vfork14" ret: "int" args: */
#define LINUX_SYS___vfork14 190
+/* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
+#define LINUX_SYS_truncate64 193
+
+/* syscall: "ftruncate64" ret: "int" args: "const char *" "off_t" */
+#define LINUX_SYS_ftruncate64 194
+
+/* 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
+
#define LINUX_SYS_MAXSYSCALL 218
diff -r 29c8223e0c22 -r 796a1a6b4f7a sys/compat/linux/arch/m68k/linux_syscallargs.h
--- a/sys/compat/linux/arch/m68k/linux_syscallargs.h Tue Dec 12 19:01:59 2000 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscallargs.h Tue Dec 12 19:03:10 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.22 2000/12/09 12:27:00 jdolecek Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.23 2000/12/12 19:03:46 jdolecek Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.21 2000/12/09 12:23:36 jdolecek Exp
+ * created from NetBSD: syscalls.master,v 1.22 2000/12/12 19:02:00 jdolecek Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -474,6 +474,21 @@
syscallarg(struct linux_sigaltstack *) oss;
};
+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;
+};
+
/*
* System call prototypes.
*/
@@ -638,4 +653,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 sys_truncate(struct proc *, void *, register_t *);
+int sys_ftruncate(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 *);
#endif /* _LINUX_SYS__SYSCALLARGS_H_ */
diff -r 29c8223e0c22 -r 796a1a6b4f7a sys/compat/linux/arch/m68k/linux_syscalls.c
--- a/sys/compat/linux/arch/m68k/linux_syscalls.c Tue Dec 12 19:01:59 2000 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscalls.c Tue Dec 12 19:03:10 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscalls.c,v 1.23 2000/12/09 12:27:00 jdolecek Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.24 2000/12/12 19:03:46 jdolecek Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.21 2000/12/09 12:23:36 jdolecek Exp
+ * created from NetBSD: syscalls.master,v 1.22 2000/12/12 19:02:00 jdolecek Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@@ -237,11 +237,11 @@
"__vfork14", /* 190 = __vfork14 */
"#191 (unimplemented getrlimit)", /* 191 = unimplemented getrlimit */
"#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 */
+ "truncate64", /* 193 = truncate64 */
+ "ftruncate64", /* 194 = ftruncate64 */
+ "stat64", /* 195 = stat64 */
+ "lstat64", /* 196 = lstat64 */
+ "fstat64", /* 197 = fstat64 */
"#198 (unimplemented lchown)", /* 198 = unimplemented lchown */
"#199 (unimplemented getuid)", /* 199 = unimplemented getuid */
"#200 (unimplemented getgid)", /* 200 = unimplemented getgid */
diff -r 29c8223e0c22 -r 796a1a6b4f7a sys/compat/linux/arch/m68k/linux_sysent.c
--- a/sys/compat/linux/arch/m68k/linux_sysent.c Tue Dec 12 19:01:59 2000 +0000
+++ b/sys/compat/linux/arch/m68k/linux_sysent.c Tue Dec 12 19:03:10 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_sysent.c,v 1.22 2000/12/09 12:27:01 jdolecek Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.23 2000/12/12 19:03:46 jdolecek Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.21 2000/12/09 12:23:36 jdolecek Exp
+ * created from NetBSD: syscalls.master,v 1.22 2000/12/12 19:02:00 jdolecek Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@@ -436,16 +436,16 @@
sys_nosys }, /* 191 = unimplemented getrlimit */
{ 0, 0,
sys_nosys }, /* 192 = unimplemented mmap2 */
- { 0, 0,
- sys_nosys }, /* 193 = unimplemented truncate64 */
Home |
Main Index |
Thread Index |
Old Index