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



details:   https://anonhg.NetBSD.org/src/rev/ea99de0daad3
branches:  trunk
changeset: 552256:ea99de0daad3
user:      cl <cl%NetBSD.org@localhost>
date:      Mon Sep 22 14:32:15 2003 +0000

description:
regen

diffstat:

 sys/compat/aoutm68k/aoutm68k_syscall.h     |  287 ++++++++++++++++++++++++++++-
 sys/compat/aoutm68k/aoutm68k_syscallargs.h |  210 ++++++++++++++++++++-
 sys/compat/aoutm68k/aoutm68k_syscalls.c    |   10 +-
 sys/compat/aoutm68k/aoutm68k_sysent.c      |   15 +-
 4 files changed, 509 insertions(+), 13 deletions(-)

diffs (truncated from 1321 to 300 lines):

diff -r fd891b0fa723 -r ea99de0daad3 sys/compat/aoutm68k/aoutm68k_syscall.h
--- a/sys/compat/aoutm68k/aoutm68k_syscall.h    Mon Sep 22 14:31:27 2003 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_syscall.h    Mon Sep 22 14:32:15 2003 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: aoutm68k_syscall.h,v 1.12 2003/01/18 23:29:39 thorpej Exp $ */
+/* $NetBSD: aoutm68k_syscall.h,v 1.13 2003/09/22 14:32:15 cl Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.8 2003/01/18 07:21:14 thorpej Exp 
+ * created from        NetBSD: syscalls.master,v 1.9 2003/09/22 14:31:27 cl Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -22,51 +22,87 @@
 /* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */
 #define        AOUTM68K_SYS_write      4
 
+#ifdef COMPAT_AOUT_ALTPATH
 /* syscall: "open" ret: "int" args: "const char *" "int" "..." */
 #define        AOUTM68K_SYS_open       5
 
+#else
+/* syscall: "open" ret: "int" args: "const char *" "int" "..." */
+#define        AOUTM68K_SYS_open       5
+
+#endif
 /* syscall: "close" ret: "int" args: "int" */
 #define        AOUTM68K_SYS_close      6
 
 /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
 #define        AOUTM68K_SYS_wait4      7
 
+#ifdef COMPAT_43
 /* syscall: "ocreat" ret: "int" args: "const char *" "mode_t" */
 #define        AOUTM68K_SYS_ocreat     8
 
+#else
                                /* 8 is excluded compat_43_sys_creat */
+#endif
+#ifdef COMPAT_AOUT_ALTPATH
+/* syscall: "link" ret: "int" args: "const char *" "const char *" */
+#define        AOUTM68K_SYS_link       9
+
+/* syscall: "unlink" ret: "int" args: "const char *" */
+#define        AOUTM68K_SYS_unlink     10
+
+#else
 /* syscall: "link" ret: "int" args: "const char *" "const char *" */
 #define        AOUTM68K_SYS_link       9
 
 /* syscall: "unlink" ret: "int" args: "const char *" */
 #define        AOUTM68K_SYS_unlink     10
 
+#endif
                                /* 11 is obsolete execv */
+#ifdef COMPAT_AOUT_ALTPATH
 /* syscall: "chdir" ret: "int" args: "const char *" */
 #define        AOUTM68K_SYS_chdir      12
 
+#else
+/* syscall: "chdir" ret: "int" args: "const char *" */
+#define        AOUTM68K_SYS_chdir      12
+
+#endif
 /* syscall: "fchdir" ret: "int" args: "int" */
 #define        AOUTM68K_SYS_fchdir     13
 
 /* syscall: "mknod" ret: "int" args: "const char *" "mode_t" "dev_t" */
 #define        AOUTM68K_SYS_mknod      14
 
+#ifdef COMPAT_AOUT_ALTPATH
+/* syscall: "chmod" ret: "int" args: "const char *" "mode_t" */
+#define        AOUTM68K_SYS_chmod      15
+
+/* syscall: "chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
+#define        AOUTM68K_SYS_chown      16
+
+#else
 /* syscall: "chmod" ret: "int" args: "const char *" "mode_t" */
 #define        AOUTM68K_SYS_chmod      15
 
 /* syscall: "chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
 #define        AOUTM68K_SYS_chown      16
 
+#endif
 /* syscall: "break" ret: "int" args: "char *" */
 #define        AOUTM68K_SYS_break      17
 
 /* syscall: "getfsstat" ret: "int" args: "struct statfs *" "long" "int" */
 #define        AOUTM68K_SYS_getfsstat  18
 
+#ifdef COMPAT_43
 /* syscall: "olseek" ret: "long" args: "int" "long" "int" */
 #define        AOUTM68K_SYS_olseek     19
 
+#else
                                /* 19 is excluded compat_43_sys_lseek */
+#endif
 /* syscall: "getpid" ret: "pid_t" args: */
 #define        AOUTM68K_SYS_getpid     20
 
@@ -106,12 +142,21 @@
 /* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */
 #define        AOUTM68K_SYS_getsockname        32
 
+#ifdef COMPAT_AOUT_ALTPATH
 /* syscall: "access" ret: "int" args: "const char *" "int" */
 #define        AOUTM68K_SYS_access     33
 
 /* syscall: "chflags" ret: "int" args: "const char *" "u_long" */
 #define        AOUTM68K_SYS_chflags    34
 
+#else
+/* syscall: "access" ret: "int" args: "const char *" "int" */
+#define        AOUTM68K_SYS_access     33
+
+/* syscall: "chflags" ret: "int" args: "const char *" "u_long" */
+#define        AOUTM68K_SYS_chflags    34
+
+#endif
 /* syscall: "fchflags" ret: "int" args: "int" "u_long" */
 #define        AOUTM68K_SYS_fchflags   35
 
@@ -121,17 +166,23 @@
 /* syscall: "kill" ret: "int" args: "int" "int" */
 #define        AOUTM68K_SYS_kill       37
 
+#ifdef COMPAT_43
 /* syscall: "stat43" ret: "int" args: "const char *" "struct aoutm68k_stat43 *" */
 #define        AOUTM68K_SYS_stat43     38
 
+#else
                                /* 38 is excluded aoutm68k_compat_43_sys_stat */
+#endif
 /* syscall: "getppid" ret: "pid_t" args: */
 #define        AOUTM68K_SYS_getppid    39
 
+#ifdef COMPAT_43
 /* syscall: "lstat43" ret: "int" args: "const char *" "struct aoutm68k_stat43 *" */
 #define        AOUTM68K_SYS_lstat43    40
 
+#else
                                /* 40 is excluded aoutm68k_compat_43_sys_lstat */
+#endif
 /* syscall: "dup" ret: "int" args: "int" */
 #define        AOUTM68K_SYS_dup        41
 
@@ -144,21 +195,30 @@
 /* syscall: "profil" ret: "int" args: "caddr_t" "size_t" "u_long" "u_int" */
 #define        AOUTM68K_SYS_profil     44
 
+#if defined(KTRACE) || !defined(_KERNEL)
 /* syscall: "ktrace" ret: "int" args: "const char *" "int" "int" "int" */
 #define        AOUTM68K_SYS_ktrace     45
 
+#else
                                /* 45 is excluded ktrace */
+#endif
+#ifdef COMPAT_13
 /* syscall: "sigaction13" ret: "int" args: "int" "const struct sigaction13 *" "struct sigaction13 *" */
 #define        AOUTM68K_SYS_sigaction13        46
 
+#else
                                /* 46 is excluded compat_13_sys_sigaction */
+#endif
 /* syscall: "getgid" ret: "gid_t" args: */
 #define        AOUTM68K_SYS_getgid     47
 
+#ifdef COMPAT_13
 /* syscall: "sigprocmask13" ret: "int" args: "int" "int" */
 #define        AOUTM68K_SYS_sigprocmask13      48
 
+#else
                                /* 48 is excluded compat_13_sys_sigprocmask */
+#endif
 /* syscall: "__getlogin" ret: "int" args: "char *" "size_t" */
 #define        AOUTM68K_SYS___getlogin 49
 
@@ -168,21 +228,28 @@
 /* syscall: "acct" ret: "int" args: "const char *" */
 #define        AOUTM68K_SYS_acct       51
 
+#ifdef COMPAT_13
 /* syscall: "sigpending13" ret: "int" args: */
 #define        AOUTM68K_SYS_sigpending13       52
 
 /* syscall: "sigaltstack13" ret: "int" args: "const struct sigaltstack13 *" "struct sigaltstack13 *" */
 #define        AOUTM68K_SYS_sigaltstack13      53
 
+#else
                                /* 52 is excluded compat_13_sys_sigpending */
                                /* 53 is excluded compat_13_sys_sigaltstack */
+#endif
 /* syscall: "ioctl" ret: "int" args: "int" "u_long" "..." */
 #define        AOUTM68K_SYS_ioctl      54
 
+#ifdef COMPAT_12
 /* syscall: "oreboot" ret: "int" args: "int" */
 #define        AOUTM68K_SYS_oreboot    55
 
+#else
                                /* 55 is excluded compat_12_sys_reboot */
+#endif
+#ifdef COMPAT_AOUT_ALTPATH
 /* syscall: "revoke" ret: "int" args: "const char *" */
 #define        AOUTM68K_SYS_revoke     56
 
@@ -195,12 +262,33 @@
 /* syscall: "execve" ret: "int" args: "const char *" "char *const *" "char *const *" */
 #define        AOUTM68K_SYS_execve     59
 
+#else
+/* syscall: "revoke" ret: "int" args: "const char *" */
+#define        AOUTM68K_SYS_revoke     56
+
+/* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
+#define        AOUTM68K_SYS_symlink    57
+
+/* syscall: "readlink" ret: "int" args: "const char *" "char *" "size_t" */
+#define        AOUTM68K_SYS_readlink   58
+
+/* syscall: "execve" ret: "int" args: "const char *" "char *const *" "char *const *" */
+#define        AOUTM68K_SYS_execve     59
+
+#endif
 /* syscall: "umask" ret: "mode_t" args: "mode_t" */
 #define        AOUTM68K_SYS_umask      60
 
+#ifdef COMPAT_AOUT_ALTPATH
 /* syscall: "chroot" ret: "int" args: "const char *" */
 #define        AOUTM68K_SYS_chroot     61
 
+#else
+/* syscall: "chroot" ret: "int" args: "const char *" */
+#define        AOUTM68K_SYS_chroot     61
+
+#endif
+#ifdef COMPAT_43
 /* syscall: "fstat43" ret: "int" args: "int" "struct aoutm68k_stat43 *" */
 #define        AOUTM68K_SYS_fstat43    62
 
@@ -210,13 +298,18 @@
 /* syscall: "ogetpagesize" ret: "int" args: */
 #define        AOUTM68K_SYS_ogetpagesize       64
 
+#else
                                /* 62 is excluded aoutm68k_compat_43_sys_fstat */
                                /* 63 is excluded compat_43_sys_getkerninfo */
                                /* 64 is excluded compat_43_sys_getpagesize */
+#endif
+#ifdef COMPAT_12
 /* syscall: "msync" ret: "int" args: "caddr_t" "size_t" */
 #define        AOUTM68K_SYS_msync      65
 
+#else
                                /* 65 is excluded compat_12_sys_msync */
+#endif
 /* syscall: "vfork" ret: "int" args: */
 #define        AOUTM68K_SYS_vfork      66
 
@@ -228,10 +321,13 @@
 /* syscall: "sstk" ret: "int" args: "int" */
 #define        AOUTM68K_SYS_sstk       70
 
+#ifdef COMPAT_43
 /* syscall: "ommap" ret: "int" args: "caddr_t" "size_t" "int" "int" "int" "long" */
 #define        AOUTM68K_SYS_ommap      71
 
+#else
                                /* 71 is excluded compat_43_sys_mmap */
+#endif
 /* syscall: "vadvise" ret: "int" args: "int" */
 #define        AOUTM68K_SYS_vadvise    72
 
@@ -264,17 +360,24 @@
 /* syscall: "setitimer" ret: "int" args: "int" "const struct itimerval *" "struct itimerval *" */
 #define        AOUTM68K_SYS_setitimer  83
 
+#ifdef COMPAT_43
 /* syscall: "owait" ret: "int" args: */
 #define        AOUTM68K_SYS_owait      84
 
+#else
                                /* 84 is excluded compat_43_sys_wait */
+#endif
+#ifdef COMPAT_12
 /* syscall: "oswapon" ret: "int" args: "const char *" */
 #define        AOUTM68K_SYS_oswapon    85
 
+#else
                                /* 85 is excluded compat_12_sys_swapon */
+#endif
 /* syscall: "getitimer" ret: "int" args: "int" "struct itimerval *" */
 #define        AOUTM68K_SYS_getitimer  86
 
+#ifdef COMPAT_43
 /* syscall: "ogethostname" ret: "int" args: "char *" "u_int" */



Home | Main Index | Thread Index | Old Index