Regenerate.

This commit is contained in:
fvdl 2003-10-13 18:54:57 +00:00
parent 4a68d0f9cb
commit fd1fb232de
3 changed files with 433 additions and 23 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: netbsd32_syscall.h,v 1.29 2003/01/18 23:39:58 thorpej Exp $ */
/* $NetBSD: netbsd32_syscall.h,v 1.30 2003/10/13 18:54:57 fvdl Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.23 2003/01/18 08:28:26 thorpej Exp
* created from NetBSD: syscalls.master,v 1.24 2003/10/13 18:53:35 fvdl Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@ -31,6 +31,7 @@
/* syscall: "netbsd32_wait4" ret: "int" args: "int" "netbsd32_intp" "int" "netbsd32_rusagep_t" */
#define netbsd32_SYS_netbsd32_wait4 7
/* syscall: "compat_43_netbsd32_ocreat" ret: "int" args: "const netbsd32_charp" "mode_t" */
#define netbsd32_SYS_compat_43_netbsd32_ocreat 8
/* syscall: "netbsd32_link" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
@ -61,6 +62,7 @@
/* syscall: "netbsd32_getfsstat" ret: "int" args: "netbsd32_statfsp_t" "netbsd32_long" "int" */
#define netbsd32_SYS_netbsd32_getfsstat 18
/* syscall: "compat_43_netbsd32_olseek" ret: "netbsd32_long" args: "int" "netbsd32_long" "int" */
#define netbsd32_SYS_compat_43_netbsd32_olseek 19
/* syscall: "getpid" ret: "pid_t" args: */
@ -117,11 +119,13 @@
/* syscall: "netbsd32_kill" ret: "int" args: "int" "int" */
#define netbsd32_SYS_netbsd32_kill 37
/* syscall: "compat_43_netbsd32_stat43" ret: "int" args: "const netbsd32_charp" "netbsd32_stat43p_t" */
#define netbsd32_SYS_compat_43_netbsd32_stat43 38
/* syscall: "getppid" ret: "pid_t" args: */
#define netbsd32_SYS_getppid 39
/* syscall: "compat_43_netbsd32_lstat43" ret: "int" args: "const netbsd32_charp" "netbsd32_stat43p_t" */
#define netbsd32_SYS_compat_43_netbsd32_lstat43 40
/* syscall: "netbsd32_dup" ret: "int" args: "int" */
@ -136,16 +140,20 @@
/* syscall: "netbsd32_profil" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" "netbsd32_u_long" "u_int" */
#define netbsd32_SYS_netbsd32_profil 44
#if defined(KTRACE) || !defined(_KERNEL)
/* syscall: "netbsd32_ktrace" ret: "int" args: "const netbsd32_charp" "int" "int" "int" */
#define netbsd32_SYS_netbsd32_ktrace 45
#else
/* 45 is excluded netbsd32_ktrace */
#endif
/* syscall: "netbsd32_sigaction" ret: "int" args: "int" "const netbsd32_sigactionp_t" "netbsd32_sigactionp_t" */
#define netbsd32_SYS_netbsd32_sigaction 46
/* syscall: "getgid" ret: "gid_t" args: */
#define netbsd32_SYS_getgid 47
/* syscall: "compat_13_sigprocmask13" ret: "int" args: "int" "int" */
#define netbsd32_SYS_compat_13_sigprocmask13 48
/* syscall: "netbsd32___getlogin" ret: "int" args: "netbsd32_charp" "u_int" */
@ -157,13 +165,16 @@
/* syscall: "netbsd32_acct" ret: "int" args: "const netbsd32_charp" */
#define netbsd32_SYS_netbsd32_acct 51
/* syscall: "compat_13_sigpending13" ret: "int" args: */
#define netbsd32_SYS_compat_13_sigpending13 52
/* syscall: "compat_13_netbsd32_sigaltstack13" ret: "int" args: "const netbsd32_sigaltstack13p_t" "netbsd32_sigaltstack13p_t" */
#define netbsd32_SYS_compat_13_netbsd32_sigaltstack13 53
/* syscall: "netbsd32_ioctl" ret: "int" args: "int" "netbsd32_u_long" "..." */
#define netbsd32_SYS_netbsd32_ioctl 54
/* syscall: "compat_12_netbsd32_reboot" ret: "int" args: "int" */
#define netbsd32_SYS_compat_12_netbsd32_reboot 55
/* syscall: "netbsd32_revoke" ret: "int" args: "const netbsd32_charp" */
@ -184,12 +195,16 @@
/* syscall: "netbsd32_chroot" ret: "int" args: "const netbsd32_charp" */
#define netbsd32_SYS_netbsd32_chroot 61
/* syscall: "compat_43_netbsd32_fstat43" ret: "int" args: "int" "netbsd32_stat43p_t" */
#define netbsd32_SYS_compat_43_netbsd32_fstat43 62
/* syscall: "compat_43_netbsd32_ogetkerninfo" ret: "int" args: "int" "netbsd32_charp" "netbsd32_intp" "int" */
#define netbsd32_SYS_compat_43_netbsd32_ogetkerninfo 63
/* syscall: "compat_43_ogetpagesize" ret: "int" args: */
#define netbsd32_SYS_compat_43_ogetpagesize 64
/* syscall: "compat_12_netbsd32_msync" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" */
#define netbsd32_SYS_compat_12_netbsd32_msync 65
/* syscall: "vfork" ret: "int" args: */
@ -203,6 +218,7 @@
/* syscall: "netbsd32_sstk" ret: "int" args: "int" */
#define netbsd32_SYS_netbsd32_sstk 70
/* syscall: "compat_43_netbsd32_ommap" ret: "int" args: "netbsd32_caddr_t" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" */
#define netbsd32_SYS_compat_43_netbsd32_ommap 71
/* syscall: "vadvise" ret: "int" args: "int" */
@ -237,17 +253,22 @@
/* syscall: "netbsd32_setitimer" ret: "int" args: "int" "const netbsd32_itimervalp_t" "netbsd32_itimervalp_t" */
#define netbsd32_SYS_netbsd32_setitimer 83
/* syscall: "compat_43_owait" ret: "int" args: */
#define netbsd32_SYS_compat_43_owait 84
/* syscall: "compat_12_netbsd32_oswapon" ret: "int" args: "const netbsd32_charp" */
#define netbsd32_SYS_compat_12_netbsd32_oswapon 85
/* syscall: "netbsd32_getitimer" ret: "int" args: "int" "netbsd32_itimervalp_t" */
#define netbsd32_SYS_netbsd32_getitimer 86
/* syscall: "compat_43_netbsd32_ogethostname" ret: "int" args: "netbsd32_charp" "u_int" */
#define netbsd32_SYS_compat_43_netbsd32_ogethostname 87
/* syscall: "compat_43_netbsd32_osethostname" ret: "int" args: "netbsd32_charp" "u_int" */
#define netbsd32_SYS_compat_43_netbsd32_osethostname 88
/* syscall: "compat_43_ogetdtablesize" ret: "int" args: */
#define netbsd32_SYS_compat_43_ogetdtablesize 89
/* syscall: "netbsd32_dup2" ret: "int" args: "int" "int" */
@ -271,15 +292,19 @@
/* syscall: "netbsd32_connect" ret: "int" args: "int" "const netbsd32_sockaddrp_t" "int" */
#define netbsd32_SYS_netbsd32_connect 98
/* syscall: "compat_43_netbsd32_oaccept" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_intp" */
#define netbsd32_SYS_compat_43_netbsd32_oaccept 99
/* syscall: "netbsd32_getpriority" ret: "int" args: "int" "int" */
#define netbsd32_SYS_netbsd32_getpriority 100
/* syscall: "compat_43_netbsd32_osend" ret: "int" args: "int" "netbsd32_caddr_t" "int" "int" */
#define netbsd32_SYS_compat_43_netbsd32_osend 101
/* syscall: "compat_43_netbsd32_orecv" ret: "int" args: "int" "netbsd32_caddr_t" "int" "int" */
#define netbsd32_SYS_compat_43_netbsd32_orecv 102
/* syscall: "compat_13_sigreturn13" ret: "int" args: "netbsd32_sigcontextp_t" */
#define netbsd32_SYS_compat_13_sigreturn13 103
/* syscall: "netbsd32_bind" ret: "int" args: "int" "const netbsd32_sockaddrp_t" "int" */
@ -292,20 +317,30 @@
#define netbsd32_SYS_netbsd32_listen 106
/* 107 is obsolete vtimes */
/* syscall: "compat_43_netbsd32_osigvec" ret: "int" args: "int" "netbsd32_sigvecp_t" "netbsd32_sigvecp_t" */
#define netbsd32_SYS_compat_43_netbsd32_osigvec 108
#ifdef COMPAT_43
/* syscall: "compat_43_netbsd32_sigblock" ret: "int" args: "int" */
#define netbsd32_SYS_compat_43_netbsd32_sigblock 109
/* syscall: "compat_43_netbsd32_sigsetmask" ret: "int" args: "int" */
#define netbsd32_SYS_compat_43_netbsd32_sigsetmask 110
#else
/* 109 is obsolete sigblock */
/* 110 is obsolete sigsetmask */
#endif
/* syscall: "compat_13_sigsuspend13" ret: "int" args: "int" */
#define netbsd32_SYS_compat_13_sigsuspend13 111
/* syscall: "compat_43_netbsd32_osigstack" ret: "int" args: "netbsd32_sigstackp_t" "netbsd32_sigstackp_t" */
#define netbsd32_SYS_compat_43_netbsd32_osigstack 112
/* syscall: "compat_43_netbsd32_orecvmsg" ret: "int" args: "int" "netbsd32_omsghdrp_t" "int" */
#define netbsd32_SYS_compat_43_netbsd32_orecvmsg 113
/* syscall: "compat_43_netbsd32_osendmsg" ret: "int" args: "int" "netbsd32_caddr_t" "int" */
#define netbsd32_SYS_compat_43_netbsd32_osendmsg 114
/* 115 is obsolete vtrace */
@ -334,6 +369,7 @@
/* syscall: "netbsd32_fchmod" ret: "int" args: "int" "mode_t" */
#define netbsd32_SYS_netbsd32_fchmod 124
/* syscall: "compat_43_netbsd32_orecvfrom" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_size_t" "int" "netbsd32_caddr_t" "netbsd32_intp" */
#define netbsd32_SYS_compat_43_netbsd32_orecvfrom 125
/* syscall: "netbsd32_setreuid" ret: "int" args: "uid_t" "uid_t" */
@ -345,8 +381,10 @@
/* syscall: "netbsd32_rename" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
#define netbsd32_SYS_netbsd32_rename 128
/* syscall: "compat_43_netbsd32_otruncate" ret: "int" args: "const netbsd32_charp" "netbsd32_long" */
#define netbsd32_SYS_compat_43_netbsd32_otruncate 129
/* syscall: "compat_43_netbsd32_oftruncate" ret: "int" args: "int" "netbsd32_long" */
#define netbsd32_SYS_compat_43_netbsd32_oftruncate 130
/* syscall: "netbsd32_flock" ret: "int" args: "int" "int" */
@ -377,34 +415,52 @@
/* syscall: "netbsd32_adjtime" ret: "int" args: "const netbsd32_timevalp_t" "netbsd32_timevalp_t" */
#define netbsd32_SYS_netbsd32_adjtime 140
/* syscall: "compat_43_netbsd32_ogetpeername" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_intp" */
#define netbsd32_SYS_compat_43_netbsd32_ogetpeername 141
/* syscall: "compat_43_ogethostid" ret: "int32_t" args: */
#define netbsd32_SYS_compat_43_ogethostid 142
#ifdef COMPAT_43
/* syscall: "compat_43_netbsd32_sethostid" ret: "int" args: "int32_t" */
#define netbsd32_SYS_compat_43_netbsd32_sethostid 143
#else
/* 143 is obsolete sethostid */
#endif
/* syscall: "compat_43_netbsd32_ogetrlimit" ret: "int" args: "int" "netbsd32_orlimitp_t" */
#define netbsd32_SYS_compat_43_netbsd32_ogetrlimit 144
/* syscall: "compat_43_netbsd32_osetrlimit" ret: "int" args: "int" "const netbsd32_orlimitp_t" */
#define netbsd32_SYS_compat_43_netbsd32_osetrlimit 145
#ifdef COMPAT_43
/* syscall: "compat_43_netbsd32_killpg" ret: "int" args: "int" "int" */
#define netbsd32_SYS_compat_43_netbsd32_killpg 146
#else
/* 146 is obsolete killpg */
#endif
/* syscall: "setsid" ret: "int" args: */
#define netbsd32_SYS_setsid 147
/* syscall: "netbsd32_quotactl" ret: "int" args: "const netbsd32_charp" "int" "int" "netbsd32_caddr_t" */
#define netbsd32_SYS_netbsd32_quotactl 148
/* syscall: "compat_43_oquota" ret: "int" args: */
#define netbsd32_SYS_compat_43_oquota 149
/* syscall: "compat_43_netbsd32_ogetsockname" ret: "int" args: "int" "netbsd32_caddr_t" "netbsd32_intp" */
#define netbsd32_SYS_compat_43_netbsd32_ogetsockname 150
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
/* syscall: "netbsd32_nfssvc" ret: "int" args: "int" "netbsd32_voidp" */
#define netbsd32_SYS_netbsd32_nfssvc 155
#else
/* 155 is excluded netbsd32_nfssvc */
#endif
/* syscall: "compat_43_netbsd32_ogetdirentries" ret: "int" args: "int" "netbsd32_charp" "u_int" "netbsd32_longp" */
#define netbsd32_SYS_compat_43_netbsd32_ogetdirentries 156
/* syscall: "netbsd32_statfs" ret: "int" args: "const netbsd32_charp" "netbsd32_statfsp_t" */
@ -413,28 +469,46 @@
/* syscall: "netbsd32_fstatfs" ret: "int" args: "int" "netbsd32_statfsp_t" */
#define netbsd32_SYS_netbsd32_fstatfs 158
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
/* syscall: "netbsd32_getfh" ret: "int" args: "const netbsd32_charp" "netbsd32_fhandlep_t" */
#define netbsd32_SYS_netbsd32_getfh 161
#else
/* 161 is excluded netbsd32_getfh */
#endif
/* syscall: "compat_09_netbsd32_ogetdomainname" ret: "int" args: "netbsd32_charp" "int" */
#define netbsd32_SYS_compat_09_netbsd32_ogetdomainname 162
/* syscall: "compat_09_netbsd32_osetdomainname" ret: "int" args: "netbsd32_charp" "int" */
#define netbsd32_SYS_compat_09_netbsd32_osetdomainname 163
/* syscall: "compat_09_netbsd32_uname" ret: "int" args: "netbsd32_outsnamep_t" */
#define netbsd32_SYS_compat_09_netbsd32_uname 164
/* syscall: "netbsd32_sysarch" ret: "int" args: "int" "netbsd32_voidp" */
#define netbsd32_SYS_netbsd32_sysarch 165
#if defined(SYSVSEM) || !defined(_KERNEL)
/* syscall: "compat_10_osemsys" ret: "int" args: "int" "int" "int" "int" "int" */
#define netbsd32_SYS_compat_10_osemsys 169
#else
/* 169 is excluded netbsd32_sys_semsys */
#endif
#if defined(SYSVMSG) || !defined(_KERNEL)
/* syscall: "compat_10_omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
#define netbsd32_SYS_compat_10_omsgsys 170
#else
/* 170 is excluded netbsd32_sys_msgsys */
#endif
#if defined(SYSVSHM) || !defined(_KERNEL)
/* syscall: "compat_10_oshmsys" ret: "int" args: "int" "int" "int" "int" */
#define netbsd32_SYS_compat_10_oshmsys 171
#else
/* 171 is excluded netbsd32_sys_shmsys */
#endif
/* syscall: "netbsd32_pread" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "off_t" */
#define netbsd32_SYS_netbsd32_pread 173
@ -456,6 +530,7 @@
/* syscall: "netbsd32_seteuid" ret: "int" args: "uid_t" */
#define netbsd32_SYS_netbsd32_seteuid 183
#if defined(LFS) || !defined(_KERNEL)
/* syscall: "lfs_bmapv" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_block_infop_t" "int" */
#define netbsd32_SYS_lfs_bmapv 184
@ -468,14 +543,19 @@
/* syscall: "lfs_segwait" ret: "int" args: "netbsd32_fsid_tp_t" "netbsd32_timevalp_t" */
#define netbsd32_SYS_lfs_segwait 187
#else
/* 184 is excluded netbsd32_sys_lfs_bmapv */
/* 185 is excluded netbsd32_sys_lfs_markv */
/* 186 is excluded netbsd32_sys_lfs_segclean */
/* 187 is excluded netbsd32_sys_lfs_segwait */
#endif
/* syscall: "compat_12_netbsd32_stat12" ret: "int" args: "const netbsd32_charp" "netbsd32_stat12p_t" */
#define netbsd32_SYS_compat_12_netbsd32_stat12 188
/* syscall: "compat_12_netbsd32_fstat12" ret: "int" args: "int" "netbsd32_stat12p_t" */
#define netbsd32_SYS_compat_12_netbsd32_fstat12 189
/* syscall: "compat_12_netbsd32_lstat12" ret: "int" args: "const netbsd32_charp" "netbsd32_stat12p_t" */
#define netbsd32_SYS_compat_12_netbsd32_lstat12 190
/* syscall: "netbsd32_pathconf" ret: "netbsd32_long" args: "const netbsd32_charp" "int" */
@ -490,6 +570,7 @@
/* syscall: "netbsd32_setrlimit" ret: "int" args: "int" "const netbsd32_rlimitp_t" */
#define netbsd32_SYS_netbsd32_setrlimit 195
/* syscall: "compat_12_netbsd32_getdirentries" ret: "int" args: "int" "netbsd32_charp" "u_int" "netbsd32_longp" */
#define netbsd32_SYS_compat_12_netbsd32_getdirentries 196
/* syscall: "netbsd32_mmap" ret: "netbsd32_voidp" args: "netbsd32_voidp" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" "off_t" */
@ -531,6 +612,8 @@
/* syscall: "netbsd32_poll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "int" */
#define netbsd32_SYS_netbsd32_poll 209
#if defined(LKM) || !defined(_KERNEL)
#else /* !LKM || !_KERNEL */
/* 210 is excluded lkmnosys */
/* 211 is excluded lkmnosys */
/* 212 is excluded lkmnosys */
@ -541,6 +624,9 @@
/* 217 is excluded lkmnosys */
/* 218 is excluded lkmnosys */
/* 219 is excluded lkmnosys */
#endif /* !LKM || !_KERNEL */
#if defined(SYSVSEM) || !defined(_KERNEL)
/* syscall: "compat_14_netbsd32___semctl" ret: "int" args: "int" "int" "int" "netbsd32_semunu_t" */
#define netbsd32_SYS_compat_14_netbsd32___semctl 220
/* syscall: "netbsd32_semget" ret: "int" args: "netbsd32_key_t" "int" "int" */
@ -552,10 +638,14 @@
/* syscall: "netbsd32_semconfig" ret: "int" args: "int" */
#define netbsd32_SYS_netbsd32_semconfig 223
#else
/* 220 is excluded compat_14_netbsd32_semctl */
/* 221 is excluded netbsd32_semget */
/* 222 is excluded netbsd32_semop */
/* 223 is excluded netbsd32_semconfig */
#endif
#if defined(SYSVMSG) || !defined(_KERNEL)
/* syscall: "compat_14_netbsd32_msgctl" ret: "int" args: "int" "int" "netbsd32_msqid_dsp_t" */
#define netbsd32_SYS_compat_14_netbsd32_msgctl 224
/* syscall: "netbsd32_msgget" ret: "int" args: "netbsd32_key_t" "int" */
@ -567,13 +657,17 @@
/* syscall: "netbsd32_msgrcv" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "netbsd32_long" "int" */
#define netbsd32_SYS_netbsd32_msgrcv 227
#else
/* 224 is excluded compat_14_netbsd32_msgctl */
/* 225 is excluded netbsd32_msgget */
/* 226 is excluded netbsd32_msgsnd */
/* 227 is excluded netbsd32_msgrcv */
#endif
#if defined(SYSVSHM) || !defined(_KERNEL)
/* syscall: "netbsd32_shmat" ret: "netbsd32_voidp" args: "int" "const netbsd32_voidp" "int" */
#define netbsd32_SYS_netbsd32_shmat 228
/* syscall: "compat_14_netbsd32_shmctl" ret: "int" args: "int" "int" "netbsd32_shmid_dsp_t" */
#define netbsd32_SYS_compat_14_netbsd32_shmctl 229
/* syscall: "netbsd32_shmdt" ret: "int" args: "const netbsd32_voidp" */
@ -582,10 +676,12 @@
/* syscall: "netbsd32_shmget" ret: "int" args: "netbsd32_key_t" "netbsd32_size_t" "int" */
#define netbsd32_SYS_netbsd32_shmget 231
#else
/* 228 is excluded netbsd32_shmat */
/* 229 is excluded compat_14_netbsd32_shmctl */
/* 230 is excluded netbsd32_shmdt */
/* 231 is excluded netbsd32_shmget */
#endif
/* syscall: "netbsd32_clock_gettime" ret: "int" args: "netbsd32_clockid_t" "netbsd32_timespecp_t" */
#define netbsd32_SYS_netbsd32_clock_gettime 232
@ -652,10 +748,13 @@
/* syscall: "netbsd32_getsid" ret: "pid_t" args: "pid_t" */
#define netbsd32_SYS_netbsd32_getsid 286
#if defined(KTRACE) || !defined(_KERNEL)
/* syscall: "netbsd32_fktrace" ret: "int" args: "const int" "int" "int" "int" */
#define netbsd32_SYS_netbsd32_fktrace 288
#else
/* 288 is excluded netbsd32_fktrace */
#endif
/* syscall: "netbsd32_preadv" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_iovecp_t" "int" "int" "off_t" */
#define netbsd32_SYS_netbsd32_preadv 289
@ -674,8 +773,8 @@
/* syscall: "netbsd32___sigsuspend14" ret: "int" args: "const netbsd32_sigsetp_t" */
#define netbsd32_SYS_netbsd32___sigsuspend14 294
/* syscall: "netbsd32___sigreturn14" ret: "int" args: "netbsd32_sigcontextp_t" */
#define netbsd32_SYS_netbsd32___sigreturn14 295
/* syscall: "compat_16_netbsd32___sigreturn14" ret: "int" args: "netbsd32_sigcontextp_t" */
#define netbsd32_SYS_compat_16_netbsd32___sigreturn14 295
/* syscall: "netbsd32___getcwd" ret: "int" args: "netbsd32_charp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32___getcwd 296
@ -692,18 +791,27 @@
/* syscall: "netbsd32_fhstatfs" ret: "int" args: "netbsd32_fhandlep_t" "netbsd32_statp_t" */
#define netbsd32_SYS_netbsd32_fhstatfs 300
#if defined(SYSVSEM) || !defined(_KERNEL)
/* syscall: "netbsd32___semctl14" ret: "int" args: "int" "int" "int" "union netbsd32_semun3 *" */
#define netbsd32_SYS_netbsd32___semctl14 301
#else
/* 301 is excluded __semctl14 */
#endif
#if defined(SYSVMSG) || !defined(_KERNEL)
/* syscall: "netbsd32___msgctl13" ret: "int" args: "int" "int" "netbsd32_msqid_dsp_t" */
#define netbsd32_SYS_netbsd32___msgctl13 302
#else
/* 302 is excluded __msgctl13 */
#endif
#if defined(SYSVSHM) || !defined(_KERNEL)
/* syscall: "netbsd32___shmctl13" ret: "int" args: "int" "int" "netbsd32_shmid_dsp_t" */
#define netbsd32_SYS_netbsd32___shmctl13 303
#else
/* 303 is excluded __shmctl13 */
#endif
/* syscall: "netbsd32_lchflags" ret: "int" args: "const netbsd32_charp" "netbsd32_u_long" */
#define netbsd32_SYS_netbsd32_lchflags 304
@ -713,6 +821,12 @@
/* syscall: "netbsd32_utrace" ret: "int" args: "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32_utrace 306
/* syscall: "netbsd32_getcontext" ret: "int" args: "netbsd32_ucontextp" */
#define netbsd32_SYS_netbsd32_getcontext 307
/* syscall: "netbsd32_setcontext" ret: "int" args: "netbsd32_ucontextp" "uint32_t" "netbsd32_lwpidp" */
#define netbsd32_SYS_netbsd32_setcontext 308
/* syscall: "netbsd32___sigaction_sigtramp" ret: "int" args: "int" "const netbsd32_sigactionp_t" "netbsd32_sigactionp_t" "netbsd32_voidp" "int" */
#define netbsd32_SYS_netbsd32___sigaction_sigtramp 340

View File

@ -1,10 +1,10 @@
/* $NetBSD: netbsd32_syscallargs.h,v 1.29 2003/01/18 23:39:59 thorpej Exp $ */
/* $NetBSD: netbsd32_syscallargs.h,v 1.30 2003/10/13 18:54:57 fvdl Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.23 2003/01/18 08:28:26 thorpej Exp
* created from NetBSD: syscalls.master,v 1.24 2003/10/13 18:53:35 fvdl Exp
*/
#ifndef _netbsd32_SYS__SYSCALLARGS_H_
@ -217,6 +217,7 @@ struct netbsd32_profil_args {
syscallarg(netbsd32_u_long) offset;
syscallarg(u_int) scale;
};
#if defined(KTRACE) || !defined(_KERNEL)
struct netbsd32_ktrace_args {
syscallarg(const netbsd32_charp) fname;
@ -224,6 +225,8 @@ struct netbsd32_ktrace_args {
syscallarg(int) facs;
syscallarg(int) pid;
};
#else
#endif
struct netbsd32_sigaction_args {
syscallarg(int) signum;
@ -488,6 +491,7 @@ struct compat_43_netbsd32_osigvec_args {
syscallarg(netbsd32_sigvecp_t) nsv;
syscallarg(netbsd32_sigvecp_t) osv;
};
#ifdef COMPAT_43
struct compat_43_netbsd32_sigblock_args {
syscallarg(int) mask;
@ -496,6 +500,8 @@ struct compat_43_netbsd32_sigblock_args {
struct compat_43_netbsd32_sigsetmask_args {
syscallarg(int) mask;
};
#else
#endif
struct compat_13_netbsd32_sigsuspend_args {
syscallarg(int) mask;
@ -653,10 +659,13 @@ struct compat_43_netbsd32_ogetpeername_args {
syscallarg(netbsd32_caddr_t) asa;
syscallarg(netbsd32_intp) alen;
};
#ifdef COMPAT_43
struct compat_43_netbsd32_sethostid_args {
syscallarg(int32_t) hostid;
};
#else
#endif
struct compat_43_netbsd32_ogetrlimit_args {
syscallarg(int) which;
@ -667,11 +676,14 @@ struct compat_43_netbsd32_osetrlimit_args {
syscallarg(int) which;
syscallarg(const netbsd32_orlimitp_t) rlp;
};
#ifdef COMPAT_43
struct compat_43_netbsd32_killpg_args {
syscallarg(int) pgid;
syscallarg(int) signum;
};
#else
#endif
struct netbsd32_quotactl_args {
syscallarg(const netbsd32_charp) path;
@ -685,11 +697,14 @@ struct compat_43_netbsd32_ogetsockname_args {
syscallarg(netbsd32_caddr_t) asa;
syscallarg(netbsd32_intp) alen;
};
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
struct netbsd32_nfssvc_args {
syscallarg(int) flag;
syscallarg(netbsd32_voidp) argp;
};
#else
#endif
struct compat_43_netbsd32_ogetdirentries_args {
syscallarg(int) fd;
@ -707,11 +722,14 @@ struct netbsd32_fstatfs_args {
syscallarg(int) fd;
syscallarg(netbsd32_statfsp_t) buf;
};
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
struct netbsd32_getfh_args {
syscallarg(const netbsd32_charp) fname;
syscallarg(netbsd32_fhandlep_t) fhp;
};
#else
#endif
struct compat_09_netbsd32_ogetdomainname_args {
syscallarg(netbsd32_charp) domainname;
@ -731,6 +749,7 @@ struct netbsd32_sysarch_args {
syscallarg(int) op;
syscallarg(netbsd32_voidp) parms;
};
#if defined(SYSVSEM) || !defined(_KERNEL)
struct compat_10_netbsd32_sys_semsys_args {
syscallarg(int) which;
@ -739,6 +758,9 @@ struct compat_10_netbsd32_sys_semsys_args {
syscallarg(int) a4;
syscallarg(int) a5;
};
#else
#endif
#if defined(SYSVMSG) || !defined(_KERNEL)
struct compat_10_netbsd32_sys_msgsys_args {
syscallarg(int) which;
@ -748,6 +770,9 @@ struct compat_10_netbsd32_sys_msgsys_args {
syscallarg(int) a5;
syscallarg(int) a6;
};
#else
#endif
#if defined(SYSVSHM) || !defined(_KERNEL)
struct compat_10_netbsd32_sys_shmsys_args {
syscallarg(int) which;
@ -755,6 +780,8 @@ struct compat_10_netbsd32_sys_shmsys_args {
syscallarg(int) a3;
syscallarg(int) a4;
};
#else
#endif
struct netbsd32_pread_args {
syscallarg(int) fd;
@ -791,6 +818,7 @@ struct netbsd32_setegid_args {
struct netbsd32_seteuid_args {
syscallarg(uid_t) euid;
};
#if defined(LFS) || !defined(_KERNEL)
struct netbsd32_sys_lfs_bmapv_args {
syscallarg(netbsd32_fsid_tp_t) fsidp;
@ -813,6 +841,8 @@ struct netbsd32_sys_lfs_segwait_args {
syscallarg(netbsd32_fsid_tp_t) fsidp;
syscallarg(netbsd32_timevalp_t) tv;
};
#else
#endif
struct compat_12_netbsd32_stat12_args {
syscallarg(const netbsd32_charp) path;
@ -927,6 +957,10 @@ struct netbsd32_poll_args {
syscallarg(u_int) nfds;
syscallarg(int) timeout;
};
#if defined(LKM) || !defined(_KERNEL)
#else /* !LKM || !_KERNEL */
#endif /* !LKM || !_KERNEL */
#if defined(SYSVSEM) || !defined(_KERNEL)
struct compat_14_netbsd32___semctl_args {
syscallarg(int) semid;
@ -950,6 +984,9 @@ struct netbsd32_semop_args {
struct netbsd32_semconfig_args {
syscallarg(int) flag;
};
#else
#endif
#if defined(SYSVMSG) || !defined(_KERNEL)
struct compat_14_netbsd32_msgctl_args {
syscallarg(int) msqid;
@ -976,6 +1013,9 @@ struct netbsd32_msgrcv_args {
syscallarg(netbsd32_long) msgtyp;
syscallarg(int) msgflg;
};
#else
#endif
#if defined(SYSVSHM) || !defined(_KERNEL)
struct netbsd32_shmat_args {
syscallarg(int) shmid;
@ -998,6 +1038,8 @@ struct netbsd32_shmget_args {
syscallarg(netbsd32_size_t) size;
syscallarg(int) shmflg;
};
#else
#endif
struct netbsd32_clock_gettime_args {
syscallarg(netbsd32_clockid_t) clock_id;
@ -1109,6 +1151,7 @@ struct netbsd32___posix_lchown_args {
struct netbsd32_getsid_args {
syscallarg(pid_t) pid;
};
#if defined(KTRACE) || !defined(_KERNEL)
struct netbsd32_fktrace_args {
syscallarg(const int) fd;
@ -1116,6 +1159,8 @@ struct netbsd32_fktrace_args {
syscallarg(int) facs;
syscallarg(int) pid;
};
#else
#endif
struct netbsd32_preadv_args {
syscallarg(int) fd;
@ -1153,7 +1198,7 @@ struct netbsd32___sigsuspend14_args {
syscallarg(const netbsd32_sigsetp_t) set;
};
struct netbsd32___sigreturn14_args {
struct compat_16_netbsd32___sigreturn14_args {
syscallarg(netbsd32_sigcontextp_t) sigcntxp;
};
@ -1180,6 +1225,7 @@ struct netbsd32_fhstatfs_args {
syscallarg(netbsd32_fhandlep_t) fhp;
syscallarg(netbsd32_statp_t) buf;
};
#if defined(SYSVSEM) || !defined(_KERNEL)
struct netbsd32___semctl14_args {
syscallarg(int) semid;
@ -1187,18 +1233,26 @@ struct netbsd32___semctl14_args {
syscallarg(int) cmd;
syscallarg(union netbsd32_semun3 *) arg;
};
#else
#endif
#if defined(SYSVMSG) || !defined(_KERNEL)
struct netbsd32___msgctl13_args {
syscallarg(int) msqid;
syscallarg(int) cmd;
syscallarg(netbsd32_msqid_dsp_t) buf;
};
#else
#endif
#if defined(SYSVSHM) || !defined(_KERNEL)
struct netbsd32___shmctl13_args {
syscallarg(int) shmid;
syscallarg(int) cmd;
syscallarg(netbsd32_shmid_dsp_t) buf;
};
#else
#endif
struct netbsd32_lchflags_args {
syscallarg(const netbsd32_charp) path;
@ -1211,6 +1265,16 @@ struct netbsd32_utrace_args {
syscallarg(netbsd32_size_t) len;
};
struct netbsd32_getcontext_args {
syscallarg(netbsd32_ucontextp) ucp;
};
struct netbsd32_setcontext_args {
syscallarg(netbsd32_ucontextp) ucp;
syscallarg(uint32_t) flags;
syscallarg(netbsd32_lwpidp) new_lwp;
};
struct netbsd32___sigaction_sigtramp_args {
syscallarg(int) signum;
syscallarg(const netbsd32_sigactionp_t) nsa;
@ -1224,303 +1288,535 @@ struct netbsd32___sigaction_sigtramp_args {
*/
int netbsd32_exit(struct lwp *, void *, register_t *);
int sys_fork(struct lwp *, void *, register_t *);
int netbsd32_read(struct lwp *, void *, register_t *);
int netbsd32_write(struct lwp *, void *, register_t *);
int netbsd32_open(struct lwp *, void *, register_t *);
int netbsd32_close(struct lwp *, void *, register_t *);
int netbsd32_wait4(struct lwp *, void *, register_t *);
int compat_43_netbsd32_ocreat(struct lwp *, void *, register_t *);
int netbsd32_link(struct lwp *, void *, register_t *);
int netbsd32_unlink(struct lwp *, void *, register_t *);
int netbsd32_chdir(struct lwp *, void *, register_t *);
int netbsd32_fchdir(struct lwp *, void *, register_t *);
int netbsd32_mknod(struct lwp *, void *, register_t *);
int netbsd32_chmod(struct lwp *, void *, register_t *);
int netbsd32_chown(struct lwp *, void *, register_t *);
int netbsd32_break(struct lwp *, void *, register_t *);
int netbsd32_getfsstat(struct lwp *, void *, register_t *);
int compat_43_netbsd32_olseek(struct lwp *, void *, register_t *);
int sys_getpid(struct lwp *, void *, register_t *);
int netbsd32_mount(struct lwp *, void *, register_t *);
int netbsd32_unmount(struct lwp *, void *, register_t *);
int netbsd32_setuid(struct lwp *, void *, register_t *);
int sys_getuid(struct lwp *, void *, register_t *);
int sys_geteuid(struct lwp *, void *, register_t *);
int netbsd32_ptrace(struct lwp *, void *, register_t *);
int netbsd32_recvmsg(struct lwp *, void *, register_t *);
int netbsd32_sendmsg(struct lwp *, void *, register_t *);
int netbsd32_recvfrom(struct lwp *, void *, register_t *);
int netbsd32_accept(struct lwp *, void *, register_t *);
int netbsd32_getpeername(struct lwp *, void *, register_t *);
int netbsd32_getsockname(struct lwp *, void *, register_t *);
int netbsd32_access(struct lwp *, void *, register_t *);
int netbsd32_chflags(struct lwp *, void *, register_t *);
int netbsd32_fchflags(struct lwp *, void *, register_t *);
int sys_sync(struct lwp *, void *, register_t *);
int netbsd32_kill(struct lwp *, void *, register_t *);
int compat_43_netbsd32_stat43(struct lwp *, void *, register_t *);
int sys_getppid(struct lwp *, void *, register_t *);
int compat_43_netbsd32_lstat43(struct lwp *, void *, register_t *);
int netbsd32_dup(struct lwp *, void *, register_t *);
int sys_pipe(struct lwp *, void *, register_t *);
int sys_getegid(struct lwp *, void *, register_t *);
int netbsd32_profil(struct lwp *, void *, register_t *);
#if defined(KTRACE) || !defined(_KERNEL)
int netbsd32_ktrace(struct lwp *, void *, register_t *);
#else
#endif
int netbsd32_sigaction(struct lwp *, void *, register_t *);
int sys_getgid(struct lwp *, void *, register_t *);
int compat_13_netbsd32_sigprocmask(struct lwp *, void *, register_t *);
int netbsd32___getlogin(struct lwp *, void *, register_t *);
int netbsd32_setlogin(struct lwp *, void *, register_t *);
int netbsd32_acct(struct lwp *, void *, register_t *);
int compat_13_sys_sigpending(struct lwp *, void *, register_t *);
int compat_13_netbsd32_sigaltstack13(struct lwp *, void *, register_t *);
int netbsd32_ioctl(struct lwp *, void *, register_t *);
int compat_12_netbsd32_reboot(struct lwp *, void *, register_t *);
int netbsd32_revoke(struct lwp *, void *, register_t *);
int netbsd32_symlink(struct lwp *, void *, register_t *);
int netbsd32_readlink(struct lwp *, void *, register_t *);
int netbsd32_execve(struct lwp *, void *, register_t *);
int netbsd32_umask(struct lwp *, void *, register_t *);
int netbsd32_chroot(struct lwp *, void *, register_t *);
int compat_43_netbsd32_fstat43(struct lwp *, void *, register_t *);
int compat_43_netbsd32_ogetkerninfo(struct lwp *, void *, register_t *);
int compat_43_sys_getpagesize(struct lwp *, void *, register_t *);
int compat_12_netbsd32_msync(struct lwp *, void *, register_t *);
int sys_vfork(struct lwp *, void *, register_t *);
int netbsd32_sbrk(struct lwp *, void *, register_t *);
int netbsd32_sstk(struct lwp *, void *, register_t *);
int compat_43_netbsd32_ommap(struct lwp *, void *, register_t *);
int netbsd32_ovadvise(struct lwp *, void *, register_t *);
int netbsd32_munmap(struct lwp *, void *, register_t *);
int netbsd32_mprotect(struct lwp *, void *, register_t *);
int netbsd32_madvise(struct lwp *, void *, register_t *);
int netbsd32_mincore(struct lwp *, void *, register_t *);
int netbsd32_getgroups(struct lwp *, void *, register_t *);
int netbsd32_setgroups(struct lwp *, void *, register_t *);
int sys_getpgrp(struct lwp *, void *, register_t *);
int netbsd32_setpgid(struct lwp *, void *, register_t *);
int netbsd32_setitimer(struct lwp *, void *, register_t *);
int compat_43_sys_wait(struct lwp *, void *, register_t *);
int compat_12_netbsd32_oswapon(struct lwp *, void *, register_t *);
int netbsd32_getitimer(struct lwp *, void *, register_t *);
int compat_43_netbsd32_ogethostname(struct lwp *, void *, register_t *);
int compat_43_netbsd32_osethostname(struct lwp *, void *, register_t *);
int compat_43_sys_getdtablesize(struct lwp *, void *, register_t *);
int netbsd32_dup2(struct lwp *, void *, register_t *);
int netbsd32_fcntl(struct lwp *, void *, register_t *);
int netbsd32_select(struct lwp *, void *, register_t *);
int netbsd32_fsync(struct lwp *, void *, register_t *);
int netbsd32_setpriority(struct lwp *, void *, register_t *);
int netbsd32_socket(struct lwp *, void *, register_t *);
int netbsd32_connect(struct lwp *, void *, register_t *);
int compat_43_netbsd32_oaccept(struct lwp *, void *, register_t *);
int netbsd32_getpriority(struct lwp *, void *, register_t *);
int compat_43_netbsd32_osend(struct lwp *, void *, register_t *);
int compat_43_netbsd32_orecv(struct lwp *, void *, register_t *);
int compat_13_netbsd32_sigreturn(struct lwp *, void *, register_t *);
int netbsd32_bind(struct lwp *, void *, register_t *);
int netbsd32_setsockopt(struct lwp *, void *, register_t *);
int netbsd32_listen(struct lwp *, void *, register_t *);
int compat_43_netbsd32_osigvec(struct lwp *, void *, register_t *);
#ifdef COMPAT_43
int compat_43_netbsd32_sigblock(struct lwp *, void *, register_t *);
int compat_43_netbsd32_sigsetmask(struct lwp *, void *, register_t *);
#else
#endif
int compat_13_netbsd32_sigsuspend(struct lwp *, void *, register_t *);
int compat_43_netbsd32_osigstack(struct lwp *, void *, register_t *);
int compat_43_netbsd32_orecvmsg(struct lwp *, void *, register_t *);
int compat_43_netbsd32_osendmsg(struct lwp *, void *, register_t *);
int netbsd32_gettimeofday(struct lwp *, void *, register_t *);
int netbsd32_getrusage(struct lwp *, void *, register_t *);
int netbsd32_getsockopt(struct lwp *, void *, register_t *);
int netbsd32_readv(struct lwp *, void *, register_t *);
int netbsd32_writev(struct lwp *, void *, register_t *);
int netbsd32_settimeofday(struct lwp *, void *, register_t *);
int netbsd32_fchown(struct lwp *, void *, register_t *);
int netbsd32_fchmod(struct lwp *, void *, register_t *);
int compat_43_netbsd32_orecvfrom(struct lwp *, void *, register_t *);
int netbsd32_setreuid(struct lwp *, void *, register_t *);
int netbsd32_setregid(struct lwp *, void *, register_t *);
int netbsd32_rename(struct lwp *, void *, register_t *);
int compat_43_netbsd32_otruncate(struct lwp *, void *, register_t *);
int compat_43_netbsd32_oftruncate(struct lwp *, void *, register_t *);
int netbsd32_flock(struct lwp *, void *, register_t *);
int netbsd32_mkfifo(struct lwp *, void *, register_t *);
int netbsd32_sendto(struct lwp *, void *, register_t *);
int netbsd32_shutdown(struct lwp *, void *, register_t *);
int netbsd32_socketpair(struct lwp *, void *, register_t *);
int netbsd32_mkdir(struct lwp *, void *, register_t *);
int netbsd32_rmdir(struct lwp *, void *, register_t *);
int netbsd32_utimes(struct lwp *, void *, register_t *);
int netbsd32_adjtime(struct lwp *, void *, register_t *);
int compat_43_netbsd32_ogetpeername(struct lwp *, void *, register_t *);
int compat_43_sys_gethostid(struct lwp *, void *, register_t *);
#ifdef COMPAT_43
int compat_43_netbsd32_sethostid(struct lwp *, void *, register_t *);
#else
#endif
int compat_43_netbsd32_ogetrlimit(struct lwp *, void *, register_t *);
int compat_43_netbsd32_osetrlimit(struct lwp *, void *, register_t *);
#ifdef COMPAT_43
int compat_43_netbsd32_killpg(struct lwp *, void *, register_t *);
#else
#endif
int sys_setsid(struct lwp *, void *, register_t *);
int netbsd32_quotactl(struct lwp *, void *, register_t *);
int compat_43_sys_quota(struct lwp *, void *, register_t *);
int compat_43_netbsd32_ogetsockname(struct lwp *, void *, register_t *);
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
int netbsd32_nfssvc(struct lwp *, void *, register_t *);
#else
#endif
int compat_43_netbsd32_ogetdirentries(struct lwp *, void *, register_t *);
int netbsd32_statfs(struct lwp *, void *, register_t *);
int netbsd32_fstatfs(struct lwp *, void *, register_t *);
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
int netbsd32_getfh(struct lwp *, void *, register_t *);
#else
#endif
int compat_09_netbsd32_ogetdomainname(struct lwp *, void *, register_t *);
int compat_09_netbsd32_osetdomainname(struct lwp *, void *, register_t *);
int compat_09_netbsd32_uname(struct lwp *, void *, register_t *);
int netbsd32_sysarch(struct lwp *, void *, register_t *);
#if defined(SYSVSEM) || !defined(_KERNEL)
int compat_10_netbsd32_sys_semsys(struct lwp *, void *, register_t *);
#else
#endif
#if defined(SYSVMSG) || !defined(_KERNEL)
int compat_10_netbsd32_sys_msgsys(struct lwp *, void *, register_t *);
#else
#endif
#if defined(SYSVSHM) || !defined(_KERNEL)
int compat_10_netbsd32_sys_shmsys(struct lwp *, void *, register_t *);
#else
#endif
int netbsd32_pread(struct lwp *, void *, register_t *);
int netbsd32_pwrite(struct lwp *, void *, register_t *);
int netbsd32_ntp_gettime(struct lwp *, void *, register_t *);
int netbsd32_ntp_adjtime(struct lwp *, void *, register_t *);
int netbsd32_setgid(struct lwp *, void *, register_t *);
int netbsd32_setegid(struct lwp *, void *, register_t *);
int netbsd32_seteuid(struct lwp *, void *, register_t *);
#if defined(LFS) || !defined(_KERNEL)
int netbsd32_sys_lfs_bmapv(struct lwp *, void *, register_t *);
int netbsd32_sys_lfs_markv(struct lwp *, void *, register_t *);
int netbsd32_sys_lfs_segclean(struct lwp *, void *, register_t *);
int netbsd32_sys_lfs_segwait(struct lwp *, void *, register_t *);
#else
#endif
int compat_12_netbsd32_stat12(struct lwp *, void *, register_t *);
int compat_12_netbsd32_fstat12(struct lwp *, void *, register_t *);
int compat_12_netbsd32_lstat12(struct lwp *, void *, register_t *);
int netbsd32_pathconf(struct lwp *, void *, register_t *);
int netbsd32_fpathconf(struct lwp *, void *, register_t *);
int netbsd32_getrlimit(struct lwp *, void *, register_t *);
int netbsd32_setrlimit(struct lwp *, void *, register_t *);
int compat_12_netbsd32_getdirentries(struct lwp *, void *, register_t *);
int netbsd32_mmap(struct lwp *, void *, register_t *);
int netbsd32_lseek(struct lwp *, void *, register_t *);
int netbsd32_truncate(struct lwp *, void *, register_t *);
int netbsd32_ftruncate(struct lwp *, void *, register_t *);
int netbsd32___sysctl(struct lwp *, void *, register_t *);
int netbsd32_mlock(struct lwp *, void *, register_t *);
int netbsd32_munlock(struct lwp *, void *, register_t *);
int netbsd32_undelete(struct lwp *, void *, register_t *);
int netbsd32_futimes(struct lwp *, void *, register_t *);
int netbsd32_getpgid(struct lwp *, void *, register_t *);
int netbsd32_reboot(struct lwp *, void *, register_t *);
int netbsd32_poll(struct lwp *, void *, register_t *);
#if defined(LKM) || !defined(_KERNEL)
int sys_lkmnosys(struct lwp *, void *, register_t *);
int sys_lkmnosys(struct lwp *, void *, register_t *);
int sys_lkmnosys(struct lwp *, void *, register_t *);
int sys_lkmnosys(struct lwp *, void *, register_t *);
int sys_lkmnosys(struct lwp *, void *, register_t *);
int sys_lkmnosys(struct lwp *, void *, register_t *);
int sys_lkmnosys(struct lwp *, void *, register_t *);
int sys_lkmnosys(struct lwp *, void *, register_t *);
int sys_lkmnosys(struct lwp *, void *, register_t *);
int sys_lkmnosys(struct lwp *, void *, register_t *);
#else /* !LKM || !_KERNEL */
#endif /* !LKM || !_KERNEL */
#if defined(SYSVSEM) || !defined(_KERNEL)
int compat_14_netbsd32___semctl(struct lwp *, void *, register_t *);
int netbsd32_semget(struct lwp *, void *, register_t *);
int netbsd32_semop(struct lwp *, void *, register_t *);
int netbsd32_semconfig(struct lwp *, void *, register_t *);
#else
#endif
#if defined(SYSVMSG) || !defined(_KERNEL)
int compat_14_netbsd32_msgctl(struct lwp *, void *, register_t *);
int netbsd32_msgget(struct lwp *, void *, register_t *);
int netbsd32_msgsnd(struct lwp *, void *, register_t *);
int netbsd32_msgrcv(struct lwp *, void *, register_t *);
#else
#endif
#if defined(SYSVSHM) || !defined(_KERNEL)
int netbsd32_shmat(struct lwp *, void *, register_t *);
int compat_14_netbsd32_shmctl(struct lwp *, void *, register_t *);
int netbsd32_shmdt(struct lwp *, void *, register_t *);
int netbsd32_shmget(struct lwp *, void *, register_t *);
#else
#endif
int netbsd32_clock_gettime(struct lwp *, void *, register_t *);
int netbsd32_clock_settime(struct lwp *, void *, register_t *);
int netbsd32_clock_getres(struct lwp *, void *, register_t *);
int netbsd32_nanosleep(struct lwp *, void *, register_t *);
int netbsd32_fdatasync(struct lwp *, void *, register_t *);
int netbsd32___posix_rename(struct lwp *, void *, register_t *);
int netbsd32_swapctl(struct lwp *, void *, register_t *);
int netbsd32_getdents(struct lwp *, void *, register_t *);
int netbsd32_minherit(struct lwp *, void *, register_t *);
int netbsd32_lchmod(struct lwp *, void *, register_t *);
int netbsd32_lchown(struct lwp *, void *, register_t *);
int netbsd32_lutimes(struct lwp *, void *, register_t *);
int netbsd32___msync13(struct lwp *, void *, register_t *);
int netbsd32___stat13(struct lwp *, void *, register_t *);
int netbsd32___fstat13(struct lwp *, void *, register_t *);
int netbsd32___lstat13(struct lwp *, void *, register_t *);
int netbsd32___sigaltstack14(struct lwp *, void *, register_t *);
int sys___vfork14(struct lwp *, void *, register_t *);
int netbsd32___posix_chown(struct lwp *, void *, register_t *);
int netbsd32___posix_fchown(struct lwp *, void *, register_t *);
int netbsd32___posix_lchown(struct lwp *, void *, register_t *);
int netbsd32_getsid(struct lwp *, void *, register_t *);
#if defined(KTRACE) || !defined(_KERNEL)
int netbsd32_fktrace(struct lwp *, void *, register_t *);
#else
#endif
int netbsd32_preadv(struct lwp *, void *, register_t *);
int netbsd32_pwritev(struct lwp *, void *, register_t *);
int netbsd32___sigaction14(struct lwp *, void *, register_t *);
int netbsd32___sigpending14(struct lwp *, void *, register_t *);
int netbsd32___sigprocmask14(struct lwp *, void *, register_t *);
int netbsd32___sigsuspend14(struct lwp *, void *, register_t *);
int netbsd32___sigreturn14(struct lwp *, void *, register_t *);
int compat_16_netbsd32___sigreturn14(struct lwp *, void *, register_t *);
int netbsd32___getcwd(struct lwp *, void *, register_t *);
int netbsd32_fchroot(struct lwp *, void *, register_t *);
int netbsd32_fhopen(struct lwp *, void *, register_t *);
int netbsd32_fhstat(struct lwp *, void *, register_t *);
int netbsd32_fhstatfs(struct lwp *, void *, register_t *);
#if defined(SYSVSEM) || !defined(_KERNEL)
int netbsd32___semctl14(struct lwp *, void *, register_t *);
#else
#endif
#if defined(SYSVMSG) || !defined(_KERNEL)
int netbsd32___msgctl13(struct lwp *, void *, register_t *);
#else
#endif
#if defined(SYSVSHM) || !defined(_KERNEL)
int netbsd32___shmctl13(struct lwp *, void *, register_t *);
#else
#endif
int netbsd32_lchflags(struct lwp *, void *, register_t *);
int sys_issetugid(struct lwp *, void *, register_t *);
int netbsd32_utrace(struct lwp *, void *, register_t *);
int netbsd32_getcontext(struct lwp *, void *, register_t *);
int netbsd32_setcontext(struct lwp *, void *, register_t *);
int netbsd32___sigaction_sigtramp(struct lwp *, void *, register_t *);
#endif /* _netbsd32_SYS__SYSCALLARGS_H_ */

View File

@ -1,14 +1,14 @@
/* $NetBSD: netbsd32_syscalls.c,v 1.29 2003/01/18 23:39:59 thorpej Exp $ */
/* $NetBSD: netbsd32_syscalls.c,v 1.30 2003/10/13 18:54:57 fvdl Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.23 2003/01/18 08:28:26 thorpej Exp
* created from NetBSD: syscalls.master,v 1.24 2003/10/13 18:53:35 fvdl Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.29 2003/01/18 23:39:59 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.30 2003/10/13 18:54:57 fvdl Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -409,7 +409,7 @@ const char *const netbsd32_syscallnames[] = {
"netbsd32___sigpending14", /* 292 = netbsd32___sigpending14 */
"netbsd32___sigprocmask14", /* 293 = netbsd32___sigprocmask14 */
"netbsd32___sigsuspend14", /* 294 = netbsd32___sigsuspend14 */
"netbsd32___sigreturn14", /* 295 = netbsd32___sigreturn14 */
"compat_16_netbsd32___sigreturn14", /* 295 = compat_16 netbsd32___sigreturn14 */
"netbsd32___getcwd", /* 296 = netbsd32___getcwd */
"netbsd32_fchroot", /* 297 = netbsd32_fchroot */
"netbsd32_fhopen", /* 298 = netbsd32_fhopen */
@ -433,8 +433,8 @@ const char *const netbsd32_syscallnames[] = {
"netbsd32_lchflags", /* 304 = netbsd32_lchflags */
"issetugid", /* 305 = issetugid */
"netbsd32_utrace", /* 306 = netbsd32_utrace */
"#307 (unimplemented)", /* 307 = unimplemented */
"#308 (unimplemented)", /* 308 = unimplemented */
"netbsd32_getcontext", /* 307 = netbsd32_getcontext */
"netbsd32_setcontext", /* 308 = netbsd32_setcontext */
"#309 (unimplemented)", /* 309 = unimplemented */
"#310 (unimplemented)", /* 310 = unimplemented */
"#311 (unimplemented)", /* 311 = unimplemented */