Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/aoutm68k Regen for statvfs changes.



details:   https://anonhg.NetBSD.org/src/rev/dc781bb28aab
branches:  trunk
changeset: 565869:dc781bb28aab
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Apr 22 05:44:30 2004 +0000

description:
Regen for statvfs changes.

diffstat:

 sys/compat/aoutm68k/aoutm68k_syscall.h     |   34 ++-
 sys/compat/aoutm68k/aoutm68k_syscallargs.h |  313 +++++++++++++++++++++++++++-
 sys/compat/aoutm68k/aoutm68k_syscalls.c    |   22 +-
 sys/compat/aoutm68k/aoutm68k_sysent.c      |   42 ++-
 4 files changed, 372 insertions(+), 39 deletions(-)

diffs (truncated from 1037 to 300 lines):

diff -r f6a563e9a2a0 -r dc781bb28aab sys/compat/aoutm68k/aoutm68k_syscall.h
--- a/sys/compat/aoutm68k/aoutm68k_syscall.h    Thu Apr 22 03:56:31 2004 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_syscall.h    Thu Apr 22 05:44:30 2004 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: aoutm68k_syscall.h,v 1.14 2003/09/23 18:32:12 cl Exp $ */
+/* $NetBSD: aoutm68k_syscall.h,v 1.15 2004/04/22 05:44:30 matt Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.10 2003/09/23 18:31:03 cl Exp 
+ * created from        NetBSD: syscalls.master,v 1.11 2004/04/21 01:05:36 christos Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -93,9 +93,13 @@
 /* syscall: "break" ret: "int" args: "char *" */
 #define        AOUTM68K_SYS_break      17
 
-/* syscall: "getfsstat" ret: "int" args: "struct statfs *" "long" "int" */
+#ifdef COMPAT_20
+/* syscall: "getfsstat" ret: "int" args: "struct statfs12 *" "long" "int" */
 #define        AOUTM68K_SYS_getfsstat  18
 
+#else
+                               /* 18 is excluded compat_20_sys_getfsstat */
+#endif
 #ifdef COMPAT_43
 /* syscall: "olseek" ret: "long" args: "int" "long" "int" */
 #define        AOUTM68K_SYS_olseek     19
@@ -653,17 +657,25 @@
                                /* 156 is excluded compat_43_sys_getdirentries */
 #endif
 #ifdef COMPAT_AOUT_ALTPATH
-/* syscall: "statfs" ret: "int" args: "const char *" "struct statfs *" */
+/* syscall: "statfs" ret: "int" args: "const char *" "struct statfs12 *" */
+#define        AOUTM68K_SYS_statfs     157
+
+#else
+#ifdef COMPAT_20
+/* syscall: "statfs" ret: "int" args: "const char *" "struct statfs12 *" */
 #define        AOUTM68K_SYS_statfs     157
 
 #else
-/* syscall: "statfs" ret: "int" args: "const char *" "struct statfs *" */
-#define        AOUTM68K_SYS_statfs     157
-
+                               /* 157 is excluded compat_20_sys_statfs */
+#endif
 #endif
-/* syscall: "fstatfs" ret: "int" args: "int" "struct statfs *" */
+#ifdef COMPAT_20
+/* syscall: "fstatfs" ret: "int" args: "int" "struct statfs12 *" */
 #define        AOUTM68K_SYS_fstatfs    158
 
+#else
+                               /* 158 is excluded compat_20_sys_statfs */
+#endif
 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
 #ifdef COMPAT_AOUT_ALTPATH
 /* syscall: "getfh" ret: "int" args: "const char *" "fhandle_t *" */
@@ -1077,9 +1089,13 @@
 /* syscall: "fhstat" ret: "int" args: "const fhandle_t *" "struct aoutm68k_stat *" */
 #define        AOUTM68K_SYS_fhstat     299
 
-/* syscall: "fhstatfs" ret: "int" args: "const fhandle_t *" "struct statfs *" */
+#ifdef COMPAT_20
+/* syscall: "fhstatfs" ret: "int" args: "const fhandle_t *" "struct statfs12 *" */
 #define        AOUTM68K_SYS_fhstatfs   300
 
+#else
+                               /* 300 is excluded compat_20_sys_fhstatfs */
+#endif
 #if defined(SYSVSEM) || !defined(_KERNEL)
 /* syscall: "____semctl13" ret: "int" args: "int" "int" "int" "..." */
 #define        AOUTM68K_SYS_____semctl13       301
diff -r f6a563e9a2a0 -r dc781bb28aab sys/compat/aoutm68k/aoutm68k_syscallargs.h
--- a/sys/compat/aoutm68k/aoutm68k_syscallargs.h        Thu Apr 22 03:56:31 2004 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_syscallargs.h        Thu Apr 22 05:44:30 2004 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: aoutm68k_syscallargs.h,v 1.13 2003/09/23 18:32:12 cl Exp $ */
+/* $NetBSD: aoutm68k_syscallargs.h,v 1.14 2004/04/22 05:44:30 matt Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.10 2003/09/23 18:31:03 cl Exp 
+ * created from        NetBSD: syscalls.master,v 1.11 2004/04/21 01:05:36 christos Exp 
  */
 
 #ifndef _AOUTM68K_SYS__SYSCALLARGS_H_
@@ -71,6 +71,9 @@
 };
 #else
 #endif
+#ifdef COMPAT_20
+#else
+#endif
 #ifdef COMPAT_43
 #else
 #endif
@@ -249,9 +252,15 @@
 
 struct aoutm68k_sys_statfs_args {
        syscallarg(const char *) path;
-       syscallarg(struct statfs *) buf;
+       syscallarg(struct statfs12 *) buf;
 };
 #else
+#ifdef COMPAT_20
+#else
+#endif
+#endif
+#ifdef COMPAT_20
+#else
 #endif
 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
 #ifdef COMPAT_AOUT_ALTPATH
@@ -413,6 +422,9 @@
        syscallarg(const fhandle_t *) fhp;
        syscallarg(struct aoutm68k_stat *) sb;
 };
+#ifdef COMPAT_20
+#else
+#endif
 #if defined(SYSVSEM) || !defined(_KERNEL)
 #else
 #endif
@@ -428,482 +440,751 @@
  */
 
 int    sys_exit(struct lwp *, void *, register_t *);
+
 int    sys_fork(struct lwp *, void *, register_t *);
+
 int    sys_read(struct lwp *, void *, register_t *);
+
 int    sys_write(struct lwp *, void *, register_t *);
+
 #ifdef COMPAT_AOUT_ALTPATH
 int    aoutm68k_sys_open(struct lwp *, void *, register_t *);
+
 #else
 int    sys_open(struct lwp *, void *, register_t *);
+
 #endif
 int    sys_close(struct lwp *, void *, register_t *);
+
 int    sys_wait4(struct lwp *, void *, register_t *);
+
 #ifdef COMPAT_43
 int    compat_43_sys_creat(struct lwp *, void *, register_t *);
+
 #else
 #endif
 #ifdef COMPAT_AOUT_ALTPATH
 int    aoutm68k_sys_link(struct lwp *, void *, register_t *);
+
 int    aoutm68k_sys_unlink(struct lwp *, void *, register_t *);
+
 #else
 int    sys_link(struct lwp *, void *, register_t *);
+
 int    sys_unlink(struct lwp *, void *, register_t *);
+
 #endif
 #ifdef COMPAT_AOUT_ALTPATH
 int    aoutm68k_sys_chdir(struct lwp *, void *, register_t *);
+
 #else
 int    sys_chdir(struct lwp *, void *, register_t *);
+
 #endif
 int    sys_fchdir(struct lwp *, void *, register_t *);
+
 int    sys_mknod(struct lwp *, void *, register_t *);
+
 #ifdef COMPAT_AOUT_ALTPATH
 int    aoutm68k_sys_chmod(struct lwp *, void *, register_t *);
+
 int    aoutm68k_sys_chown(struct lwp *, void *, register_t *);
+
 #else
 int    sys_chmod(struct lwp *, void *, register_t *);
+
 int    sys_chown(struct lwp *, void *, register_t *);
+
 #endif
 int    sys_obreak(struct lwp *, void *, register_t *);
-int    sys_getfsstat(struct lwp *, void *, register_t *);
+
+#ifdef COMPAT_20
+int    compat_20_sys_getfsstat(struct lwp *, void *, register_t *);
+
+#else
+#endif
 #ifdef COMPAT_43
 int    compat_43_sys_lseek(struct lwp *, void *, register_t *);
+
 #else
 #endif
 int    sys_getpid(struct lwp *, void *, register_t *);
+
 int    sys_mount(struct lwp *, void *, register_t *);
+
 int    sys_unmount(struct lwp *, void *, register_t *);
+
 int    sys_setuid(struct lwp *, void *, register_t *);
+
 int    sys_getuid(struct lwp *, void *, register_t *);
+
 int    sys_geteuid(struct lwp *, void *, register_t *);
+
 int    sys_ptrace(struct lwp *, void *, register_t *);
+
 int    sys_recvmsg(struct lwp *, void *, register_t *);
+
 int    sys_sendmsg(struct lwp *, void *, register_t *);
+
 int    sys_recvfrom(struct lwp *, void *, register_t *);
+
 int    sys_accept(struct lwp *, void *, register_t *);
+
 int    sys_getpeername(struct lwp *, void *, register_t *);
+
 int    sys_getsockname(struct lwp *, void *, register_t *);
+
 #ifdef COMPAT_AOUT_ALTPATH
 int    aoutm68k_sys_access(struct lwp *, void *, register_t *);
+
 int    aoutm68k_sys_chflags(struct lwp *, void *, register_t *);
+
 #else
 int    sys_access(struct lwp *, void *, register_t *);
+
 int    sys_chflags(struct lwp *, void *, register_t *);
+
 #endif
 int    sys_fchflags(struct lwp *, void *, register_t *);
+
 int    sys_sync(struct lwp *, void *, register_t *);
+
 int    sys_kill(struct lwp *, void *, register_t *);
+
 #ifdef COMPAT_43
 int    aoutm68k_compat_43_sys_stat(struct lwp *, void *, register_t *);
+
 #else
 #endif
 int    sys_getppid(struct lwp *, void *, register_t *);
+
 #ifdef COMPAT_43
 int    aoutm68k_compat_43_sys_lstat(struct lwp *, void *, register_t *);
+
 #else
 #endif
 int    sys_dup(struct lwp *, void *, register_t *);
+
 int    sys_pipe(struct lwp *, void *, register_t *);
+
 int    sys_getegid(struct lwp *, void *, register_t *);
+
 int    sys_profil(struct lwp *, void *, register_t *);
+
 #if defined(KTRACE) || !defined(_KERNEL)
 int    sys_ktrace(struct lwp *, void *, register_t *);
+
 #else
 #endif
 #ifdef COMPAT_13
 int    compat_13_sys_sigaction(struct lwp *, void *, register_t *);
+
 #else
 #endif
 int    sys_getgid(struct lwp *, void *, register_t *);
+
 #ifdef COMPAT_13
 int    compat_13_sys_sigprocmask(struct lwp *, void *, register_t *);
+
 #else
 #endif
 int    sys___getlogin(struct lwp *, void *, register_t *);
+
 int    sys___setlogin(struct lwp *, void *, register_t *);
+
 int    sys_acct(struct lwp *, void *, register_t *);
+
 #ifdef COMPAT_13
 int    compat_13_sys_sigpending(struct lwp *, void *, register_t *);
+
 int    compat_13_sys_sigaltstack(struct lwp *, void *, register_t *);
+
 #else
 #endif
 int    aoutm68k_sys_ioctl(struct lwp *, void *, register_t *);
+
 #ifdef COMPAT_12
 int    compat_12_sys_reboot(struct lwp *, void *, register_t *);



Home | Main Index | Thread Index | Old Index