Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/freebsd regen



details:   https://anonhg.NetBSD.org/src/rev/b62853f95752
branches:  trunk
changeset: 552092:b62853f95752
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Sep 18 14:50:07 2003 +0000

description:
regen

diffstat:

 sys/compat/freebsd/freebsd_syscall.h     |  46 ++++++++++++++++++++++++-
 sys/compat/freebsd/freebsd_syscallargs.h |  58 ++++++++++++++++++++++++++++++-
 sys/compat/freebsd/freebsd_syscalls.c    |   6 +-
 sys/compat/freebsd/freebsd_sysent.c      |  10 ++--
 4 files changed, 107 insertions(+), 13 deletions(-)

diffs (truncated from 391 to 300 lines):

diff -r 1025de8abbaf -r b62853f95752 sys/compat/freebsd/freebsd_syscall.h
--- a/sys/compat/freebsd/freebsd_syscall.h      Thu Sep 18 14:44:09 2003 +0000
+++ b/sys/compat/freebsd/freebsd_syscall.h      Thu Sep 18 14:50:07 2003 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: freebsd_syscall.h,v 1.50 2003/01/18 23:30:59 thorpej Exp $ */
+/* $NetBSD: freebsd_syscall.h,v 1.51 2003/09/18 14:50:07 pooka Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.40 2003/01/18 07:33:16 thorpej Exp 
+ * created from        NetBSD: syscalls.master,v 1.41 2003/09/18 14:44:09 pooka Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -140,10 +140,13 @@
 /* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */
 #define        FREEBSD_SYS_profil      44
 
+#ifdef KTRACE
 /* syscall: "ktrace" ret: "int" args: "char *" "int" "int" "int" */
 #define        FREEBSD_SYS_ktrace      45
 
+#else
                                /* 45 is excluded ktrace */
+#endif
 /* syscall: "sigaction" ret: "int" args: "int" "const struct sigaction13 *" "struct sigaction13 *" */
 #define        FREEBSD_SYS_sigaction   46
 
@@ -335,10 +338,13 @@
 /* syscall: "osendmsg" ret: "int" args: "int" "caddr_t" "int" */
 #define        FREEBSD_SYS_osendmsg    114
 
+#ifdef TRACE
 /* syscall: "vtrace" ret: "int" args: "int" "int" */
 #define        FREEBSD_SYS_vtrace      115
 
+#else
                                /* 115 is obsolete vtrace */
+#endif
 /* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
 #define        FREEBSD_SYS_gettimeofday        116
 
@@ -440,9 +446,12 @@
 /* syscall: "ogetsockname" ret: "int" args: "int" "caddr_t" "int *" */
 #define        FREEBSD_SYS_ogetsockname        150
 
+#if defined(NFS) || defined(NFSSERVER)
 /* syscall: "nfssvc" ret: "int" args: "int" "caddr_t" */
 #define        FREEBSD_SYS_nfssvc      155
 
+#else
+#endif
 /* syscall: "ogetdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
 #define        FREEBSD_SYS_ogetdirentries      156
 
@@ -452,9 +461,12 @@
 /* syscall: "fstatfs" ret: "int" args: "int" "struct statfs *" */
 #define        FREEBSD_SYS_fstatfs     158
 
+#ifdef NFS
 /* syscall: "getfh" ret: "int" args: "const char *" "fhandle_t *" */
 #define        FREEBSD_SYS_getfh       161
 
+#else
+#endif
 /* syscall: "getdomainname" ret: "int" args: "char *" "int" */
 #define        FREEBSD_SYS_getdomainname       162
 
@@ -470,25 +482,37 @@
 /* syscall: "rtprio" ret: "int" args: "int" "pid_t" "struct freebsd_rtprio *" */
 #define        FREEBSD_SYS_rtprio      166
 
+#if defined(SYSVSEM) && !defined(_LP64)
 /* syscall: "semsys" ret: "int" args: "int" "int" "int" "int" "int" */
 #define        FREEBSD_SYS_semsys      169
 
+#else
+#endif
+#if defined(SYSVMSG) && !defined(_LP64)
 /* syscall: "msgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
 #define        FREEBSD_SYS_msgsys      170
 
+#else
+#endif
+#if defined(SYSVSHM) && !defined(_LP64)
 /* syscall: "shmsys" ret: "int" args: "int" "int" "int" "int" */
 #define        FREEBSD_SYS_shmsys      171
 
+#else
+#endif
 /* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "int" "off_t" */
 #define        FREEBSD_SYS_pread       173
 
 /* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "off_t" */
 #define        FREEBSD_SYS_pwrite      174
 
+#ifdef NTP
 /* syscall: "freebsd_ntp_adjtime" ret: "int" args: "struct freebsd_timex *" */
 #define        FREEBSD_SYS_freebsd_ntp_adjtime 176
 
+#else
                                /* 176 is excluded ntp_adjtime */
+#endif
 /* syscall: "setgid" ret: "int" args: "gid_t" */
 #define        FREEBSD_SYS_setgid      181
 
@@ -498,6 +522,7 @@
 /* syscall: "seteuid" ret: "int" args: "uid_t" */
 #define        FREEBSD_SYS_seteuid     183
 
+#ifdef LFS
 /* syscall: "lfs_bmapv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */
 #define        FREEBSD_SYS_lfs_bmapv   184
 
@@ -510,6 +535,8 @@
 /* syscall: "lfs_segwait" ret: "int" args: "fsid_t *" "struct timeval *" */
 #define        FREEBSD_SYS_lfs_segwait 187
 
+#else
+#endif
 /* syscall: "stat" ret: "int" args: "const char *" "struct stat12 *" */
 #define        FREEBSD_SYS_stat        188
 
@@ -558,21 +585,28 @@
 /* syscall: "munlock" ret: "int" args: "caddr_t" "size_t" */
 #define        FREEBSD_SYS_munlock     204
 
+#ifdef FREEBSD_BASED_ON_44LITE_R2
 /* syscall: "undelete" ret: "int" args: "char *" */
 #define        FREEBSD_SYS_undelete    205
 
+#else
+#endif
 /* syscall: "futimes" ret: "int" args: "int" "const struct timeval *" */
 #define        FREEBSD_SYS_futimes     206
 
 /* syscall: "getpgid" ret: "pid_t" args: "pid_t" */
 #define        FREEBSD_SYS_getpgid     207
 
+#if 0
 /* syscall: "reboot" ret: "int" args: "int" "char *" */
 #define        FREEBSD_SYS_reboot      208
 
+#else
+#endif
 /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
 #define        FREEBSD_SYS_poll        209
 
+#ifdef SYSVSEM
 /* syscall: "__semctl" ret: "int" args: "int" "int" "int" "union __semun *" */
 #define        FREEBSD_SYS___semctl    220
 
@@ -585,6 +619,9 @@
 /* syscall: "semconfig" ret: "int" args: "int" */
 #define        FREEBSD_SYS_semconfig   223
 
+#else
+#endif
+#ifdef SYSVMSG
 /* syscall: "msgctl" ret: "int" args: "int" "int" "struct msqid14_ds *" */
 #define        FREEBSD_SYS_msgctl      224
 
@@ -597,6 +634,9 @@
 /* syscall: "msgrcv" ret: "int" args: "int" "void *" "size_t" "long" "int" */
 #define        FREEBSD_SYS_msgrcv      227
 
+#else
+#endif
+#ifdef SYSVSHM
 /* syscall: "shmat" ret: "int" args: "int" "void *" "int" */
 #define        FREEBSD_SYS_shmat       228
 
@@ -609,6 +649,8 @@
 /* syscall: "shmget" ret: "int" args: "key_t" "int" "int" */
 #define        FREEBSD_SYS_shmget      231
 
+#else
+#endif
 /* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct timespec *" */
 #define        FREEBSD_SYS_clock_gettime       232
 
diff -r 1025de8abbaf -r b62853f95752 sys/compat/freebsd/freebsd_syscallargs.h
--- a/sys/compat/freebsd/freebsd_syscallargs.h  Thu Sep 18 14:44:09 2003 +0000
+++ b/sys/compat/freebsd/freebsd_syscallargs.h  Thu Sep 18 14:50:07 2003 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: freebsd_syscallargs.h,v 1.52 2003/01/18 23:30:59 thorpej Exp $ */
+/* $NetBSD: freebsd_syscallargs.h,v 1.53 2003/09/18 14:50:08 pooka Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.40 2003/01/18 07:33:16 thorpej Exp 
+ * created from        NetBSD: syscalls.master,v 1.41 2003/09/18 14:44:09 pooka Exp 
  */
 
 #ifndef _FREEBSD_SYS__SYSCALLARGS_H_
@@ -106,6 +106,9 @@
        syscallarg(const char *) path;
        syscallarg(struct stat43 *) ub;
 };
+#ifdef KTRACE
+#else
+#endif
 
 struct freebsd_sys_ioctl_args {
        syscallarg(int) fd;
@@ -147,6 +150,9 @@
 struct freebsd_sys_sigreturn_args {
        syscallarg(struct freebsd_sigcontext *) scp;
 };
+#ifdef TRACE
+#else
+#endif
 
 struct freebsd_sys_rename_args {
        syscallarg(const char *) from;
@@ -171,22 +177,29 @@
 struct freebsd_sys_rmdir_args {
        syscallarg(const char *) path;
 };
+#if defined(NFS) || defined(NFSSERVER)
+#else
+#endif
 
 struct freebsd_sys_statfs_args {
        syscallarg(const char *) path;
        syscallarg(struct statfs *) buf;
 };
+#ifdef NFS
 
 struct freebsd_sys_getfh_args {
        syscallarg(const char *) fname;
        syscallarg(fhandle_t *) fhp;
 };
+#else
+#endif
 
 struct freebsd_sys_rtprio_args {
        syscallarg(int) function;
        syscallarg(pid_t) pid;
        syscallarg(struct freebsd_rtprio *) rtp;
 };
+#if defined(SYSVSEM) && !defined(_LP64)
 
 struct freebsd_sys_semsys_args {
        syscallarg(int) which;
@@ -195,6 +208,9 @@
        syscallarg(int) a4;
        syscallarg(int) a5;
 };
+#else
+#endif
+#if defined(SYSVMSG) && !defined(_LP64)
 
 struct freebsd_sys_msgsys_args {
        syscallarg(int) which;
@@ -204,6 +220,9 @@
        syscallarg(int) a5;
        syscallarg(int) a6;
 };
+#else
+#endif
+#if defined(SYSVSHM) && !defined(_LP64)
 
 struct freebsd_sys_shmsys_args {
        syscallarg(int) which;
@@ -211,10 +230,18 @@
        syscallarg(int) a3;
        syscallarg(int) a4;
 };
+#else
+#endif
+#ifdef NTP
 
 struct freebsd_ntp_adjtime_args {
        syscallarg(struct freebsd_timex *) tp;
 };
+#else
+#endif
+#ifdef LFS
+#else
+#endif
 
 struct freebsd_sys_stat_args {
        syscallarg(const char *) path;
@@ -231,15 +258,40 @@
        syscallarg(int) name;
 };
 
+struct freebsd_sys_mmap_args {
+       syscallarg(caddr_t) addr;
+       syscallarg(size_t) len;
+       syscallarg(int) prot;
+       syscallarg(int) flags;
+       syscallarg(int) fd;
+       syscallarg(long) pad;
+       syscallarg(off_t) pos;



Home | Main Index | Thread Index | Old Index