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/0fd2e998e514
branches: trunk
changeset: 569962:0fd2e998e514
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Tue Sep 14 17:40:59 2004 +0000
description:
regen:
remove all alternative path check code, and (empty) ioctl wrapper
diffstat:
sys/compat/aoutm68k/aoutm68k_syscall.h | 143 +------------
sys/compat/aoutm68k/aoutm68k_syscallargs.h | 316 +----------------------------
sys/compat/aoutm68k/aoutm68k_sysent.c | 123 +----------
3 files changed, 10 insertions(+), 572 deletions(-)
diffs (truncated from 1230 to 300 lines):
diff -r c86ef92bb28c -r 0fd2e998e514 sys/compat/aoutm68k/aoutm68k_syscall.h
--- a/sys/compat/aoutm68k/aoutm68k_syscall.h Tue Sep 14 17:39:18 2004 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_syscall.h Tue Sep 14 17:40:59 2004 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: aoutm68k_syscall.h,v 1.15 2004/04/22 05:44:30 matt Exp $ */
+/* $NetBSD: aoutm68k_syscall.h,v 1.16 2004/09/14 17:40:59 jdolecek Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.11 2004/04/21 01:05:36 christos Exp
+ * created from NetBSD: syscalls.master,v 1.12 2004/09/14 17:39:18 jdolecek Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -22,15 +22,9 @@
/* 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
@@ -44,52 +38,28 @@
#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
@@ -146,21 +116,12 @@
/* 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
@@ -253,7 +214,6 @@
#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
@@ -266,32 +226,12 @@
/* 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
@@ -531,34 +471,18 @@
/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
#define AOUTM68K_SYS_setregid 127
-#ifdef COMPAT_AOUT_ALTPATH
-/* syscall: "rename" ret: "int" args: "const char *" "const char *" */
-#define AOUTM68K_SYS_rename 128
-
-#else
/* syscall: "rename" ret: "int" args: "const char *" "const char *" */
#define AOUTM68K_SYS_rename 128
-#endif
#ifdef COMPAT_43
-#ifdef COMPAT_AOUT_ALTPATH
/* syscall: "otruncate" ret: "int" args: "const char *" "long" */
#define AOUTM68K_SYS_otruncate 129
-#else
-/* syscall: "otruncate" ret: "int" args: "const char *" "long" */
-#define AOUTM68K_SYS_otruncate 129
-
-#endif
/* syscall: "oftruncate" ret: "int" args: "int" "long" */
#define AOUTM68K_SYS_oftruncate 130
#else
-#ifdef COMPAT_AOUT_ALTPATH
- /* 129 is excluded aoutm68k_compat_43_sys_truncate */
-#else
/* 129 is excluded compat_43_sys_truncate */
-#endif
/* 130 is excluded compat_43_sys_ftruncate */
#endif
/* syscall: "flock" ret: "int" args: "int" "int" */
@@ -579,21 +503,12 @@
/* syscall: "mkdir" ret: "int" args: "const char *" "mode_t" */
#define AOUTM68K_SYS_mkdir 136
-#ifdef COMPAT_AOUT_ALTPATH
/* syscall: "rmdir" ret: "int" args: "const char *" */
#define AOUTM68K_SYS_rmdir 137
/* syscall: "utimes" ret: "int" args: "const char *" "const struct timeval *" */
#define AOUTM68K_SYS_utimes 138
-#else
-/* syscall: "rmdir" ret: "int" args: "const char *" */
-#define AOUTM68K_SYS_rmdir 137
-
-/* syscall: "utimes" ret: "int" args: "const char *" "const struct timeval *" */
-#define AOUTM68K_SYS_utimes 138
-
-#endif
/* 139 is obsolete 4.2 sigreturn */
/* syscall: "adjtime" ret: "int" args: "const struct timeval *" "struct timeval *" */
#define AOUTM68K_SYS_adjtime 140
@@ -656,11 +571,6 @@
#else
/* 156 is excluded compat_43_sys_getdirentries */
#endif
-#ifdef COMPAT_AOUT_ALTPATH
-/* 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
@@ -668,7 +578,6 @@
#else
/* 157 is excluded compat_20_sys_statfs */
#endif
-#endif
#ifdef COMPAT_20
/* syscall: "fstatfs" ret: "int" args: "int" "struct statfs12 *" */
#define AOUTM68K_SYS_fstatfs 158
@@ -677,16 +586,10 @@
/* 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 *" */
#define AOUTM68K_SYS_getfh 161
#else
-/* syscall: "getfh" ret: "int" args: "const char *" "fhandle_t *" */
-#define AOUTM68K_SYS_getfh 161
-
-#endif
-#else
/* 161 is excluded getfh */
#endif
#ifdef COMPAT_09
@@ -787,15 +690,9 @@
/* 189 is excluded aoutm68k_compat_12_sys_fstat */
/* 190 is excluded aoutm68k_compat_12_sys_lstat */
#endif
-#ifdef COMPAT_AOUT_ALTPATH
/* syscall: "pathconf" ret: "long" args: "const char *" "int" */
#define AOUTM68K_SYS_pathconf 191
-#else
-/* syscall: "pathconf" ret: "long" args: "const char *" "int" */
-#define AOUTM68K_SYS_pathconf 191
-
-#endif
/* syscall: "fpathconf" ret: "long" args: "int" "int" */
#define AOUTM68K_SYS_fpathconf 192
@@ -821,15 +718,9 @@
/* syscall: "lseek" ret: "off_t" args: "int" "int" "off_t" "int" */
#define AOUTM68K_SYS_lseek 199
-#ifdef COMPAT_AOUT_ALTPATH
/* syscall: "truncate" ret: "int" args: "const char *" "int" "off_t" */
#define AOUTM68K_SYS_truncate 200
-#else
-/* syscall: "truncate" ret: "int" args: "const char *" "int" "off_t" */
-#define AOUTM68K_SYS_truncate 200
-
-#endif
/* syscall: "ftruncate" ret: "int" args: "int" "int" "off_t" */
#define AOUTM68K_SYS_ftruncate 201
@@ -842,15 +733,9 @@
/* syscall: "munlock" ret: "int" args: "const void *" "size_t" */
#define AOUTM68K_SYS_munlock 204
-#ifdef COMPAT_AOUT_ALTPATH
/* syscall: "undelete" ret: "int" args: "const char *" */
#define AOUTM68K_SYS_undelete 205
-#else
-/* syscall: "undelete" ret: "int" args: "const char *" */
-#define AOUTM68K_SYS_undelete 205
-
-#endif
/* syscall: "futimes" ret: "int" args: "int" "const struct timeval *" */
#define AOUTM68K_SYS_futimes 206
@@ -966,15 +851,9 @@
/* syscall: "munlockall" ret: "int" args: */
#define AOUTM68K_SYS_munlockall 243
-#ifdef COMPAT_AOUT_ALTPATH
/* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
#define AOUTM68K_SYS___posix_rename 270
-#else
-/* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
Home |
Main Index |
Thread Index |
Old Index