Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/netbsd32 Regen



details:   https://anonhg.NetBSD.org/src/rev/ac9f27b33052
branches:  trunk
changeset: 473606:ac9f27b33052
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jun 09 04:50:32 1999 +0000

description:
Regen

diffstat:

 sys/compat/netbsd32/netbsd32_syscall.h     |   58 ++++++++++---
 sys/compat/netbsd32/netbsd32_syscallargs.h |   59 +++++-------
 sys/compat/netbsd32/netbsd32_syscalls.c    |  116 ++++++++++++-------------
 sys/compat/netbsd32/netbsd32_sysent.c      |  125 +++++++++++++---------------
 4 files changed, 186 insertions(+), 172 deletions(-)

diffs (truncated from 873 to 300 lines):

diff -r 39fba5851f4e -r ac9f27b33052 sys/compat/netbsd32/netbsd32_syscall.h
--- a/sys/compat/netbsd32/netbsd32_syscall.h    Wed Jun 09 04:50:10 1999 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscall.h    Wed Jun 09 04:50:32 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: netbsd32_syscall.h,v 1.9 1999/03/25 16:32:27 mrg Exp $ */
+/*     $NetBSD: netbsd32_syscall.h,v 1.10 1999/06/09 04:50:32 christos Exp $   */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.7 1999/03/25 16:22:50 mrg Exp 
+ * created from        NetBSD: syscalls.master,v 1.8 1999/06/09 04:50:11 christos Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -139,6 +139,7 @@
 /* syscall: "compat_netbsd32_ktrace" ret: "int" args: "const netbsd32_charp" "int" "int" "int" */
 #define        netbsd32_SYS_compat_netbsd32_ktrace     45
 
+                               /* 45 is excluded compat_netbsd32_ktrace */
 /* syscall: "compat_netbsd32_sigaction" ret: "int" args: "int" "const netbsd32_sigactionp_t" "netbsd32_sigactionp_t" */
 #define        netbsd32_SYS_compat_netbsd32_sigaction  46
 
@@ -309,9 +310,6 @@
 
 #define        netbsd32_SYS_compat_43_compat_netbsd32_osendmsg 114
 
-/* syscall: "compat_netbsd32_vtrace" ret: "int" args: "int" "int" */
-#define        netbsd32_SYS_compat_netbsd32_vtrace     115
-
                                /* 115 is obsolete vtrace */
 /* syscall: "compat_netbsd32_gettimeofday" ret: "int" args: "netbsd32_timevalp_t" "netbsd32_timezonep_t" */
 #define        netbsd32_SYS_compat_netbsd32_gettimeofday       116
@@ -408,6 +406,7 @@
 /* syscall: "compat_netbsd32_nfssvc" ret: "int" args: "int" "netbsd32_voidp" */
 #define        netbsd32_SYS_compat_netbsd32_nfssvc     155
 
+                               /* 155 is excluded compat_netbsd32_nfssvc */
 #define        netbsd32_SYS_compat_43_compat_netbsd32_ogetdirentries   156
 
 /* syscall: "compat_netbsd32_statfs" ret: "int" args: "const netbsd32_charp" "netbsd32_statfsp_t" */
@@ -419,6 +418,7 @@
 /* syscall: "compat_netbsd32_getfh" ret: "int" args: "const netbsd32_charp" "netbsd32_fhandlep_t" */
 #define        netbsd32_SYS_compat_netbsd32_getfh      161
 
+                               /* 161 is excluded compat_netbsd32_getfh */
 #define        netbsd32_SYS_compat_09_compat_netbsd32_ogetdomainname   162
 
 #define        netbsd32_SYS_compat_09_compat_netbsd32_osetdomainname   163
@@ -431,12 +431,15 @@
 /* syscall: "osemsys" ret: "int" args: "int" "int" "int" "int" "int" */
 #define        netbsd32_SYS_osemsys    169
 
+                               /* 169 is excluded 1.0 semsys */
 /* syscall: "omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
 #define        netbsd32_SYS_omsgsys    170
 
+                               /* 170 is excluded 1.0 msgsys */
 /* syscall: "oshmsys" ret: "int" args: "int" "int" "int" "int" */
 #define        netbsd32_SYS_oshmsys    171
 
+                               /* 171 is excluded 1.0 shmsys */
 /* syscall: "compat_netbsd32_pread" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "off_t" */
 #define        netbsd32_SYS_compat_netbsd32_pread      173
 
@@ -449,6 +452,8 @@
 /* syscall: "compat_netbsd32_ntp_adjtime" ret: "int" args: "netbsd32_timexp_t" */
 #define        netbsd32_SYS_compat_netbsd32_ntp_adjtime        176
 
+                               /* 175 is excluded compat_netbsd32_ntp_gettime */
+                               /* 176 is excluded compat_netbsd32_ntp_adjtime */
 /* syscall: "compat_netbsd32_setgid" ret: "int" args: "gid_t" */
 #define        netbsd32_SYS_compat_netbsd32_setgid     181
 
@@ -458,18 +463,22 @@
 /* syscall: "compat_netbsd32_seteuid" ret: "int" args: "uid_t" */
 #define        netbsd32_SYS_compat_netbsd32_seteuid    183
 
-/* syscall: "compat_netbsd32_lfs_bmapv" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_block_infop_t" "int" */
-#define        netbsd32_SYS_compat_netbsd32_lfs_bmapv  184
+/* syscall: "lfs_bmapv" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_block_infop_t" "int" */
+#define        netbsd32_SYS_lfs_bmapv  184
 
-/* syscall: "compat_netbsd32_lfs_markv" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_block_infop_t" "int" */
-#define        netbsd32_SYS_compat_netbsd32_lfs_markv  185
+/* syscall: "lfs_markv" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_block_infop_t" "int" */
+#define        netbsd32_SYS_lfs_markv  185
 
-/* syscall: "compat_netbsd32_lfs_segclean" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_u_long" */
-#define        netbsd32_SYS_compat_netbsd32_lfs_segclean       186
+/* syscall: "lfs_segclean" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_u_long" */
+#define        netbsd32_SYS_lfs_segclean       186
 
-/* syscall: "compat_netbsd32_lfs_segwait" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_timevalp_t" */
-#define        netbsd32_SYS_compat_netbsd32_lfs_segwait        187
+/* syscall: "lfs_segwait" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_timevalp_t" */
+#define        netbsd32_SYS_lfs_segwait        187
 
+                               /* 184 is excluded compat_netbsd32_sys_lfs_bmapv */
+                               /* 185 is excluded compat_netbsd32_sys_lfs_markv */
+                               /* 186 is excluded compat_netbsd32_sys_lfs_segclean */
+                               /* 187 is excluded compat_netbsd32_sys_lfs_segwait */
 #define        netbsd32_SYS_compat_12_compat_netbsd32_stat12   188
 
 #define        netbsd32_SYS_compat_12_compat_netbsd32_fstat12  189
@@ -529,6 +538,16 @@
 /* syscall: "compat_netbsd32_poll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "int" */
 #define        netbsd32_SYS_compat_netbsd32_poll       209
 
+                               /* 210 is excluded lkmnosys */
+                               /* 211 is excluded lkmnosys */
+                               /* 212 is excluded lkmnosys */
+                               /* 213 is excluded lkmnosys */
+                               /* 214 is excluded lkmnosys */
+                               /* 215 is excluded lkmnosys */
+                               /* 216 is excluded lkmnosys */
+                               /* 217 is excluded lkmnosys */
+                               /* 218 is excluded lkmnosys */
+                               /* 219 is excluded lkmnosys */
 /* syscall: "compat_netbsd32___semctl" ret: "int" args: "int" "int" "int" "netbsd32_semunu_t" */
 #define        netbsd32_SYS_compat_netbsd32___semctl   220
 
@@ -541,6 +560,10 @@
 /* syscall: "compat_netbsd32_semconfig" ret: "int" args: "int" */
 #define        netbsd32_SYS_compat_netbsd32_semconfig  223
 
+                               /* 220 is excluded compat_netbsd32_semctl */
+                               /* 221 is excluded compat_netbsd32_semget */
+                               /* 222 is excluded compat_netbsd32_semop */
+                               /* 223 is excluded compat_netbsd32_semconfig */
 /* syscall: "compat_netbsd32_msgctl" ret: "int" args: "int" "int" "netbsd32_msqid_dsp_t" */
 #define        netbsd32_SYS_compat_netbsd32_msgctl     224
 
@@ -553,6 +576,10 @@
 /* syscall: "compat_netbsd32_msgrcv" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "netbsd32_long" "int" */
 #define        netbsd32_SYS_compat_netbsd32_msgrcv     227
 
+                               /* 224 is excluded compat_netbsd32_msgctl */
+                               /* 225 is excluded compat_netbsd32_msgget */
+                               /* 226 is excluded compat_netbsd32_msgsnd */
+                               /* 227 is excluded compat_netbsd32_msgrcv */
 /* syscall: "compat_netbsd32_shmat" ret: "netbsd32_voidp" args: "int" "const netbsd32_voidp" "int" */
 #define        netbsd32_SYS_compat_netbsd32_shmat      228
 
@@ -565,6 +592,10 @@
 /* syscall: "compat_netbsd32_shmget" ret: "int" args: "netbsd32_key_t" "netbsd32_size_t" "int" */
 #define        netbsd32_SYS_compat_netbsd32_shmget     231
 
+                               /* 228 is excluded compat_netbsd32_shmat */
+                               /* 229 is excluded compat_netbsd32_shmctl */
+                               /* 230 is excluded compat_netbsd32_shmdt */
+                               /* 231 is excluded compat_netbsd32_shmget */
 /* syscall: "compat_netbsd32_clock_gettime" ret: "int" args: "netbsd32_clockid_t" "netbsd32_timespecp_t" */
 #define        netbsd32_SYS_compat_netbsd32_clock_gettime      232
 
@@ -634,6 +665,7 @@
 /* syscall: "compat_netbsd32_fktrace" ret: "int" args: "const int" "int" "int" "int" */
 #define        netbsd32_SYS_compat_netbsd32_fktrace    288
 
+                               /* 288 is excluded compat_netbsd32_fktrace */
 /* syscall: "compat_netbsd32_preadv" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" "int" "off_t" */
 #define        netbsd32_SYS_compat_netbsd32_preadv     289
 
diff -r 39fba5851f4e -r ac9f27b33052 sys/compat/netbsd32/netbsd32_syscallargs.h
--- a/sys/compat/netbsd32/netbsd32_syscallargs.h        Wed Jun 09 04:50:10 1999 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscallargs.h        Wed Jun 09 04:50:32 1999 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: netbsd32_syscallargs.h,v 1.9 1999/03/25 16:32:27 mrg Exp $     */
+/*     $NetBSD: netbsd32_syscallargs.h,v 1.10 1999/06/09 04:50:32 christos Exp $       */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.7 1999/03/25 16:22:50 mrg Exp 
+ * created from        NetBSD: syscalls.master,v 1.8 1999/06/09 04:50:11 christos Exp 
  */
 
 #ifndef _netbsd32_SYS__SYSCALLARGS_H_
@@ -517,11 +517,6 @@
        syscallarg(int) flags;
 };
 
-struct compat_netbsd32_vtrace_args {
-       syscallarg(int) request;
-       syscallarg(int) value;
-};
-
 struct compat_netbsd32_gettimeofday_args {
        syscallarg(netbsd32_timevalp_t) tp;
        syscallarg(netbsd32_timezonep_t) tzp;
@@ -796,24 +791,24 @@
        syscallarg(uid_t) euid;
 };
 
-struct compat_netbsd32_lfs_bmapv_args {
+struct compat_netbsd32_sys_lfs_bmapv_args {
        syscallarg(netbsd32_fsid_tp_t) fsidp;
        syscallarg(netbsd32_block_infop_t) blkiov;
        syscallarg(int) blkcnt;
 };
 
-struct compat_netbsd32_lfs_markv_args {
+struct compat_netbsd32_sys_lfs_markv_args {
        syscallarg(netbsd32_fsid_tp_t) fsidp;
        syscallarg(netbsd32_block_infop_t) blkiov;
        syscallarg(int) blkcnt;
 };
 
-struct compat_netbsd32_lfs_segclean_args {
+struct compat_netbsd32_sys_lfs_segclean_args {
        syscallarg(netbsd32_fsid_tp_t) fsidp;
        syscallarg(netbsd32_u_long) segment;
 };
 
-struct compat_netbsd32_lfs_segwait_args {
+struct compat_netbsd32_sys_lfs_segwait_args {
        syscallarg(netbsd32_fsid_tp_t) fsidp;
        syscallarg(netbsd32_timevalp_t) tv;
 };
@@ -1184,7 +1179,7 @@
 int    sys_pipe        __P((struct proc *, void *, register_t *));
 int    sys_getegid     __P((struct proc *, void *, register_t *));
 int    compat_netbsd32_profil  __P((struct proc *, void *, register_t *));
-#ifdef KTRACE
+#if defined(KTRACE) || !defined(_KERNEL)
 int    compat_netbsd32_ktrace  __P((struct proc *, void *, register_t *));
 #else
 #endif
@@ -1256,10 +1251,6 @@
 int    compat_43_compat_netbsd32_osigstack     __P((struct proc *, void *, register_t *));
 int    compat_43_compat_netbsd32_orecvmsg      __P((struct proc *, void *, register_t *));
 int    compat_43_compat_netbsd32_osendmsg      __P((struct proc *, void *, register_t *));
-#ifdef TRACE
-int    compat_netbsd32_vtrace  __P((struct proc *, void *, register_t *));
-#else
-#endif
 int    compat_netbsd32_gettimeofday    __P((struct proc *, void *, register_t *));
 int    compat_netbsd32_getrusage       __P((struct proc *, void *, register_t *));
 int    compat_netbsd32_getsockopt      __P((struct proc *, void *, register_t *));
@@ -1299,14 +1290,14 @@
 int    compat_netbsd32_quotactl        __P((struct proc *, void *, register_t *));
 int    compat_43_sys_quota     __P((struct proc *, void *, register_t *));
 int    compat_43_compat_netbsd32_ogetsockname  __P((struct proc *, void *, register_t *));
-#if defined(NFS) || defined(NFSSERVER)
+#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
 int    compat_netbsd32_nfssvc  __P((struct proc *, void *, register_t *));
 #else
 #endif
 int    compat_43_compat_netbsd32_ogetdirentries        __P((struct proc *, void *, register_t *));
 int    compat_netbsd32_statfs  __P((struct proc *, void *, register_t *));
 int    compat_netbsd32_fstatfs __P((struct proc *, void *, register_t *));
-#if defined(NFS) || defined(NFSSERVER)
+#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
 int    compat_netbsd32_getfh   __P((struct proc *, void *, register_t *));
 #else
 #endif
@@ -1314,21 +1305,21 @@
 int    compat_09_compat_netbsd32_osetdomainname        __P((struct proc *, void *, register_t *));
 int    compat_09_compat_netbsd32_uname __P((struct proc *, void *, register_t *));
 int    compat_netbsd32_sysarch __P((struct proc *, void *, register_t *));
-#if defined(SYSVSEM) && !defined(alpha) && defined(COMPAT_10)
+#if (defined(SYSVSEM) || !defined(_KERNEL) && !defined(alpha) && defined(COMPAT_10)
 int    compat_netbsd32_compat_10_sys_semsys    __P((struct proc *, void *, register_t *));
 #else
 #endif
-#if defined(SYSVMSG) && !defined(alpha) && defined(COMPAT_10)
+#if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
 int    compat_netbsd32_compat_10_sys_msgsys    __P((struct proc *, void *, register_t *));
 #else
 #endif
-#if defined(SYSVSHM) && !defined(alpha) && defined(COMPAT_10)
+#if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
 int    compat_netbsd32_compat_10_sys_shmsys    __P((struct proc *, void *, register_t *));
 #else
 #endif
 int    compat_netbsd32_pread   __P((struct proc *, void *, register_t *));
 int    compat_netbsd32_pwrite  __P((struct proc *, void *, register_t *));
-#ifdef NTP
+#if defined(NTP) && !defined(_KERNEL)
 int    compat_netbsd32_ntp_gettime     __P((struct proc *, void *, register_t *));
 int    compat_netbsd32_ntp_adjtime     __P((struct proc *, void *, register_t *));
 #else
@@ -1336,11 +1327,11 @@
 int    compat_netbsd32_setgid  __P((struct proc *, void *, register_t *));
 int    compat_netbsd32_setegid __P((struct proc *, void *, register_t *));
 int    compat_netbsd32_seteuid __P((struct proc *, void *, register_t *));
-#ifdef LFS
-int    compat_netbsd32_lfs_bmapv       __P((struct proc *, void *, register_t *));
-int    compat_netbsd32_lfs_markv       __P((struct proc *, void *, register_t *));
-int    compat_netbsd32_lfs_segclean    __P((struct proc *, void *, register_t *));
-int    compat_netbsd32_lfs_segwait     __P((struct proc *, void *, register_t *));
+#if defined(LFS) || !defined(_KERNEL)
+int    compat_netbsd32_sys_lfs_bmapv   __P((struct proc *, void *, register_t *));
+int    compat_netbsd32_sys_lfs_markv   __P((struct proc *, void *, register_t *));
+int    compat_netbsd32_sys_lfs_segclean        __P((struct proc *, void *, register_t *));
+int    compat_netbsd32_sys_lfs_segwait __P((struct proc *, void *, register_t *));
 #else
 #endif



Home | Main Index | Thread Index | Old Index