1 1.141 christos /* $NetBSD: netbsd32_syscall.h,v 1.158 2023/07/29 12:39:20 rin Exp $ */ 2 1.1 mrg 3 1.1 mrg /* 4 1.1 mrg * System call numbers. 5 1.1 mrg * 6 1.1 mrg * DO NOT EDIT-- this file is automatically generated. 7 1.158 rin * created from NetBSD: syscalls.master,v 1.142 2023/07/29 12:38:25 rin Exp 8 1.1 mrg */ 9 1.1 mrg 10 1.69 dsl #ifndef _NETBSD32_SYS_SYSCALL_H_ 11 1.69 dsl #define _NETBSD32_SYS_SYSCALL_H_ 12 1.69 dsl 13 1.69 dsl #define NETBSD32_SYS_MAXSYSARGS 8 14 1.48 cube 15 1.83 christos /* syscall: "netbsd32_syscall" ret: "int" args: "int" "..." */ 16 1.83 christos #define NETBSD32_SYS_netbsd32_syscall 0 17 1.1 mrg 18 1.11 eeh /* syscall: "netbsd32_exit" ret: "void" args: "int" */ 19 1.69 dsl #define NETBSD32_SYS_netbsd32_exit 1 20 1.1 mrg 21 1.1 mrg /* syscall: "fork" ret: "int" args: */ 22 1.69 dsl #define NETBSD32_SYS_fork 2 23 1.1 mrg 24 1.11 eeh /* syscall: "netbsd32_read" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" */ 25 1.69 dsl #define NETBSD32_SYS_netbsd32_read 3 26 1.1 mrg 27 1.71 dsl /* syscall: "netbsd32_write" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" */ 28 1.69 dsl #define NETBSD32_SYS_netbsd32_write 4 29 1.1 mrg 30 1.71 dsl /* syscall: "netbsd32_open" ret: "int" args: "netbsd32_charp" "int" "..." */ 31 1.69 dsl #define NETBSD32_SYS_netbsd32_open 5 32 1.1 mrg 33 1.11 eeh /* syscall: "netbsd32_close" ret: "int" args: "int" */ 34 1.69 dsl #define NETBSD32_SYS_netbsd32_close 6 35 1.1 mrg 36 1.83 christos /* syscall: "compat_50_netbsd32_wait4" ret: "int" args: "int" "netbsd32_intp" "int" "netbsd32_rusage50p_t" */ 37 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_wait4 7 38 1.1 mrg 39 1.71 dsl /* syscall: "compat_43_netbsd32_ocreat" ret: "int" args: "netbsd32_charp" "mode_t" */ 40 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_ocreat 8 41 1.1 mrg 42 1.71 dsl /* syscall: "netbsd32_link" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ 43 1.69 dsl #define NETBSD32_SYS_netbsd32_link 9 44 1.1 mrg 45 1.71 dsl /* syscall: "netbsd32_unlink" ret: "int" args: "netbsd32_charp" */ 46 1.69 dsl #define NETBSD32_SYS_netbsd32_unlink 10 47 1.1 mrg 48 1.1 mrg /* 11 is obsolete execv */ 49 1.71 dsl /* syscall: "netbsd32_chdir" ret: "int" args: "netbsd32_charp" */ 50 1.69 dsl #define NETBSD32_SYS_netbsd32_chdir 12 51 1.1 mrg 52 1.11 eeh /* syscall: "netbsd32_fchdir" ret: "int" args: "int" */ 53 1.69 dsl #define NETBSD32_SYS_netbsd32_fchdir 13 54 1.1 mrg 55 1.83 christos /* syscall: "compat_50_netbsd32_mknod" ret: "int" args: "netbsd32_charp" "mode_t" "uint32_t" */ 56 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_mknod 14 57 1.1 mrg 58 1.71 dsl /* syscall: "netbsd32_chmod" ret: "int" args: "netbsd32_charp" "mode_t" */ 59 1.69 dsl #define NETBSD32_SYS_netbsd32_chmod 15 60 1.1 mrg 61 1.71 dsl /* syscall: "netbsd32_chown" ret: "int" args: "netbsd32_charp" "uid_t" "gid_t" */ 62 1.69 dsl #define NETBSD32_SYS_netbsd32_chown 16 63 1.1 mrg 64 1.11 eeh /* syscall: "netbsd32_break" ret: "int" args: "netbsd32_charp" */ 65 1.69 dsl #define NETBSD32_SYS_netbsd32_break 17 66 1.1 mrg 67 1.32 cube /* syscall: "compat_20_netbsd32_getfsstat" ret: "int" args: "netbsd32_statfsp_t" "netbsd32_long" "int" */ 68 1.69 dsl #define NETBSD32_SYS_compat_20_netbsd32_getfsstat 18 69 1.1 mrg 70 1.30 fvdl /* syscall: "compat_43_netbsd32_olseek" ret: "netbsd32_long" args: "int" "netbsd32_long" "int" */ 71 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_olseek 19 72 1.1 mrg 73 1.1 mrg /* syscall: "getpid" ret: "pid_t" args: */ 74 1.69 dsl #define NETBSD32_SYS_getpid 20 75 1.1 mrg 76 1.139 mrg /* syscall: "compat_40_netbsd32_mount" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "int" "netbsd32_voidp" */ 77 1.139 mrg #define NETBSD32_SYS_compat_40_netbsd32_mount 21 78 1.1 mrg 79 1.71 dsl /* syscall: "netbsd32_unmount" ret: "int" args: "netbsd32_charp" "int" */ 80 1.69 dsl #define NETBSD32_SYS_netbsd32_unmount 22 81 1.1 mrg 82 1.11 eeh /* syscall: "netbsd32_setuid" ret: "int" args: "uid_t" */ 83 1.69 dsl #define NETBSD32_SYS_netbsd32_setuid 23 84 1.1 mrg 85 1.1 mrg /* syscall: "getuid" ret: "uid_t" args: */ 86 1.69 dsl #define NETBSD32_SYS_getuid 24 87 1.1 mrg 88 1.1 mrg /* syscall: "geteuid" ret: "uid_t" args: */ 89 1.69 dsl #define NETBSD32_SYS_geteuid 25 90 1.1 mrg 91 1.83 christos /* syscall: "netbsd32_ptrace" ret: "int" args: "int" "pid_t" "netbsd32_voidp" "int" */ 92 1.69 dsl #define NETBSD32_SYS_netbsd32_ptrace 26 93 1.1 mrg 94 1.11 eeh /* syscall: "netbsd32_recvmsg" ret: "netbsd32_ssize_t" args: "int" "netbsd32_msghdrp_t" "int" */ 95 1.69 dsl #define NETBSD32_SYS_netbsd32_recvmsg 27 96 1.1 mrg 97 1.71 dsl /* syscall: "netbsd32_sendmsg" ret: "netbsd32_ssize_t" args: "int" "netbsd32_msghdrp_t" "int" */ 98 1.69 dsl #define NETBSD32_SYS_netbsd32_sendmsg 28 99 1.1 mrg 100 1.11 eeh /* syscall: "netbsd32_recvfrom" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */ 101 1.69 dsl #define NETBSD32_SYS_netbsd32_recvfrom 29 102 1.1 mrg 103 1.11 eeh /* syscall: "netbsd32_accept" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */ 104 1.69 dsl #define NETBSD32_SYS_netbsd32_accept 30 105 1.1 mrg 106 1.11 eeh /* syscall: "netbsd32_getpeername" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */ 107 1.69 dsl #define NETBSD32_SYS_netbsd32_getpeername 31 108 1.1 mrg 109 1.11 eeh /* syscall: "netbsd32_getsockname" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */ 110 1.69 dsl #define NETBSD32_SYS_netbsd32_getsockname 32 111 1.1 mrg 112 1.71 dsl /* syscall: "netbsd32_access" ret: "int" args: "netbsd32_charp" "int" */ 113 1.69 dsl #define NETBSD32_SYS_netbsd32_access 33 114 1.1 mrg 115 1.71 dsl /* syscall: "netbsd32_chflags" ret: "int" args: "netbsd32_charp" "netbsd32_u_long" */ 116 1.69 dsl #define NETBSD32_SYS_netbsd32_chflags 34 117 1.1 mrg 118 1.11 eeh /* syscall: "netbsd32_fchflags" ret: "int" args: "int" "netbsd32_u_long" */ 119 1.69 dsl #define NETBSD32_SYS_netbsd32_fchflags 35 120 1.1 mrg 121 1.1 mrg /* syscall: "sync" ret: "void" args: */ 122 1.69 dsl #define NETBSD32_SYS_sync 36 123 1.1 mrg 124 1.11 eeh /* syscall: "netbsd32_kill" ret: "int" args: "int" "int" */ 125 1.69 dsl #define NETBSD32_SYS_netbsd32_kill 37 126 1.1 mrg 127 1.71 dsl /* syscall: "compat_43_netbsd32_stat43" ret: "int" args: "netbsd32_charp" "netbsd32_stat43p_t" */ 128 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_stat43 38 129 1.1 mrg 130 1.1 mrg /* syscall: "getppid" ret: "pid_t" args: */ 131 1.69 dsl #define NETBSD32_SYS_getppid 39 132 1.1 mrg 133 1.71 dsl /* syscall: "compat_43_netbsd32_lstat43" ret: "int" args: "netbsd32_charp" "netbsd32_stat43p_t" */ 134 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_lstat43 40 135 1.1 mrg 136 1.11 eeh /* syscall: "netbsd32_dup" ret: "int" args: "int" */ 137 1.69 dsl #define NETBSD32_SYS_netbsd32_dup 41 138 1.1 mrg 139 1.1 mrg /* syscall: "pipe" ret: "int" args: */ 140 1.69 dsl #define NETBSD32_SYS_pipe 42 141 1.1 mrg 142 1.1 mrg /* syscall: "getegid" ret: "gid_t" args: */ 143 1.69 dsl #define NETBSD32_SYS_getegid 43 144 1.1 mrg 145 1.83 christos /* syscall: "netbsd32_profil" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "netbsd32_u_long" "u_int" */ 146 1.69 dsl #define NETBSD32_SYS_netbsd32_profil 44 147 1.1 mrg 148 1.71 dsl /* syscall: "netbsd32_ktrace" ret: "int" args: "netbsd32_charp" "int" "int" "int" */ 149 1.69 dsl #define NETBSD32_SYS_netbsd32_ktrace 45 150 1.1 mrg 151 1.71 dsl /* syscall: "netbsd32_sigaction" ret: "int" args: "int" "netbsd32_sigactionp_t" "netbsd32_sigactionp_t" */ 152 1.69 dsl #define NETBSD32_SYS_netbsd32_sigaction 46 153 1.1 mrg 154 1.1 mrg /* syscall: "getgid" ret: "gid_t" args: */ 155 1.69 dsl #define NETBSD32_SYS_getgid 47 156 1.1 mrg 157 1.30 fvdl /* syscall: "compat_13_sigprocmask13" ret: "int" args: "int" "int" */ 158 1.69 dsl #define NETBSD32_SYS_compat_13_sigprocmask13 48 159 1.1 mrg 160 1.11 eeh /* syscall: "netbsd32___getlogin" ret: "int" args: "netbsd32_charp" "u_int" */ 161 1.69 dsl #define NETBSD32_SYS_netbsd32___getlogin 49 162 1.1 mrg 163 1.71 dsl /* syscall: "netbsd32_setlogin" ret: "int" args: "netbsd32_charp" */ 164 1.69 dsl #define NETBSD32_SYS_netbsd32_setlogin 50 165 1.1 mrg 166 1.71 dsl /* syscall: "netbsd32_acct" ret: "int" args: "netbsd32_charp" */ 167 1.69 dsl #define NETBSD32_SYS_netbsd32_acct 51 168 1.1 mrg 169 1.30 fvdl /* syscall: "compat_13_sigpending13" ret: "int" args: */ 170 1.69 dsl #define NETBSD32_SYS_compat_13_sigpending13 52 171 1.1 mrg 172 1.71 dsl /* syscall: "compat_13_netbsd32_sigaltstack13" ret: "int" args: "netbsd32_sigaltstack13p_t" "netbsd32_sigaltstack13p_t" */ 173 1.69 dsl #define NETBSD32_SYS_compat_13_netbsd32_sigaltstack13 53 174 1.1 mrg 175 1.11 eeh /* syscall: "netbsd32_ioctl" ret: "int" args: "int" "netbsd32_u_long" "..." */ 176 1.69 dsl #define NETBSD32_SYS_netbsd32_ioctl 54 177 1.1 mrg 178 1.30 fvdl /* syscall: "compat_12_netbsd32_reboot" ret: "int" args: "int" */ 179 1.69 dsl #define NETBSD32_SYS_compat_12_netbsd32_reboot 55 180 1.1 mrg 181 1.71 dsl /* syscall: "netbsd32_revoke" ret: "int" args: "netbsd32_charp" */ 182 1.69 dsl #define NETBSD32_SYS_netbsd32_revoke 56 183 1.1 mrg 184 1.71 dsl /* syscall: "netbsd32_symlink" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ 185 1.69 dsl #define NETBSD32_SYS_netbsd32_symlink 57 186 1.1 mrg 187 1.71 dsl /* syscall: "netbsd32_readlink" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */ 188 1.69 dsl #define NETBSD32_SYS_netbsd32_readlink 58 189 1.1 mrg 190 1.71 dsl /* syscall: "netbsd32_execve" ret: "int" args: "netbsd32_charp" "netbsd32_charpp" "netbsd32_charpp" */ 191 1.69 dsl #define NETBSD32_SYS_netbsd32_execve 59 192 1.1 mrg 193 1.11 eeh /* syscall: "netbsd32_umask" ret: "mode_t" args: "mode_t" */ 194 1.69 dsl #define NETBSD32_SYS_netbsd32_umask 60 195 1.1 mrg 196 1.71 dsl /* syscall: "netbsd32_chroot" ret: "int" args: "netbsd32_charp" */ 197 1.69 dsl #define NETBSD32_SYS_netbsd32_chroot 61 198 1.1 mrg 199 1.30 fvdl /* syscall: "compat_43_netbsd32_fstat43" ret: "int" args: "int" "netbsd32_stat43p_t" */ 200 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_fstat43 62 201 1.1 mrg 202 1.30 fvdl /* syscall: "compat_43_netbsd32_ogetkerninfo" ret: "int" args: "int" "netbsd32_charp" "netbsd32_intp" "int" */ 203 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_ogetkerninfo 63 204 1.1 mrg 205 1.30 fvdl /* syscall: "compat_43_ogetpagesize" ret: "int" args: */ 206 1.69 dsl #define NETBSD32_SYS_compat_43_ogetpagesize 64 207 1.1 mrg 208 1.83 christos /* syscall: "compat_12_netbsd32_msync" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */ 209 1.69 dsl #define NETBSD32_SYS_compat_12_netbsd32_msync 65 210 1.1 mrg 211 1.1 mrg /* syscall: "vfork" ret: "int" args: */ 212 1.69 dsl #define NETBSD32_SYS_vfork 66 213 1.1 mrg 214 1.1 mrg /* 67 is obsolete vread */ 215 1.1 mrg /* 68 is obsolete vwrite */ 216 1.132 kamil /* 69 is obsolete sbrk */ 217 1.131 kamil /* 70 is obsolete sstk */ 218 1.83 christos /* syscall: "compat_43_netbsd32_ommap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" */ 219 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_ommap 71 220 1.1 mrg 221 1.134 kamil /* syscall: "vadvise" ret: "int" args: "int" */ 222 1.134 kamil #define NETBSD32_SYS_vadvise 72 223 1.134 kamil 224 1.11 eeh /* syscall: "netbsd32_munmap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */ 225 1.69 dsl #define NETBSD32_SYS_netbsd32_munmap 73 226 1.1 mrg 227 1.11 eeh /* syscall: "netbsd32_mprotect" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ 228 1.69 dsl #define NETBSD32_SYS_netbsd32_mprotect 74 229 1.1 mrg 230 1.11 eeh /* syscall: "netbsd32_madvise" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ 231 1.69 dsl #define NETBSD32_SYS_netbsd32_madvise 75 232 1.1 mrg 233 1.1 mrg /* 76 is obsolete vhangup */ 234 1.1 mrg /* 77 is obsolete vlimit */ 235 1.83 christos /* syscall: "netbsd32_mincore" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "netbsd32_charp" */ 236 1.69 dsl #define NETBSD32_SYS_netbsd32_mincore 78 237 1.1 mrg 238 1.11 eeh /* syscall: "netbsd32_getgroups" ret: "int" args: "int" "netbsd32_gid_tp" */ 239 1.69 dsl #define NETBSD32_SYS_netbsd32_getgroups 79 240 1.1 mrg 241 1.71 dsl /* syscall: "netbsd32_setgroups" ret: "int" args: "int" "netbsd32_gid_tp" */ 242 1.69 dsl #define NETBSD32_SYS_netbsd32_setgroups 80 243 1.1 mrg 244 1.1 mrg /* syscall: "getpgrp" ret: "int" args: */ 245 1.69 dsl #define NETBSD32_SYS_getpgrp 81 246 1.1 mrg 247 1.11 eeh /* syscall: "netbsd32_setpgid" ret: "int" args: "int" "int" */ 248 1.69 dsl #define NETBSD32_SYS_netbsd32_setpgid 82 249 1.1 mrg 250 1.83 christos /* syscall: "compat_50_netbsd32_setitimer" ret: "int" args: "int" "netbsd32_itimerval50p_t" "netbsd32_itimerval50p_t" */ 251 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_setitimer 83 252 1.1 mrg 253 1.30 fvdl /* syscall: "compat_43_owait" ret: "int" args: */ 254 1.69 dsl #define NETBSD32_SYS_compat_43_owait 84 255 1.1 mrg 256 1.71 dsl /* syscall: "compat_12_netbsd32_oswapon" ret: "int" args: "netbsd32_charp" */ 257 1.69 dsl #define NETBSD32_SYS_compat_12_netbsd32_oswapon 85 258 1.1 mrg 259 1.83 christos /* syscall: "compat_50_netbsd32_getitimer" ret: "int" args: "int" "netbsd32_itimerval50p_t" */ 260 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_getitimer 86 261 1.1 mrg 262 1.30 fvdl /* syscall: "compat_43_netbsd32_ogethostname" ret: "int" args: "netbsd32_charp" "u_int" */ 263 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_ogethostname 87 264 1.1 mrg 265 1.30 fvdl /* syscall: "compat_43_netbsd32_osethostname" ret: "int" args: "netbsd32_charp" "u_int" */ 266 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_osethostname 88 267 1.1 mrg 268 1.30 fvdl /* syscall: "compat_43_ogetdtablesize" ret: "int" args: */ 269 1.69 dsl #define NETBSD32_SYS_compat_43_ogetdtablesize 89 270 1.1 mrg 271 1.11 eeh /* syscall: "netbsd32_dup2" ret: "int" args: "int" "int" */ 272 1.69 dsl #define NETBSD32_SYS_netbsd32_dup2 90 273 1.1 mrg 274 1.155 rin /* syscall: "netbsd32_getrandom" ret: "netbsd32_ssize_t" args: "netbsd32_voidp" "netbsd32_size_t" "unsigned int" */ 275 1.155 rin #define NETBSD32_SYS_netbsd32_getrandom 91 276 1.155 rin 277 1.11 eeh /* syscall: "netbsd32_fcntl" ret: "int" args: "int" "int" "..." */ 278 1.69 dsl #define NETBSD32_SYS_netbsd32_fcntl 92 279 1.1 mrg 280 1.83 christos /* syscall: "compat_50_netbsd32_select" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_timeval50p_t" */ 281 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_select 93 282 1.1 mrg 283 1.11 eeh /* syscall: "netbsd32_fsync" ret: "int" args: "int" */ 284 1.69 dsl #define NETBSD32_SYS_netbsd32_fsync 95 285 1.1 mrg 286 1.11 eeh /* syscall: "netbsd32_setpriority" ret: "int" args: "int" "int" "int" */ 287 1.69 dsl #define NETBSD32_SYS_netbsd32_setpriority 96 288 1.1 mrg 289 1.54 mrg /* syscall: "compat_30_netbsd32_socket" ret: "int" args: "int" "int" "int" */ 290 1.69 dsl #define NETBSD32_SYS_compat_30_netbsd32_socket 97 291 1.1 mrg 292 1.71 dsl /* syscall: "netbsd32_connect" ret: "int" args: "int" "netbsd32_sockaddrp_t" "int" */ 293 1.69 dsl #define NETBSD32_SYS_netbsd32_connect 98 294 1.1 mrg 295 1.83 christos /* syscall: "compat_43_netbsd32_oaccept" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_intp" */ 296 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_oaccept 99 297 1.1 mrg 298 1.11 eeh /* syscall: "netbsd32_getpriority" ret: "int" args: "int" "int" */ 299 1.69 dsl #define NETBSD32_SYS_netbsd32_getpriority 100 300 1.1 mrg 301 1.83 christos /* syscall: "compat_43_netbsd32_osend" ret: "int" args: "int" "netbsd32_voidp" "int" "int" */ 302 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_osend 101 303 1.1 mrg 304 1.83 christos /* syscall: "compat_43_netbsd32_orecv" ret: "int" args: "int" "netbsd32_voidp" "int" "int" */ 305 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_orecv 102 306 1.1 mrg 307 1.30 fvdl /* syscall: "compat_13_sigreturn13" ret: "int" args: "netbsd32_sigcontextp_t" */ 308 1.69 dsl #define NETBSD32_SYS_compat_13_sigreturn13 103 309 1.1 mrg 310 1.71 dsl /* syscall: "netbsd32_bind" ret: "int" args: "int" "netbsd32_sockaddrp_t" "int" */ 311 1.69 dsl #define NETBSD32_SYS_netbsd32_bind 104 312 1.1 mrg 313 1.71 dsl /* syscall: "netbsd32_setsockopt" ret: "int" args: "int" "int" "int" "netbsd32_voidp" "int" */ 314 1.69 dsl #define NETBSD32_SYS_netbsd32_setsockopt 105 315 1.1 mrg 316 1.11 eeh /* syscall: "netbsd32_listen" ret: "int" args: "int" "int" */ 317 1.69 dsl #define NETBSD32_SYS_netbsd32_listen 106 318 1.1 mrg 319 1.1 mrg /* 107 is obsolete vtimes */ 320 1.30 fvdl /* syscall: "compat_43_netbsd32_osigvec" ret: "int" args: "int" "netbsd32_sigvecp_t" "netbsd32_sigvecp_t" */ 321 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_osigvec 108 322 1.1 mrg 323 1.30 fvdl /* syscall: "compat_43_netbsd32_sigblock" ret: "int" args: "int" */ 324 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_sigblock 109 325 1.1 mrg 326 1.30 fvdl /* syscall: "compat_43_netbsd32_sigsetmask" ret: "int" args: "int" */ 327 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_sigsetmask 110 328 1.1 mrg 329 1.30 fvdl /* syscall: "compat_13_sigsuspend13" ret: "int" args: "int" */ 330 1.69 dsl #define NETBSD32_SYS_compat_13_sigsuspend13 111 331 1.1 mrg 332 1.30 fvdl /* syscall: "compat_43_netbsd32_osigstack" ret: "int" args: "netbsd32_sigstackp_t" "netbsd32_sigstackp_t" */ 333 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_osigstack 112 334 1.1 mrg 335 1.30 fvdl /* syscall: "compat_43_netbsd32_orecvmsg" ret: "int" args: "int" "netbsd32_omsghdrp_t" "int" */ 336 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_orecvmsg 113 337 1.1 mrg 338 1.83 christos /* syscall: "compat_43_netbsd32_osendmsg" ret: "int" args: "int" "netbsd32_voidp" "int" */ 339 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_osendmsg 114 340 1.1 mrg 341 1.1 mrg /* 115 is obsolete vtrace */ 342 1.83 christos /* syscall: "compat_50_netbsd32_gettimeofday" ret: "int" args: "netbsd32_timeval50p_t" "netbsd32_timezonep_t" */ 343 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_gettimeofday 116 344 1.1 mrg 345 1.83 christos /* syscall: "compat_50_netbsd32_getrusage" ret: "int" args: "int" "netbsd32_rusage50p_t" */ 346 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_getrusage 117 347 1.1 mrg 348 1.11 eeh /* syscall: "netbsd32_getsockopt" ret: "int" args: "int" "int" "int" "netbsd32_voidp" "netbsd32_intp" */ 349 1.69 dsl #define NETBSD32_SYS_netbsd32_getsockopt 118 350 1.1 mrg 351 1.1 mrg /* 119 is obsolete resuba */ 352 1.71 dsl /* syscall: "netbsd32_readv" ret: "netbsd32_ssize_t" args: "int" "netbsd32_iovecp_t" "int" */ 353 1.69 dsl #define NETBSD32_SYS_netbsd32_readv 120 354 1.1 mrg 355 1.71 dsl /* syscall: "netbsd32_writev" ret: "netbsd32_ssize_t" args: "int" "netbsd32_iovecp_t" "int" */ 356 1.69 dsl #define NETBSD32_SYS_netbsd32_writev 121 357 1.1 mrg 358 1.83 christos /* syscall: "compat_50_netbsd32_settimeofday" ret: "int" args: "netbsd32_timeval50p_t" "netbsd32_timezonep_t" */ 359 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_settimeofday 122 360 1.1 mrg 361 1.11 eeh /* syscall: "netbsd32_fchown" ret: "int" args: "int" "uid_t" "gid_t" */ 362 1.69 dsl #define NETBSD32_SYS_netbsd32_fchown 123 363 1.1 mrg 364 1.11 eeh /* syscall: "netbsd32_fchmod" ret: "int" args: "int" "mode_t" */ 365 1.69 dsl #define NETBSD32_SYS_netbsd32_fchmod 124 366 1.1 mrg 367 1.83 christos /* syscall: "compat_43_netbsd32_orecvfrom" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "netbsd32_voidp" "netbsd32_intp" */ 368 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_orecvfrom 125 369 1.1 mrg 370 1.11 eeh /* syscall: "netbsd32_setreuid" ret: "int" args: "uid_t" "uid_t" */ 371 1.69 dsl #define NETBSD32_SYS_netbsd32_setreuid 126 372 1.1 mrg 373 1.11 eeh /* syscall: "netbsd32_setregid" ret: "int" args: "gid_t" "gid_t" */ 374 1.69 dsl #define NETBSD32_SYS_netbsd32_setregid 127 375 1.1 mrg 376 1.71 dsl /* syscall: "netbsd32_rename" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ 377 1.69 dsl #define NETBSD32_SYS_netbsd32_rename 128 378 1.1 mrg 379 1.71 dsl /* syscall: "compat_43_netbsd32_otruncate" ret: "int" args: "netbsd32_charp" "netbsd32_long" */ 380 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_otruncate 129 381 1.1 mrg 382 1.30 fvdl /* syscall: "compat_43_netbsd32_oftruncate" ret: "int" args: "int" "netbsd32_long" */ 383 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_oftruncate 130 384 1.1 mrg 385 1.11 eeh /* syscall: "netbsd32_flock" ret: "int" args: "int" "int" */ 386 1.69 dsl #define NETBSD32_SYS_netbsd32_flock 131 387 1.1 mrg 388 1.71 dsl /* syscall: "netbsd32_mkfifo" ret: "int" args: "netbsd32_charp" "mode_t" */ 389 1.69 dsl #define NETBSD32_SYS_netbsd32_mkfifo 132 390 1.1 mrg 391 1.71 dsl /* syscall: "netbsd32_sendto" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "netbsd32_sockaddrp_t" "int" */ 392 1.69 dsl #define NETBSD32_SYS_netbsd32_sendto 133 393 1.1 mrg 394 1.11 eeh /* syscall: "netbsd32_shutdown" ret: "int" args: "int" "int" */ 395 1.69 dsl #define NETBSD32_SYS_netbsd32_shutdown 134 396 1.1 mrg 397 1.11 eeh /* syscall: "netbsd32_socketpair" ret: "int" args: "int" "int" "int" "netbsd32_intp" */ 398 1.69 dsl #define NETBSD32_SYS_netbsd32_socketpair 135 399 1.1 mrg 400 1.71 dsl /* syscall: "netbsd32_mkdir" ret: "int" args: "netbsd32_charp" "mode_t" */ 401 1.69 dsl #define NETBSD32_SYS_netbsd32_mkdir 136 402 1.1 mrg 403 1.71 dsl /* syscall: "netbsd32_rmdir" ret: "int" args: "netbsd32_charp" */ 404 1.69 dsl #define NETBSD32_SYS_netbsd32_rmdir 137 405 1.1 mrg 406 1.83 christos /* syscall: "compat_50_netbsd32_utimes" ret: "int" args: "netbsd32_charp" "netbsd32_timeval50p_t" */ 407 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_utimes 138 408 1.1 mrg 409 1.1 mrg /* 139 is obsolete 4.2 sigreturn */ 410 1.83 christos /* syscall: "compat_50_netbsd32_adjtime" ret: "int" args: "netbsd32_timeval50p_t" "netbsd32_timeval50p_t" */ 411 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_adjtime 140 412 1.1 mrg 413 1.83 christos /* syscall: "compat_43_netbsd32_ogetpeername" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_intp" */ 414 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_ogetpeername 141 415 1.1 mrg 416 1.30 fvdl /* syscall: "compat_43_ogethostid" ret: "int32_t" args: */ 417 1.69 dsl #define NETBSD32_SYS_compat_43_ogethostid 142 418 1.1 mrg 419 1.30 fvdl /* syscall: "compat_43_netbsd32_sethostid" ret: "int" args: "int32_t" */ 420 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_sethostid 143 421 1.1 mrg 422 1.30 fvdl /* syscall: "compat_43_netbsd32_ogetrlimit" ret: "int" args: "int" "netbsd32_orlimitp_t" */ 423 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_ogetrlimit 144 424 1.1 mrg 425 1.71 dsl /* syscall: "compat_43_netbsd32_osetrlimit" ret: "int" args: "int" "netbsd32_orlimitp_t" */ 426 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_osetrlimit 145 427 1.1 mrg 428 1.30 fvdl /* syscall: "compat_43_netbsd32_killpg" ret: "int" args: "int" "int" */ 429 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_killpg 146 430 1.1 mrg 431 1.1 mrg /* syscall: "setsid" ret: "int" args: */ 432 1.69 dsl #define NETBSD32_SYS_setsid 147 433 1.1 mrg 434 1.93 bouyer /* syscall: "compat_50_netbsd32_quotactl" ret: "int" args: "netbsd32_charp" "int" "int" "netbsd32_voidp" */ 435 1.93 bouyer #define NETBSD32_SYS_compat_50_netbsd32_quotactl 148 436 1.1 mrg 437 1.141 christos /* 149 is excluded compat_netbsd32_quota */ 438 1.83 christos /* syscall: "compat_43_netbsd32_ogetsockname" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_intp" */ 439 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_ogetsockname 150 440 1.1 mrg 441 1.116 mrg /* syscall: "netbsd32_nfssvc" ret: "int" args: "int" "netbsd32_voidp" */ 442 1.116 mrg #define NETBSD32_SYS_netbsd32_nfssvc 155 443 1.116 mrg 444 1.30 fvdl /* syscall: "compat_43_netbsd32_ogetdirentries" ret: "int" args: "int" "netbsd32_charp" "u_int" "netbsd32_longp" */ 445 1.69 dsl #define NETBSD32_SYS_compat_43_netbsd32_ogetdirentries 156 446 1.1 mrg 447 1.71 dsl /* syscall: "compat_20_netbsd32_statfs" ret: "int" args: "netbsd32_charp" "netbsd32_statfsp_t" */ 448 1.69 dsl #define NETBSD32_SYS_compat_20_netbsd32_statfs 157 449 1.1 mrg 450 1.32 cube /* syscall: "compat_20_netbsd32_fstatfs" ret: "int" args: "int" "netbsd32_statfsp_t" */ 451 1.69 dsl #define NETBSD32_SYS_compat_20_netbsd32_fstatfs 158 452 1.1 mrg 453 1.71 dsl /* syscall: "compat_30_netbsd32_getfh" ret: "int" args: "netbsd32_charp" "netbsd32_compat_30_fhandlep_t" */ 454 1.69 dsl #define NETBSD32_SYS_compat_30_netbsd32_getfh 161 455 1.1 mrg 456 1.30 fvdl /* syscall: "compat_09_netbsd32_ogetdomainname" ret: "int" args: "netbsd32_charp" "int" */ 457 1.69 dsl #define NETBSD32_SYS_compat_09_netbsd32_ogetdomainname 162 458 1.1 mrg 459 1.30 fvdl /* syscall: "compat_09_netbsd32_osetdomainname" ret: "int" args: "netbsd32_charp" "int" */ 460 1.69 dsl #define NETBSD32_SYS_compat_09_netbsd32_osetdomainname 163 461 1.1 mrg 462 1.30 fvdl /* syscall: "compat_09_netbsd32_uname" ret: "int" args: "netbsd32_outsnamep_t" */ 463 1.69 dsl #define NETBSD32_SYS_compat_09_netbsd32_uname 164 464 1.1 mrg 465 1.11 eeh /* syscall: "netbsd32_sysarch" ret: "int" args: "int" "netbsd32_voidp" */ 466 1.69 dsl #define NETBSD32_SYS_netbsd32_sysarch 165 467 1.1 mrg 468 1.153 thorpej /* syscall: "netbsd32___futex" ret: "int" args: "netbsd32_intp" "int" "int" "const netbsd32_timespecp_t" "netbsd32_intp" "int" "int" */ 469 1.153 thorpej #define NETBSD32_SYS_netbsd32___futex 166 470 1.153 thorpej 471 1.153 thorpej /* syscall: "netbsd32___futex_set_robust_list" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */ 472 1.153 thorpej #define NETBSD32_SYS_netbsd32___futex_set_robust_list 167 473 1.153 thorpej 474 1.153 thorpej /* syscall: "netbsd32___futex_get_robust_list" ret: "int" args: "lwpid_t" "netbsd32_voidp" "netbsd32_size_tp" */ 475 1.153 thorpej #define NETBSD32_SYS_netbsd32___futex_get_robust_list 168 476 1.153 thorpej 477 1.30 fvdl /* syscall: "compat_10_osemsys" ret: "int" args: "int" "int" "int" "int" "int" */ 478 1.69 dsl #define NETBSD32_SYS_compat_10_osemsys 169 479 1.1 mrg 480 1.30 fvdl /* syscall: "compat_10_omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */ 481 1.69 dsl #define NETBSD32_SYS_compat_10_omsgsys 170 482 1.1 mrg 483 1.30 fvdl /* syscall: "compat_10_oshmsys" ret: "int" args: "int" "int" "int" "int" */ 484 1.69 dsl #define NETBSD32_SYS_compat_10_oshmsys 171 485 1.25 mrg 486 1.107 njoly /* syscall: "netbsd32_pread" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "netbsd32_off_t" */ 487 1.69 dsl #define NETBSD32_SYS_netbsd32_pread 173 488 1.1 mrg 489 1.107 njoly /* syscall: "netbsd32_pwrite" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "netbsd32_off_t" */ 490 1.69 dsl #define NETBSD32_SYS_netbsd32_pwrite 174 491 1.1 mrg 492 1.83 christos /* syscall: "compat_30_netbsd32_ntp_gettime" ret: "int" args: "netbsd32_ntptimeval50p_t" */ 493 1.69 dsl #define NETBSD32_SYS_compat_30_netbsd32_ntp_gettime 175 494 1.53 drochner 495 1.140 pgoyette #if defined(NTP) || !defined(_KERNEL_OPT) 496 1.11 eeh /* syscall: "netbsd32_ntp_adjtime" ret: "int" args: "netbsd32_timexp_t" */ 497 1.69 dsl #define NETBSD32_SYS_netbsd32_ntp_adjtime 176 498 1.1 mrg 499 1.86 christos #else 500 1.86 christos /* 176 is excluded ntp_adjtime */ 501 1.86 christos #endif 502 1.156 thorpej /* syscall: "netbsd32_timerfd_create" ret: "int" args: "netbsd32_clockid_t" "int" */ 503 1.156 thorpej #define NETBSD32_SYS_netbsd32_timerfd_create 177 504 1.156 thorpej 505 1.156 thorpej /* syscall: "netbsd32_timerfd_settime" ret: "int" args: "int" "int" "const netbsd32_itimerspecp_t" "netbsd32_itimerspecp_t" */ 506 1.156 thorpej #define NETBSD32_SYS_netbsd32_timerfd_settime 178 507 1.156 thorpej 508 1.156 thorpej /* syscall: "netbsd32_timerfd_gettime" ret: "int" args: "int" "netbsd32_itimerspecp_t" */ 509 1.156 thorpej #define NETBSD32_SYS_netbsd32_timerfd_gettime 179 510 1.156 thorpej 511 1.11 eeh /* syscall: "netbsd32_setgid" ret: "int" args: "gid_t" */ 512 1.69 dsl #define NETBSD32_SYS_netbsd32_setgid 181 513 1.1 mrg 514 1.11 eeh /* syscall: "netbsd32_setegid" ret: "int" args: "gid_t" */ 515 1.69 dsl #define NETBSD32_SYS_netbsd32_setegid 182 516 1.1 mrg 517 1.11 eeh /* syscall: "netbsd32_seteuid" ret: "int" args: "uid_t" */ 518 1.69 dsl #define NETBSD32_SYS_netbsd32_seteuid 183 519 1.1 mrg 520 1.83 christos /* 184 is excluded netbsd32_lfs_bmapv */ 521 1.83 christos /* 185 is excluded netbsd32_lfs_markv */ 522 1.83 christos /* 186 is excluded netbsd32_lfs_segclean */ 523 1.83 christos /* 187 is excluded netbsd32_lfs_segwait */ 524 1.71 dsl /* syscall: "compat_12_netbsd32_stat12" ret: "int" args: "netbsd32_charp" "netbsd32_stat12p_t" */ 525 1.69 dsl #define NETBSD32_SYS_compat_12_netbsd32_stat12 188 526 1.1 mrg 527 1.30 fvdl /* syscall: "compat_12_netbsd32_fstat12" ret: "int" args: "int" "netbsd32_stat12p_t" */ 528 1.69 dsl #define NETBSD32_SYS_compat_12_netbsd32_fstat12 189 529 1.1 mrg 530 1.71 dsl /* syscall: "compat_12_netbsd32_lstat12" ret: "int" args: "netbsd32_charp" "netbsd32_stat12p_t" */ 531 1.69 dsl #define NETBSD32_SYS_compat_12_netbsd32_lstat12 190 532 1.1 mrg 533 1.71 dsl /* syscall: "netbsd32_pathconf" ret: "netbsd32_long" args: "netbsd32_charp" "int" */ 534 1.69 dsl #define NETBSD32_SYS_netbsd32_pathconf 191 535 1.1 mrg 536 1.11 eeh /* syscall: "netbsd32_fpathconf" ret: "netbsd32_long" args: "int" "int" */ 537 1.69 dsl #define NETBSD32_SYS_netbsd32_fpathconf 192 538 1.1 mrg 539 1.137 rjs /* syscall: "netbsd32_getsockopt2" ret: "int" args: "int" "int" "int" "netbsd32_voidp" "netbsd32_intp" */ 540 1.137 rjs #define NETBSD32_SYS_netbsd32_getsockopt2 193 541 1.137 rjs 542 1.11 eeh /* syscall: "netbsd32_getrlimit" ret: "int" args: "int" "netbsd32_rlimitp_t" */ 543 1.69 dsl #define NETBSD32_SYS_netbsd32_getrlimit 194 544 1.1 mrg 545 1.71 dsl /* syscall: "netbsd32_setrlimit" ret: "int" args: "int" "netbsd32_rlimitp_t" */ 546 1.69 dsl #define NETBSD32_SYS_netbsd32_setrlimit 195 547 1.1 mrg 548 1.30 fvdl /* syscall: "compat_12_netbsd32_getdirentries" ret: "int" args: "int" "netbsd32_charp" "u_int" "netbsd32_longp" */ 549 1.69 dsl #define NETBSD32_SYS_compat_12_netbsd32_getdirentries 196 550 1.1 mrg 551 1.107 njoly /* syscall: "netbsd32_mmap" ret: "netbsd32_voidp" args: "netbsd32_voidp" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" "netbsd32_off_t" */ 552 1.69 dsl #define NETBSD32_SYS_netbsd32_mmap 197 553 1.1 mrg 554 1.83 christos /* syscall: "netbsd32____syscall" ret: "quad_t" args: "quad_t" "..." */ 555 1.83 christos #define NETBSD32_SYS_netbsd32____syscall 198 556 1.1 mrg 557 1.107 njoly /* syscall: "netbsd32_lseek" ret: "netbsd32_off_t" args: "int" "int" "netbsd32_off_t" "int" */ 558 1.69 dsl #define NETBSD32_SYS_netbsd32_lseek 199 559 1.1 mrg 560 1.107 njoly /* syscall: "netbsd32_truncate" ret: "int" args: "netbsd32_charp" "int" "netbsd32_off_t" */ 561 1.69 dsl #define NETBSD32_SYS_netbsd32_truncate 200 562 1.1 mrg 563 1.107 njoly /* syscall: "netbsd32_ftruncate" ret: "int" args: "int" "int" "netbsd32_off_t" */ 564 1.69 dsl #define NETBSD32_SYS_netbsd32_ftruncate 201 565 1.1 mrg 566 1.11 eeh /* syscall: "netbsd32___sysctl" ret: "int" args: "netbsd32_intp" "u_int" "netbsd32_voidp" "netbsd32_size_tp" "netbsd32_voidp" "netbsd32_size_t" */ 567 1.69 dsl #define NETBSD32_SYS_netbsd32___sysctl 202 568 1.1 mrg 569 1.71 dsl /* syscall: "netbsd32_mlock" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */ 570 1.69 dsl #define NETBSD32_SYS_netbsd32_mlock 203 571 1.1 mrg 572 1.71 dsl /* syscall: "netbsd32_munlock" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */ 573 1.69 dsl #define NETBSD32_SYS_netbsd32_munlock 204 574 1.1 mrg 575 1.71 dsl /* syscall: "netbsd32_undelete" ret: "int" args: "netbsd32_charp" */ 576 1.69 dsl #define NETBSD32_SYS_netbsd32_undelete 205 577 1.1 mrg 578 1.83 christos /* syscall: "compat_50_netbsd32_futimes" ret: "int" args: "int" "netbsd32_timeval50p_t" */ 579 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_futimes 206 580 1.1 mrg 581 1.11 eeh /* syscall: "netbsd32_getpgid" ret: "int" args: "pid_t" */ 582 1.69 dsl #define NETBSD32_SYS_netbsd32_getpgid 207 583 1.1 mrg 584 1.11 eeh /* syscall: "netbsd32_reboot" ret: "int" args: "int" "netbsd32_charp" */ 585 1.69 dsl #define NETBSD32_SYS_netbsd32_reboot 208 586 1.1 mrg 587 1.11 eeh /* syscall: "netbsd32_poll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "int" */ 588 1.69 dsl #define NETBSD32_SYS_netbsd32_poll 209 589 1.1 mrg 590 1.30 fvdl /* syscall: "compat_14_netbsd32___semctl" ret: "int" args: "int" "int" "int" "netbsd32_semunu_t" */ 591 1.69 dsl #define NETBSD32_SYS_compat_14_netbsd32___semctl 220 592 1.1 mrg 593 1.11 eeh /* syscall: "netbsd32_semget" ret: "int" args: "netbsd32_key_t" "int" "int" */ 594 1.69 dsl #define NETBSD32_SYS_netbsd32_semget 221 595 1.1 mrg 596 1.11 eeh /* syscall: "netbsd32_semop" ret: "int" args: "int" "netbsd32_sembufp_t" "netbsd32_size_t" */ 597 1.69 dsl #define NETBSD32_SYS_netbsd32_semop 222 598 1.1 mrg 599 1.11 eeh /* syscall: "netbsd32_semconfig" ret: "int" args: "int" */ 600 1.69 dsl #define NETBSD32_SYS_netbsd32_semconfig 223 601 1.1 mrg 602 1.83 christos /* syscall: "compat_14_netbsd32_msgctl" ret: "int" args: "int" "int" "netbsd32_msqid_ds14p_t" */ 603 1.69 dsl #define NETBSD32_SYS_compat_14_netbsd32_msgctl 224 604 1.1 mrg 605 1.11 eeh /* syscall: "netbsd32_msgget" ret: "int" args: "netbsd32_key_t" "int" */ 606 1.69 dsl #define NETBSD32_SYS_netbsd32_msgget 225 607 1.1 mrg 608 1.71 dsl /* syscall: "netbsd32_msgsnd" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" */ 609 1.69 dsl #define NETBSD32_SYS_netbsd32_msgsnd 226 610 1.1 mrg 611 1.11 eeh /* syscall: "netbsd32_msgrcv" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "netbsd32_long" "int" */ 612 1.69 dsl #define NETBSD32_SYS_netbsd32_msgrcv 227 613 1.1 mrg 614 1.71 dsl /* syscall: "netbsd32_shmat" ret: "netbsd32_voidp" args: "int" "netbsd32_voidp" "int" */ 615 1.69 dsl #define NETBSD32_SYS_netbsd32_shmat 228 616 1.1 mrg 617 1.30 fvdl /* syscall: "compat_14_netbsd32_shmctl" ret: "int" args: "int" "int" "netbsd32_shmid_dsp_t" */ 618 1.69 dsl #define NETBSD32_SYS_compat_14_netbsd32_shmctl 229 619 1.1 mrg 620 1.71 dsl /* syscall: "netbsd32_shmdt" ret: "int" args: "netbsd32_voidp" */ 621 1.69 dsl #define NETBSD32_SYS_netbsd32_shmdt 230 622 1.1 mrg 623 1.11 eeh /* syscall: "netbsd32_shmget" ret: "int" args: "netbsd32_key_t" "netbsd32_size_t" "int" */ 624 1.69 dsl #define NETBSD32_SYS_netbsd32_shmget 231 625 1.1 mrg 626 1.83 christos /* syscall: "compat_50_netbsd32_clock_gettime" ret: "int" args: "netbsd32_clockid_t" "netbsd32_timespec50p_t" */ 627 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_clock_gettime 232 628 1.1 mrg 629 1.83 christos /* syscall: "compat_50_netbsd32_clock_settime" ret: "int" args: "netbsd32_clockid_t" "netbsd32_timespec50p_t" */ 630 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_clock_settime 233 631 1.1 mrg 632 1.83 christos /* syscall: "compat_50_netbsd32_clock_getres" ret: "int" args: "netbsd32_clockid_t" "netbsd32_timespec50p_t" */ 633 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_clock_getres 234 634 1.1 mrg 635 1.43 cube /* syscall: "netbsd32_timer_create" ret: "int" args: "netbsd32_clockid_t" "netbsd32_sigeventp_t" "netbsd32_timerp_t" */ 636 1.69 dsl #define NETBSD32_SYS_netbsd32_timer_create 235 637 1.43 cube 638 1.43 cube /* syscall: "netbsd32_timer_delete" ret: "int" args: "netbsd32_timer_t" */ 639 1.69 dsl #define NETBSD32_SYS_netbsd32_timer_delete 236 640 1.43 cube 641 1.83 christos /* syscall: "compat_50_netbsd32_timer_settime" ret: "int" args: "netbsd32_timer_t" "int" "netbsd32_itimerspec50p_t" "netbsd32_itimerspec50p_t" */ 642 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_timer_settime 237 643 1.43 cube 644 1.83 christos /* syscall: "compat_50_netbsd32_timer_gettime" ret: "int" args: "netbsd32_timer_t" "netbsd32_itimerspec50p_t" */ 645 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_timer_gettime 238 646 1.43 cube 647 1.43 cube /* syscall: "netbsd32_timer_getoverrun" ret: "int" args: "netbsd32_timer_t" */ 648 1.69 dsl #define NETBSD32_SYS_netbsd32_timer_getoverrun 239 649 1.43 cube 650 1.83 christos /* syscall: "compat_50_netbsd32_nanosleep" ret: "int" args: "netbsd32_timespec50p_t" "netbsd32_timespec50p_t" */ 651 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_nanosleep 240 652 1.1 mrg 653 1.11 eeh /* syscall: "netbsd32_fdatasync" ret: "int" args: "int" */ 654 1.69 dsl #define NETBSD32_SYS_netbsd32_fdatasync 241 655 1.1 mrg 656 1.37 cube /* syscall: "netbsd32_mlockall" ret: "int" args: "int" */ 657 1.69 dsl #define NETBSD32_SYS_netbsd32_mlockall 242 658 1.37 cube 659 1.37 cube /* syscall: "munlockall" ret: "int" args: */ 660 1.69 dsl #define NETBSD32_SYS_munlockall 243 661 1.37 cube 662 1.83 christos /* syscall: "compat_50_netbsd32___sigtimedwait" ret: "int" args: "netbsd32_sigsetp_t" "netbsd32_siginfop_t" "netbsd32_timespec50p_t" */ 663 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32___sigtimedwait 244 664 1.44 cube 665 1.113 martin /* syscall: "netbsd32_sigqueueinfo" ret: "int" args: "pid_t" "const netbsd32_siginfop_t" */ 666 1.113 martin #define NETBSD32_SYS_netbsd32_sigqueueinfo 245 667 1.113 martin 668 1.113 martin /* syscall: "netbsd32_modctl" ret: "int" args: "int" "netbsd32_voidp" */ 669 1.113 martin #define NETBSD32_SYS_netbsd32_modctl 246 670 1.113 martin 671 1.48 cube /* syscall: "netbsd32__ksem_init" ret: "int" args: "unsigned int" "netbsd32_semidp_t" */ 672 1.69 dsl #define NETBSD32_SYS_netbsd32__ksem_init 247 673 1.48 cube 674 1.71 dsl /* syscall: "netbsd32__ksem_open" ret: "int" args: "netbsd32_charp" "int" "mode_t" "unsigned int" "netbsd32_semidp_t" */ 675 1.69 dsl #define NETBSD32_SYS_netbsd32__ksem_open 248 676 1.48 cube 677 1.71 dsl /* syscall: "netbsd32__ksem_unlink" ret: "int" args: "netbsd32_charp" */ 678 1.69 dsl #define NETBSD32_SYS_netbsd32__ksem_unlink 249 679 1.48 cube 680 1.80 ad /* syscall: "netbsd32__ksem_close" ret: "int" args: "netbsd32_intptr_t" */ 681 1.69 dsl #define NETBSD32_SYS_netbsd32__ksem_close 250 682 1.48 cube 683 1.80 ad /* syscall: "netbsd32__ksem_post" ret: "int" args: "netbsd32_intptr_t" */ 684 1.69 dsl #define NETBSD32_SYS_netbsd32__ksem_post 251 685 1.48 cube 686 1.80 ad /* syscall: "netbsd32__ksem_wait" ret: "int" args: "netbsd32_intptr_t" */ 687 1.69 dsl #define NETBSD32_SYS_netbsd32__ksem_wait 252 688 1.48 cube 689 1.80 ad /* syscall: "netbsd32__ksem_trywait" ret: "int" args: "netbsd32_intptr_t" */ 690 1.69 dsl #define NETBSD32_SYS_netbsd32__ksem_trywait 253 691 1.48 cube 692 1.80 ad /* syscall: "netbsd32__ksem_getvalue" ret: "int" args: "netbsd32_intptr_t" "netbsd32_intp" */ 693 1.69 dsl #define NETBSD32_SYS_netbsd32__ksem_getvalue 254 694 1.48 cube 695 1.80 ad /* syscall: "netbsd32__ksem_destroy" ret: "int" args: "netbsd32_intptr_t" */ 696 1.69 dsl #define NETBSD32_SYS_netbsd32__ksem_destroy 255 697 1.48 cube 698 1.101 joerg /* syscall: "netbsd32__ksem_timedwait" ret: "int" args: "intptr_t" "const netbsd32_timespecp_t" */ 699 1.101 joerg #define NETBSD32_SYS_netbsd32__ksem_timedwait 256 700 1.101 joerg 701 1.113 martin /* syscall: "netbsd32_mq_open" ret: "mqd_t" args: "const netbsd32_charp" "int" "mode_t" "netbsd32_mq_attrp_t" */ 702 1.113 martin #define NETBSD32_SYS_netbsd32_mq_open 257 703 1.113 martin 704 1.113 martin /* syscall: "netbsd32_mq_close" ret: "int" args: "mqd_t" */ 705 1.113 martin #define NETBSD32_SYS_netbsd32_mq_close 258 706 1.113 martin 707 1.113 martin /* syscall: "netbsd32_mq_unlink" ret: "int" args: "const netbsd32_charp" */ 708 1.113 martin #define NETBSD32_SYS_netbsd32_mq_unlink 259 709 1.113 martin 710 1.113 martin /* syscall: "netbsd32_mq_getattr" ret: "int" args: "mqd_t" "netbsd32_mq_attrp_t" */ 711 1.113 martin #define NETBSD32_SYS_netbsd32_mq_getattr 260 712 1.113 martin 713 1.113 martin /* syscall: "netbsd32_mq_setattr" ret: "int" args: "mqd_t" "const netbsd32_mq_attrp_t" "netbsd32_mq_attrp_t" */ 714 1.113 martin #define NETBSD32_SYS_netbsd32_mq_setattr 261 715 1.113 martin 716 1.113 martin /* syscall: "netbsd32_mq_notify" ret: "int" args: "mqd_t" "const netbsd32_sigeventp_t" */ 717 1.113 martin #define NETBSD32_SYS_netbsd32_mq_notify 262 718 1.113 martin 719 1.113 martin /* syscall: "netbsd32_mq_send" ret: "int" args: "mqd_t" "const netbsd32_charp" "netbsd32_size_t" "unsigned" */ 720 1.113 martin #define NETBSD32_SYS_netbsd32_mq_send 263 721 1.113 martin 722 1.113 martin /* syscall: "netbsd32_mq_receive" ret: "netbsd32_ssize_t" args: "mqd_t" "netbsd32_charp" "netbsd32_size_t" "netbsd32_uintp" */ 723 1.113 martin #define NETBSD32_SYS_netbsd32_mq_receive 264 724 1.113 martin 725 1.113 martin /* syscall: "compat_50_netbsd32_mq_timedsend" ret: "int" args: "mqd_t" "const netbsd32_charp" "netbsd32_size_t" "unsigned" "const netbsd32_timespec50p_t" */ 726 1.113 martin #define NETBSD32_SYS_compat_50_netbsd32_mq_timedsend 265 727 1.113 martin 728 1.113 martin /* syscall: "compat_50_netbsd32_mq_timedreceive" ret: "netbsd32_ssize_t" args: "mqd_t" "netbsd32_charp" "netbsd32_size_t" "netbsd32_uintp" "const netbsd32_timespec50p_t" */ 729 1.113 martin #define NETBSD32_SYS_compat_50_netbsd32_mq_timedreceive 266 730 1.113 martin 731 1.157 thorpej /* syscall: "netbsd32_eventfd" ret: "int" args: "unsigned int" "int" */ 732 1.157 thorpej #define NETBSD32_SYS_netbsd32_eventfd 267 733 1.157 thorpej 734 1.71 dsl /* syscall: "netbsd32___posix_rename" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ 735 1.69 dsl #define NETBSD32_SYS_netbsd32___posix_rename 270 736 1.1 mrg 737 1.34 chs /* syscall: "netbsd32_swapctl" ret: "int" args: "int" "netbsd32_voidp" "int" */ 738 1.69 dsl #define NETBSD32_SYS_netbsd32_swapctl 271 739 1.1 mrg 740 1.61 cube /* syscall: "compat_30_netbsd32_getdents" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */ 741 1.69 dsl #define NETBSD32_SYS_compat_30_netbsd32_getdents 272 742 1.1 mrg 743 1.11 eeh /* syscall: "netbsd32_minherit" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ 744 1.69 dsl #define NETBSD32_SYS_netbsd32_minherit 273 745 1.1 mrg 746 1.71 dsl /* syscall: "netbsd32_lchmod" ret: "int" args: "netbsd32_charp" "mode_t" */ 747 1.69 dsl #define NETBSD32_SYS_netbsd32_lchmod 274 748 1.1 mrg 749 1.71 dsl /* syscall: "netbsd32_lchown" ret: "int" args: "netbsd32_charp" "uid_t" "gid_t" */ 750 1.69 dsl #define NETBSD32_SYS_netbsd32_lchown 275 751 1.1 mrg 752 1.83 christos /* syscall: "compat_50_netbsd32_lutimes" ret: "int" args: "netbsd32_charp" "netbsd32_timeval50p_t" */ 753 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_lutimes 276 754 1.1 mrg 755 1.11 eeh /* syscall: "netbsd32___msync13" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ 756 1.69 dsl #define NETBSD32_SYS_netbsd32___msync13 277 757 1.1 mrg 758 1.71 dsl /* syscall: "compat_30_netbsd32___stat13" ret: "int" args: "netbsd32_charp" "netbsd32_stat13p_t" */ 759 1.69 dsl #define NETBSD32_SYS_compat_30_netbsd32___stat13 278 760 1.1 mrg 761 1.61 cube /* syscall: "compat_30_netbsd32___fstat13" ret: "int" args: "int" "netbsd32_stat13p_t" */ 762 1.69 dsl #define NETBSD32_SYS_compat_30_netbsd32___fstat13 279 763 1.1 mrg 764 1.71 dsl /* syscall: "compat_30_netbsd32___lstat13" ret: "int" args: "netbsd32_charp" "netbsd32_stat13p_t" */ 765 1.69 dsl #define NETBSD32_SYS_compat_30_netbsd32___lstat13 280 766 1.1 mrg 767 1.71 dsl /* syscall: "netbsd32___sigaltstack14" ret: "int" args: "netbsd32_sigaltstackp_t" "netbsd32_sigaltstackp_t" */ 768 1.69 dsl #define NETBSD32_SYS_netbsd32___sigaltstack14 281 769 1.1 mrg 770 1.1 mrg /* syscall: "__vfork14" ret: "int" args: */ 771 1.69 dsl #define NETBSD32_SYS___vfork14 282 772 1.1 mrg 773 1.71 dsl /* syscall: "netbsd32___posix_chown" ret: "int" args: "netbsd32_charp" "uid_t" "gid_t" */ 774 1.69 dsl #define NETBSD32_SYS_netbsd32___posix_chown 283 775 1.1 mrg 776 1.11 eeh /* syscall: "netbsd32___posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */ 777 1.69 dsl #define NETBSD32_SYS_netbsd32___posix_fchown 284 778 1.1 mrg 779 1.71 dsl /* syscall: "netbsd32___posix_lchown" ret: "int" args: "netbsd32_charp" "uid_t" "gid_t" */ 780 1.69 dsl #define NETBSD32_SYS_netbsd32___posix_lchown 285 781 1.1 mrg 782 1.11 eeh /* syscall: "netbsd32_getsid" ret: "pid_t" args: "pid_t" */ 783 1.69 dsl #define NETBSD32_SYS_netbsd32_getsid 286 784 1.1 mrg 785 1.39 cube /* syscall: "netbsd32___clone" ret: "int" args: "int" "netbsd32_voidp" */ 786 1.69 dsl #define NETBSD32_SYS_netbsd32___clone 287 787 1.39 cube 788 1.71 dsl /* syscall: "netbsd32_fktrace" ret: "int" args: "int" "int" "int" "int" */ 789 1.69 dsl #define NETBSD32_SYS_netbsd32_fktrace 288 790 1.1 mrg 791 1.107 njoly /* syscall: "netbsd32_preadv" ret: "netbsd32_ssize_t" args: "int" "netbsd32_iovecp_t" "int" "int" "netbsd32_off_t" */ 792 1.69 dsl #define NETBSD32_SYS_netbsd32_preadv 289 793 1.1 mrg 794 1.107 njoly /* syscall: "netbsd32_pwritev" ret: "netbsd32_ssize_t" args: "int" "netbsd32_iovecp_t" "int" "int" "netbsd32_off_t" */ 795 1.69 dsl #define NETBSD32_SYS_netbsd32_pwritev 290 796 1.1 mrg 797 1.71 dsl /* syscall: "netbsd32___sigaction14" ret: "int" args: "int" "netbsd32_sigactionp_t" "netbsd32_sigactionp_t" */ 798 1.69 dsl #define NETBSD32_SYS_netbsd32___sigaction14 291 799 1.12 eeh 800 1.12 eeh /* syscall: "netbsd32___sigpending14" ret: "int" args: "netbsd32_sigsetp_t" */ 801 1.69 dsl #define NETBSD32_SYS_netbsd32___sigpending14 292 802 1.12 eeh 803 1.71 dsl /* syscall: "netbsd32___sigprocmask14" ret: "int" args: "int" "netbsd32_sigsetp_t" "netbsd32_sigsetp_t" */ 804 1.69 dsl #define NETBSD32_SYS_netbsd32___sigprocmask14 293 805 1.12 eeh 806 1.71 dsl /* syscall: "netbsd32___sigsuspend14" ret: "int" args: "netbsd32_sigsetp_t" */ 807 1.69 dsl #define NETBSD32_SYS_netbsd32___sigsuspend14 294 808 1.12 eeh 809 1.30 fvdl /* syscall: "compat_16_netbsd32___sigreturn14" ret: "int" args: "netbsd32_sigcontextp_t" */ 810 1.69 dsl #define NETBSD32_SYS_compat_16_netbsd32___sigreturn14 295 811 1.12 eeh 812 1.12 eeh /* syscall: "netbsd32___getcwd" ret: "int" args: "netbsd32_charp" "netbsd32_size_t" */ 813 1.69 dsl #define NETBSD32_SYS_netbsd32___getcwd 296 814 1.12 eeh 815 1.12 eeh /* syscall: "netbsd32_fchroot" ret: "int" args: "int" */ 816 1.69 dsl #define NETBSD32_SYS_netbsd32_fchroot 297 817 1.12 eeh 818 1.71 dsl /* syscall: "compat_30_netbsd32_fhopen" ret: "int" args: "netbsd32_fhandlep_t" "int" */ 819 1.69 dsl #define NETBSD32_SYS_compat_30_netbsd32_fhopen 298 820 1.12 eeh 821 1.71 dsl /* syscall: "compat_30_netbsd32_fhstat" ret: "int" args: "netbsd32_fhandlep_t" "netbsd32_stat13p_t" */ 822 1.69 dsl #define NETBSD32_SYS_compat_30_netbsd32_fhstat 299 823 1.12 eeh 824 1.83 christos /* syscall: "compat_20_netbsd32_fhstatfs" ret: "int" args: "netbsd32_fhandlep_t" "netbsd32_stat50p_t" */ 825 1.69 dsl #define NETBSD32_SYS_compat_20_netbsd32_fhstatfs 300 826 1.12 eeh 827 1.83 christos /* syscall: "compat_50_netbsd32___semctl14" ret: "int" args: "int" "int" "int" "..." */ 828 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32___semctl14 301 829 1.12 eeh 830 1.83 christos /* syscall: "compat_50_netbsd32___msgctl13" ret: "int" args: "int" "int" "netbsd32_msqid_ds50p_t" */ 831 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32___msgctl13 302 832 1.12 eeh 833 1.83 christos /* syscall: "compat_50_netbsd32___shmctl13" ret: "int" args: "int" "int" "netbsd32_shmid_ds50p_t" */ 834 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32___shmctl13 303 835 1.12 eeh 836 1.71 dsl /* syscall: "netbsd32_lchflags" ret: "int" args: "netbsd32_charp" "netbsd32_u_long" */ 837 1.69 dsl #define NETBSD32_SYS_netbsd32_lchflags 304 838 1.21 mrg 839 1.21 mrg /* syscall: "issetugid" ret: "int" args: */ 840 1.69 dsl #define NETBSD32_SYS_issetugid 305 841 1.21 mrg 842 1.71 dsl /* syscall: "netbsd32_utrace" ret: "int" args: "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 843 1.69 dsl #define NETBSD32_SYS_netbsd32_utrace 306 844 1.30 fvdl 845 1.30 fvdl /* syscall: "netbsd32_getcontext" ret: "int" args: "netbsd32_ucontextp" */ 846 1.69 dsl #define NETBSD32_SYS_netbsd32_getcontext 307 847 1.30 fvdl 848 1.108 njoly /* syscall: "netbsd32_setcontext" ret: "int" args: "netbsd32_ucontextp" */ 849 1.69 dsl #define NETBSD32_SYS_netbsd32_setcontext 308 850 1.21 mrg 851 1.71 dsl /* syscall: "netbsd32__lwp_create" ret: "int" args: "netbsd32_ucontextp" "netbsd32_u_long" "netbsd32_lwpidp" */ 852 1.69 dsl #define NETBSD32_SYS_netbsd32__lwp_create 309 853 1.50 cube 854 1.50 cube /* syscall: "_lwp_exit" ret: "int" args: */ 855 1.69 dsl #define NETBSD32_SYS__lwp_exit 310 856 1.50 cube 857 1.50 cube /* syscall: "_lwp_self" ret: "lwpid_t" args: */ 858 1.69 dsl #define NETBSD32_SYS__lwp_self 311 859 1.50 cube 860 1.50 cube /* syscall: "netbsd32__lwp_wait" ret: "int" args: "lwpid_t" "netbsd32_lwpidp" */ 861 1.69 dsl #define NETBSD32_SYS_netbsd32__lwp_wait 312 862 1.50 cube 863 1.50 cube /* syscall: "netbsd32__lwp_suspend" ret: "int" args: "lwpid_t" */ 864 1.69 dsl #define NETBSD32_SYS_netbsd32__lwp_suspend 313 865 1.50 cube 866 1.50 cube /* syscall: "netbsd32__lwp_continue" ret: "int" args: "lwpid_t" */ 867 1.69 dsl #define NETBSD32_SYS_netbsd32__lwp_continue 314 868 1.50 cube 869 1.50 cube /* syscall: "netbsd32__lwp_wakeup" ret: "int" args: "lwpid_t" */ 870 1.69 dsl #define NETBSD32_SYS_netbsd32__lwp_wakeup 315 871 1.50 cube 872 1.83 christos /* syscall: "_lwp_getprivate" ret: "netbsd32_voidp" args: */ 873 1.69 dsl #define NETBSD32_SYS__lwp_getprivate 316 874 1.50 cube 875 1.50 cube /* syscall: "netbsd32__lwp_setprivate" ret: "void" args: "netbsd32_voidp" */ 876 1.69 dsl #define NETBSD32_SYS_netbsd32__lwp_setprivate 317 877 1.50 cube 878 1.63 cube /* syscall: "netbsd32__lwp_kill" ret: "int" args: "lwpid_t" "int" */ 879 1.69 dsl #define NETBSD32_SYS_netbsd32__lwp_kill 318 880 1.63 cube 881 1.63 cube /* syscall: "netbsd32__lwp_detach" ret: "int" args: "lwpid_t" */ 882 1.69 dsl #define NETBSD32_SYS_netbsd32__lwp_detach 319 883 1.63 cube 884 1.83 christos /* syscall: "compat_50_netbsd32__lwp_park" ret: "int" args: "netbsd32_timespec50p_t" "lwpid_t" "netbsd32_voidp" "netbsd32_voidp" */ 885 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32__lwp_park 320 886 1.63 cube 887 1.71 dsl /* syscall: "netbsd32__lwp_unpark" ret: "int" args: "lwpid_t" "netbsd32_voidp" */ 888 1.69 dsl #define NETBSD32_SYS_netbsd32__lwp_unpark 321 889 1.63 cube 890 1.71 dsl /* syscall: "netbsd32__lwp_unpark_all" ret: "netbsd32_size_t" args: "netbsd32_lwpidp" "netbsd32_size_t" "netbsd32_voidp" */ 891 1.69 dsl #define NETBSD32_SYS_netbsd32__lwp_unpark_all 322 892 1.63 cube 893 1.71 dsl /* syscall: "netbsd32__lwp_setname" ret: "int" args: "lwpid_t" "netbsd32_charp" */ 894 1.70 ad #define NETBSD32_SYS_netbsd32__lwp_setname 323 895 1.70 ad 896 1.70 ad /* syscall: "netbsd32__lwp_getname" ret: "int" args: "lwpid_t" "netbsd32_charp" "netbsd32_size_t" */ 897 1.70 ad #define NETBSD32_SYS_netbsd32__lwp_getname 324 898 1.70 ad 899 1.70 ad /* syscall: "netbsd32__lwp_ctl" ret: "int" args: "int" "netbsd32_pointer_t" */ 900 1.70 ad #define NETBSD32_SYS_netbsd32__lwp_ctl 325 901 1.70 ad 902 1.100 rmind /* 330 is obsolete netbsd32_sa_register */ 903 1.100 rmind /* 331 is obsolete netbsd32_sa_stacks */ 904 1.100 rmind /* 332 is obsolete sa_enable */ 905 1.100 rmind /* 333 is obsolete netbsd32_sa_setconcurrency */ 906 1.100 rmind /* 334 is obsolete sa_yield */ 907 1.100 rmind /* 335 is obsolete netbsd32_sa_preempt */ 908 1.50 cube /* 336 is obsolete sys_sa_unblockyield */ 909 1.71 dsl /* syscall: "netbsd32___sigaction_sigtramp" ret: "int" args: "int" "netbsd32_sigactionp_t" "netbsd32_sigactionp_t" "netbsd32_voidp" "int" */ 910 1.69 dsl #define NETBSD32_SYS_netbsd32___sigaction_sigtramp 340 911 1.26 scw 912 1.136 maxv /* 341 is obsolete netbsd32_pmc_get_info */ 913 1.136 maxv /* 342 is obsolete netbsd32_pmc_control */ 914 1.83 christos /* syscall: "netbsd32_rasctl" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ 915 1.69 dsl #define NETBSD32_SYS_netbsd32_rasctl 343 916 1.41 cube 917 1.46 cube /* syscall: "kqueue" ret: "int" args: */ 918 1.69 dsl #define NETBSD32_SYS_kqueue 344 919 1.46 cube 920 1.158 rin /* syscall: "compat_50_netbsd32_kevent" ret: "int" args: "int" "netbsd32_kevent100p_t" "netbsd32_size_t" "netbsd32_kevent100p_t" "netbsd32_size_t" "netbsd32_timespec50p_t" */ 921 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_kevent 345 922 1.46 cube 923 1.82 mrg /* syscall: "netbsd32__sched_setparam" ret: "int" args: "pid_t" "lwpid_t" "int" "const netbsd32_sched_paramp_t" */ 924 1.82 mrg #define NETBSD32_SYS_netbsd32__sched_setparam 346 925 1.82 mrg 926 1.82 mrg /* syscall: "netbsd32__sched_getparam" ret: "int" args: "pid_t" "lwpid_t" "netbsd32_intp" "netbsd32_sched_paramp_t" */ 927 1.82 mrg #define NETBSD32_SYS_netbsd32__sched_getparam 347 928 1.82 mrg 929 1.82 mrg /* syscall: "netbsd32__sched_setaffinity" ret: "int" args: "pid_t" "lwpid_t" "netbsd32_size_t" "const netbsd32_cpusetp_t" */ 930 1.82 mrg #define NETBSD32_SYS_netbsd32__sched_setaffinity 348 931 1.82 mrg 932 1.82 mrg /* syscall: "netbsd32__sched_getaffinity" ret: "int" args: "pid_t" "lwpid_t" "netbsd32_size_t" "netbsd32_cpusetp_t" */ 933 1.82 mrg #define NETBSD32_SYS_netbsd32__sched_getaffinity 349 934 1.82 mrg 935 1.63 cube /* syscall: "sched_yield" ret: "int" args: */ 936 1.69 dsl #define NETBSD32_SYS_sched_yield 350 937 1.63 cube 938 1.123 skrll /* syscall: "netbsd32__sched_protect" ret: "int" args: "int" */ 939 1.123 skrll #define NETBSD32_SYS_netbsd32__sched_protect 351 940 1.123 skrll 941 1.107 njoly /* syscall: "netbsd32_fsync_range" ret: "int" args: "int" "int" "netbsd32_off_t" "netbsd32_off_t" */ 942 1.69 dsl #define NETBSD32_SYS_netbsd32_fsync_range 354 943 1.40 cube 944 1.35 cube /* syscall: "netbsd32_uuidgen" ret: "int" args: "netbsd32_uuidp_t" "int" */ 945 1.69 dsl #define NETBSD32_SYS_netbsd32_uuidgen 355 946 1.35 cube 947 1.143 christos /* syscall: "compat_90_netbsd32_getvfsstat" ret: "int" args: "netbsd32_statvfs90p_t" "netbsd32_size_t" "int" */ 948 1.143 christos #define NETBSD32_SYS_compat_90_netbsd32_getvfsstat 356 949 1.32 cube 950 1.143 christos /* syscall: "compat_90_netbsd32_statvfs1" ret: "int" args: "netbsd32_charp" "netbsd32_statvfs90p_t" "int" */ 951 1.143 christos #define NETBSD32_SYS_compat_90_netbsd32_statvfs1 357 952 1.32 cube 953 1.143 christos /* syscall: "compat_90_netbsd32_fstatvfs1" ret: "int" args: "int" "netbsd32_statvfs90p_t" "int" */ 954 1.143 christos #define NETBSD32_SYS_compat_90_netbsd32_fstatvfs1 358 955 1.32 cube 956 1.143 christos /* syscall: "compat_30_netbsd32_fhstatvfs1" ret: "int" args: "netbsd32_fhandlep_t" "netbsd32_statvfs90p_t" "int" */ 957 1.69 dsl #define NETBSD32_SYS_compat_30_netbsd32_fhstatvfs1 359 958 1.32 cube 959 1.71 dsl /* syscall: "netbsd32_extattrctl" ret: "int" args: "netbsd32_charp" "int" "netbsd32_charp" "int" "netbsd32_charp" */ 960 1.69 dsl #define NETBSD32_SYS_netbsd32_extattrctl 360 961 1.36 cube 962 1.71 dsl /* syscall: "netbsd32_extattr_set_file" ret: "int" args: "netbsd32_charp" "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 963 1.69 dsl #define NETBSD32_SYS_netbsd32_extattr_set_file 361 964 1.36 cube 965 1.71 dsl /* syscall: "netbsd32_extattr_get_file" ret: "int" args: "netbsd32_charp" "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 966 1.69 dsl #define NETBSD32_SYS_netbsd32_extattr_get_file 362 967 1.36 cube 968 1.71 dsl /* syscall: "netbsd32_extattr_delete_file" ret: "int" args: "netbsd32_charp" "int" "netbsd32_charp" */ 969 1.69 dsl #define NETBSD32_SYS_netbsd32_extattr_delete_file 363 970 1.36 cube 971 1.71 dsl /* syscall: "netbsd32_extattr_set_fd" ret: "int" args: "int" "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 972 1.69 dsl #define NETBSD32_SYS_netbsd32_extattr_set_fd 364 973 1.36 cube 974 1.71 dsl /* syscall: "netbsd32_extattr_get_fd" ret: "int" args: "int" "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 975 1.69 dsl #define NETBSD32_SYS_netbsd32_extattr_get_fd 365 976 1.36 cube 977 1.71 dsl /* syscall: "netbsd32_extattr_delete_fd" ret: "int" args: "int" "int" "netbsd32_charp" */ 978 1.69 dsl #define NETBSD32_SYS_netbsd32_extattr_delete_fd 366 979 1.36 cube 980 1.71 dsl /* syscall: "netbsd32_extattr_set_link" ret: "int" args: "netbsd32_charp" "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 981 1.69 dsl #define NETBSD32_SYS_netbsd32_extattr_set_link 367 982 1.36 cube 983 1.71 dsl /* syscall: "netbsd32_extattr_get_link" ret: "int" args: "netbsd32_charp" "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 984 1.69 dsl #define NETBSD32_SYS_netbsd32_extattr_get_link 368 985 1.36 cube 986 1.71 dsl /* syscall: "netbsd32_extattr_delete_link" ret: "int" args: "netbsd32_charp" "int" "netbsd32_charp" */ 987 1.69 dsl #define NETBSD32_SYS_netbsd32_extattr_delete_link 369 988 1.36 cube 989 1.36 cube /* syscall: "netbsd32_extattr_list_fd" ret: "int" args: "int" "int" "netbsd32_voidp" "netbsd32_size_t" */ 990 1.69 dsl #define NETBSD32_SYS_netbsd32_extattr_list_fd 370 991 1.36 cube 992 1.71 dsl /* syscall: "netbsd32_extattr_list_file" ret: "int" args: "netbsd32_charp" "int" "netbsd32_voidp" "netbsd32_size_t" */ 993 1.69 dsl #define NETBSD32_SYS_netbsd32_extattr_list_file 371 994 1.36 cube 995 1.71 dsl /* syscall: "netbsd32_extattr_list_link" ret: "int" args: "netbsd32_charp" "int" "netbsd32_voidp" "netbsd32_size_t" */ 996 1.69 dsl #define NETBSD32_SYS_netbsd32_extattr_list_link 372 997 1.36 cube 998 1.83 christos /* syscall: "compat_50_netbsd32_pselect" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_timespec50p_t" "netbsd32_sigsetp_t" */ 999 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_pselect 373 1000 1.38 cube 1001 1.83 christos /* syscall: "compat_50_netbsd32_pollts" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "netbsd32_timespec50p_t" "netbsd32_sigsetp_t" */ 1002 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_pollts 374 1003 1.38 cube 1004 1.71 dsl /* syscall: "netbsd32_setxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */ 1005 1.69 dsl #define NETBSD32_SYS_netbsd32_setxattr 375 1006 1.42 cube 1007 1.71 dsl /* syscall: "netbsd32_lsetxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */ 1008 1.69 dsl #define NETBSD32_SYS_netbsd32_lsetxattr 376 1009 1.42 cube 1010 1.71 dsl /* syscall: "netbsd32_fsetxattr" ret: "int" args: "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */ 1011 1.69 dsl #define NETBSD32_SYS_netbsd32_fsetxattr 377 1012 1.42 cube 1013 1.71 dsl /* syscall: "netbsd32_getxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 1014 1.69 dsl #define NETBSD32_SYS_netbsd32_getxattr 378 1015 1.42 cube 1016 1.71 dsl /* syscall: "netbsd32_lgetxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 1017 1.69 dsl #define NETBSD32_SYS_netbsd32_lgetxattr 379 1018 1.42 cube 1019 1.71 dsl /* syscall: "netbsd32_fgetxattr" ret: "int" args: "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ 1020 1.69 dsl #define NETBSD32_SYS_netbsd32_fgetxattr 380 1021 1.42 cube 1022 1.71 dsl /* syscall: "netbsd32_listxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */ 1023 1.69 dsl #define NETBSD32_SYS_netbsd32_listxattr 381 1024 1.42 cube 1025 1.71 dsl /* syscall: "netbsd32_llistxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */ 1026 1.69 dsl #define NETBSD32_SYS_netbsd32_llistxattr 382 1027 1.42 cube 1028 1.42 cube /* syscall: "netbsd32_flistxattr" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */ 1029 1.69 dsl #define NETBSD32_SYS_netbsd32_flistxattr 383 1030 1.42 cube 1031 1.71 dsl /* syscall: "netbsd32_removexattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ 1032 1.69 dsl #define NETBSD32_SYS_netbsd32_removexattr 384 1033 1.42 cube 1034 1.71 dsl /* syscall: "netbsd32_lremovexattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ 1035 1.69 dsl #define NETBSD32_SYS_netbsd32_lremovexattr 385 1036 1.42 cube 1037 1.71 dsl /* syscall: "netbsd32_fremovexattr" ret: "int" args: "int" "netbsd32_charp" */ 1038 1.69 dsl #define NETBSD32_SYS_netbsd32_fremovexattr 386 1039 1.42 cube 1040 1.83 christos /* syscall: "compat_50_netbsd32___stat30" ret: "int" args: "netbsd32_charp" "netbsd32_stat50p_t" */ 1041 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32___stat30 387 1042 1.45 christos 1043 1.83 christos /* syscall: "compat_50_netbsd32___fstat30" ret: "int" args: "int" "netbsd32_stat50p_t" */ 1044 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32___fstat30 388 1045 1.45 christos 1046 1.83 christos /* syscall: "compat_50_netbsd32___lstat30" ret: "int" args: "netbsd32_charp" "netbsd32_stat50p_t" */ 1047 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32___lstat30 389 1048 1.45 christos 1049 1.83 christos /* syscall: "netbsd32___getdents30" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */ 1050 1.83 christos #define NETBSD32_SYS_netbsd32___getdents30 390 1051 1.45 christos 1052 1.76 martin /* 391 is ignored old posix fadvise */ 1053 1.83 christos /* syscall: "compat_30_netbsd32___fhstat30" ret: "int" args: "netbsd32_fhandlep_t" "netbsd32_stat50p_t" */ 1054 1.83 christos #define NETBSD32_SYS_compat_30_netbsd32___fhstat30 392 1055 1.51 cube 1056 1.83 christos /* syscall: "compat_50_netbsd32_ntp_gettime" ret: "int" args: "netbsd32_ntptimeval50p_t" */ 1057 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32_ntp_gettime 393 1058 1.53 drochner 1059 1.83 christos /* syscall: "netbsd32___socket30" ret: "int" args: "int" "int" "int" */ 1060 1.83 christos #define NETBSD32_SYS_netbsd32___socket30 394 1061 1.54 mrg 1062 1.71 dsl /* syscall: "netbsd32___getfh30" ret: "int" args: "netbsd32_charp" "netbsd32_pointer_t" "netbsd32_size_tp" */ 1063 1.69 dsl #define NETBSD32_SYS_netbsd32___getfh30 395 1064 1.55 martin 1065 1.71 dsl /* syscall: "netbsd32___fhopen40" ret: "int" args: "netbsd32_pointer_t" "netbsd32_size_t" "int" */ 1066 1.69 dsl #define NETBSD32_SYS_netbsd32___fhopen40 396 1067 1.58 martin 1068 1.143 christos /* syscall: "compat_90_netbsd32_fhstatvfs1" ret: "int" args: "netbsd32_pointer_t" "netbsd32_size_t" "netbsd32_statvfs90p_t" "int" */ 1069 1.143 christos #define NETBSD32_SYS_compat_90_netbsd32_fhstatvfs1 397 1070 1.58 martin 1071 1.83 christos /* syscall: "compat_50_netbsd32___fhstat40" ret: "int" args: "netbsd32_pointer_t" "netbsd32_size_t" "netbsd32_stat50p_t" */ 1072 1.83 christos #define NETBSD32_SYS_compat_50_netbsd32___fhstat40 398 1073 1.58 martin 1074 1.89 matt /* syscall: "netbsd32___mount50" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "int" "netbsd32_voidp" "netbsd32_size_t" */ 1075 1.89 matt #define NETBSD32_SYS_netbsd32___mount50 410 1076 1.89 matt 1077 1.73 dsl /* syscall: "netbsd32_mremap" ret: "netbsd32_voidp" args: "netbsd32_voidp" "netbsd32_size_t" "netbsd32_voidp" "netbsd32_size_t" "int" */ 1078 1.73 dsl #define NETBSD32_SYS_netbsd32_mremap 411 1079 1.73 dsl 1080 1.115 martin /* syscall: "netbsd32_pset_create" ret: "int" args: "netbsd32_psetidp_t" */ 1081 1.115 martin #define NETBSD32_SYS_netbsd32_pset_create 412 1082 1.115 martin 1083 1.115 martin /* syscall: "netbsd32_pset_destroy" ret: "int" args: "psetid_t" */ 1084 1.115 martin #define NETBSD32_SYS_netbsd32_pset_destroy 413 1085 1.115 martin 1086 1.115 martin /* syscall: "netbsd32_pset_assign" ret: "int" args: "psetid_t" "cpuid_t" "netbsd32_psetidp_t" */ 1087 1.115 martin #define NETBSD32_SYS_netbsd32_pset_assign 414 1088 1.115 martin 1089 1.115 martin /* syscall: "netbsd32__pset_bind" ret: "int" args: "idtype_t" "id_t" "id_t" "psetid_t" "netbsd32_psetidp_t" */ 1090 1.115 martin #define NETBSD32_SYS_netbsd32__pset_bind 415 1091 1.115 martin 1092 1.107 njoly /* syscall: "netbsd32___posix_fadvise50" ret: "int" args: "int" "int" "netbsd32_off_t" "netbsd32_off_t" "int" */ 1093 1.75 martin #define NETBSD32_SYS_netbsd32___posix_fadvise50 416 1094 1.75 martin 1095 1.83 christos /* syscall: "netbsd32___select50" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_timevalp_t" */ 1096 1.83 christos #define NETBSD32_SYS_netbsd32___select50 417 1097 1.83 christos 1098 1.83 christos /* syscall: "netbsd32___gettimeofday50" ret: "int" args: "netbsd32_timevalp_t" "netbsd32_voidp" */ 1099 1.83 christos #define NETBSD32_SYS_netbsd32___gettimeofday50 418 1100 1.83 christos 1101 1.83 christos /* syscall: "netbsd32___settimeofday50" ret: "int" args: "const netbsd32_timevalp_t" "const netbsd32_voidp" */ 1102 1.83 christos #define NETBSD32_SYS_netbsd32___settimeofday50 419 1103 1.83 christos 1104 1.83 christos /* syscall: "netbsd32___utimes50" ret: "int" args: "const netbsd32_charp" "const netbsd32_timevalp_t" */ 1105 1.83 christos #define NETBSD32_SYS_netbsd32___utimes50 420 1106 1.83 christos 1107 1.83 christos /* syscall: "netbsd32___adjtime50" ret: "int" args: "const netbsd32_timevalp_t" "netbsd32_timevalp_t" */ 1108 1.83 christos #define NETBSD32_SYS_netbsd32___adjtime50 421 1109 1.83 christos 1110 1.83 christos /* 422 is excluded __lfs_segwait50 */ 1111 1.83 christos /* syscall: "netbsd32___futimes50" ret: "int" args: "int" "const netbsd32_timevalp_t" */ 1112 1.83 christos #define NETBSD32_SYS_netbsd32___futimes50 423 1113 1.83 christos 1114 1.83 christos /* syscall: "netbsd32___lutimes50" ret: "int" args: "const netbsd32_charp" "const netbsd32_timevalp_t" */ 1115 1.83 christos #define NETBSD32_SYS_netbsd32___lutimes50 424 1116 1.83 christos 1117 1.83 christos /* syscall: "netbsd32___setitimer50" ret: "int" args: "int" "const netbsd32_itimervalp_t" "netbsd32_itimervalp_t" */ 1118 1.83 christos #define NETBSD32_SYS_netbsd32___setitimer50 425 1119 1.83 christos 1120 1.83 christos /* syscall: "netbsd32___getitimer50" ret: "int" args: "int" "netbsd32_itimervalp_t" */ 1121 1.83 christos #define NETBSD32_SYS_netbsd32___getitimer50 426 1122 1.83 christos 1123 1.83 christos /* syscall: "netbsd32___clock_gettime50" ret: "int" args: "clockid_t" "netbsd32_timespecp_t" */ 1124 1.83 christos #define NETBSD32_SYS_netbsd32___clock_gettime50 427 1125 1.83 christos 1126 1.83 christos /* syscall: "netbsd32___clock_settime50" ret: "int" args: "clockid_t" "const netbsd32_timespecp_t" */ 1127 1.83 christos #define NETBSD32_SYS_netbsd32___clock_settime50 428 1128 1.83 christos 1129 1.83 christos /* syscall: "netbsd32___clock_getres50" ret: "int" args: "clockid_t" "netbsd32_timespecp_t" */ 1130 1.83 christos #define NETBSD32_SYS_netbsd32___clock_getres50 429 1131 1.83 christos 1132 1.83 christos /* syscall: "netbsd32___nanosleep50" ret: "int" args: "const netbsd32_timespecp_t" "netbsd32_timespecp_t" */ 1133 1.83 christos #define NETBSD32_SYS_netbsd32___nanosleep50 430 1134 1.83 christos 1135 1.83 christos /* syscall: "netbsd32_____sigtimedwait50" ret: "int" args: "const netbsd32_sigsetp_t" "netbsd32_siginfop_t" "netbsd32_timespecp_t" */ 1136 1.83 christos #define NETBSD32_SYS_netbsd32_____sigtimedwait50 431 1137 1.83 christos 1138 1.114 martin /* syscall: "netbsd32___mq_timedsend50" ret: "int" args: "mqd_t" "const netbsd32_charp" "netbsd32_size_t" "unsigned" "const netbsd32_timespecp_t" */ 1139 1.114 martin #define NETBSD32_SYS_netbsd32___mq_timedsend50 432 1140 1.114 martin 1141 1.114 martin /* syscall: "netbsd32___mq_timedreceive50" ret: "netbsd32_ssize_t" args: "mqd_t" "netbsd32_charp" "netbsd32_size_t" "netbsd32_uintp" "const netbsd32_timespecp_t" */ 1142 1.114 martin #define NETBSD32_SYS_netbsd32___mq_timedreceive50 433 1143 1.114 martin 1144 1.105 christos /* syscall: "compat_60_netbsd32__lwp_park" ret: "int" args: "const netbsd32_timespecp_t" "lwpid_t" "const netbsd32_voidp" "const netbsd32_voidp" */ 1145 1.105 christos #define NETBSD32_SYS_compat_60_netbsd32__lwp_park 434 1146 1.83 christos 1147 1.158 rin /* syscall: "compat_100_netbsd32___kevent50" ret: "int" args: "int" "const netbsd32_kevent100p_t" "netbsd32_size_t" "netbsd32_kevent100p_t" "netbsd32_size_t" "const netbsd32_timespecp_t" */ 1148 1.158 rin #define NETBSD32_SYS_compat_100_netbsd32___kevent50 435 1149 1.83 christos 1150 1.83 christos /* syscall: "netbsd32___pselect50" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "const netbsd32_timespecp_t" "const netbsd32_sigsetp_t" */ 1151 1.83 christos #define NETBSD32_SYS_netbsd32___pselect50 436 1152 1.83 christos 1153 1.83 christos /* syscall: "netbsd32___pollts50" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "const netbsd32_timespecp_t" "const netbsd32_sigsetp_t" */ 1154 1.83 christos #define NETBSD32_SYS_netbsd32___pollts50 437 1155 1.83 christos 1156 1.83 christos /* syscall: "netbsd32___stat50" ret: "int" args: "const netbsd32_charp" "netbsd32_statp_t" */ 1157 1.83 christos #define NETBSD32_SYS_netbsd32___stat50 439 1158 1.83 christos 1159 1.83 christos /* syscall: "netbsd32___fstat50" ret: "int" args: "int" "netbsd32_statp_t" */ 1160 1.83 christos #define NETBSD32_SYS_netbsd32___fstat50 440 1161 1.83 christos 1162 1.83 christos /* syscall: "netbsd32___lstat50" ret: "int" args: "const netbsd32_charp" "netbsd32_statp_t" */ 1163 1.83 christos #define NETBSD32_SYS_netbsd32___lstat50 441 1164 1.83 christos 1165 1.83 christos /* syscall: "netbsd32_____semctl50" ret: "int" args: "int" "int" "int" "..." */ 1166 1.83 christos #define NETBSD32_SYS_netbsd32_____semctl50 442 1167 1.83 christos 1168 1.83 christos /* syscall: "netbsd32___shmctl50" ret: "int" args: "int" "int" "netbsd32_shmid_dsp_t" */ 1169 1.83 christos #define NETBSD32_SYS_netbsd32___shmctl50 443 1170 1.83 christos 1171 1.83 christos /* syscall: "netbsd32___msgctl50" ret: "int" args: "int" "int" "netbsd32_msqid_dsp_t" */ 1172 1.83 christos #define NETBSD32_SYS_netbsd32___msgctl50 444 1173 1.83 christos 1174 1.83 christos /* syscall: "netbsd32___getrusage50" ret: "int" args: "int" "netbsd32_rusagep_t" */ 1175 1.83 christos #define NETBSD32_SYS_netbsd32___getrusage50 445 1176 1.83 christos 1177 1.83 christos /* syscall: "netbsd32___timer_settime50" ret: "int" args: "timer_t" "int" "const netbsd32_itimerspecp_t" "netbsd32_itimerspecp_t" */ 1178 1.83 christos #define NETBSD32_SYS_netbsd32___timer_settime50 446 1179 1.83 christos 1180 1.83 christos /* syscall: "netbsd32___timer_gettime50" ret: "int" args: "timer_t" "netbsd32_itimerspecp_t" */ 1181 1.83 christos #define NETBSD32_SYS_netbsd32___timer_gettime50 447 1182 1.83 christos 1183 1.83 christos #if defined(NTP) || !defined(_KERNEL_OPT) 1184 1.83 christos /* syscall: "netbsd32___ntp_gettime50" ret: "int" args: "netbsd32_ntptimevalp_t" */ 1185 1.83 christos #define NETBSD32_SYS_netbsd32___ntp_gettime50 448 1186 1.83 christos 1187 1.83 christos #else 1188 1.83 christos /* 448 is excluded ___ntp_gettime50 */ 1189 1.83 christos #endif 1190 1.83 christos /* syscall: "netbsd32___wait450" ret: "int" args: "int" "netbsd32_intp" "int" "netbsd32_rusagep_t" */ 1191 1.83 christos #define NETBSD32_SYS_netbsd32___wait450 449 1192 1.83 christos 1193 1.87 njoly /* syscall: "netbsd32___mknod50" ret: "int" args: "const netbsd32_charp" "mode_t" "netbsd32_dev_t" */ 1194 1.83 christos #define NETBSD32_SYS_netbsd32___mknod50 450 1195 1.83 christos 1196 1.83 christos /* syscall: "netbsd32___fhstat50" ret: "int" args: "const netbsd32_voidp" "netbsd32_size_t" "netbsd32_statp_t" */ 1197 1.83 christos #define NETBSD32_SYS_netbsd32___fhstat50 451 1198 1.83 christos 1199 1.98 dholland /* 452 is obsolete 5.99 quotactl */ 1200 1.94 njoly /* syscall: "netbsd32_pipe2" ret: "int" args: "netbsd32_intp" "int" */ 1201 1.94 njoly #define NETBSD32_SYS_netbsd32_pipe2 453 1202 1.94 njoly 1203 1.95 njoly /* syscall: "netbsd32_dup3" ret: "int" args: "int" "int" "int" */ 1204 1.95 njoly #define NETBSD32_SYS_netbsd32_dup3 454 1205 1.95 njoly 1206 1.96 njoly /* syscall: "netbsd32_kqueue1" ret: "int" args: "int" */ 1207 1.96 njoly #define NETBSD32_SYS_netbsd32_kqueue1 455 1208 1.96 njoly 1209 1.97 matt /* syscall: "netbsd32_paccept" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_socklenp_t" "const netbsd32_sigsetp_t" "int" */ 1210 1.97 matt #define NETBSD32_SYS_netbsd32_paccept 456 1211 1.97 matt 1212 1.97 matt /* syscall: "netbsd32_linkat" ret: "int" args: "int" "const netbsd32_charp" "int" "const netbsd32_charp" "int" */ 1213 1.97 matt #define NETBSD32_SYS_netbsd32_linkat 457 1214 1.97 matt 1215 1.97 matt /* syscall: "netbsd32_renameat" ret: "int" args: "int" "const netbsd32_charp" "int" "const netbsd32_charp" */ 1216 1.97 matt #define NETBSD32_SYS_netbsd32_renameat 458 1217 1.97 matt 1218 1.97 matt /* syscall: "netbsd32_mkfifoat" ret: "int" args: "int" "const netbsd32_charp" "mode_t" */ 1219 1.97 matt #define NETBSD32_SYS_netbsd32_mkfifoat 459 1220 1.97 matt 1221 1.106 njoly /* syscall: "netbsd32_mknodat" ret: "int" args: "int" "const netbsd32_charp" "mode_t" "int" "netbsd32_dev_t" */ 1222 1.97 matt #define NETBSD32_SYS_netbsd32_mknodat 460 1223 1.97 matt 1224 1.97 matt /* syscall: "netbsd32_mkdirat" ret: "int" args: "int" "const netbsd32_charp" "mode_t" */ 1225 1.97 matt #define NETBSD32_SYS_netbsd32_mkdirat 461 1226 1.97 matt 1227 1.97 matt /* syscall: "netbsd32_faccessat" ret: "int" args: "int" "const netbsd32_charp" "int" "int" */ 1228 1.97 matt #define NETBSD32_SYS_netbsd32_faccessat 462 1229 1.97 matt 1230 1.97 matt /* syscall: "netbsd32_fchmodat" ret: "int" args: "int" "const netbsd32_charp" "mode_t" "int" */ 1231 1.97 matt #define NETBSD32_SYS_netbsd32_fchmodat 463 1232 1.97 matt 1233 1.97 matt /* syscall: "netbsd32_fchownat" ret: "int" args: "int" "const netbsd32_charp" "uid_t" "gid_t" "int" */ 1234 1.97 matt #define NETBSD32_SYS_netbsd32_fchownat 464 1235 1.97 matt 1236 1.97 matt /* syscall: "netbsd32_fexecve" ret: "int" args: "int" "netbsd32_charpp" "netbsd32_charpp" */ 1237 1.97 matt #define NETBSD32_SYS_netbsd32_fexecve 465 1238 1.97 matt 1239 1.97 matt /* syscall: "netbsd32_fstatat" ret: "int" args: "int" "const netbsd32_charp" "netbsd32_statp_t" "int" */ 1240 1.97 matt #define NETBSD32_SYS_netbsd32_fstatat 466 1241 1.97 matt 1242 1.97 matt /* syscall: "netbsd32_utimensat" ret: "int" args: "int" "const netbsd32_charp" "const netbsd32_timespecp_t" "int" */ 1243 1.97 matt #define NETBSD32_SYS_netbsd32_utimensat 467 1244 1.97 matt 1245 1.97 matt /* syscall: "netbsd32_openat" ret: "int" args: "int" "const netbsd32_charp" "int" "..." */ 1246 1.97 matt #define NETBSD32_SYS_netbsd32_openat 468 1247 1.97 matt 1248 1.145 rin /* syscall: "netbsd32_readlinkat" ret: "netbsd32_ssize_t" args: "int" "const netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */ 1249 1.97 matt #define NETBSD32_SYS_netbsd32_readlinkat 469 1250 1.97 matt 1251 1.97 matt /* syscall: "netbsd32_symlinkat" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" */ 1252 1.97 matt #define NETBSD32_SYS_netbsd32_symlinkat 470 1253 1.97 matt 1254 1.97 matt /* syscall: "netbsd32_unlinkat" ret: "int" args: "int" "const netbsd32_charp" "int" */ 1255 1.97 matt #define NETBSD32_SYS_netbsd32_unlinkat 471 1256 1.97 matt 1257 1.97 matt /* syscall: "netbsd32_futimens" ret: "int" args: "int" "const netbsd32_timespecp_t" */ 1258 1.97 matt #define NETBSD32_SYS_netbsd32_futimens 472 1259 1.97 matt 1260 1.99 dholland /* syscall: "netbsd32___quotactl" ret: "int" args: "const netbsd32_charp" "netbsd32_voidp" */ 1261 1.99 dholland #define NETBSD32_SYS_netbsd32___quotactl 473 1262 1.99 dholland 1263 1.103 martin /* syscall: "netbsd32_posix_spawn" ret: "int" args: "netbsd32_pid_tp" "const netbsd32_charp" "const netbsd32_posix_spawn_file_actionsp" "const netbsd32_posix_spawnattrp" "netbsd32_charpp" "netbsd32_charpp" */ 1264 1.103 martin #define NETBSD32_SYS_netbsd32_posix_spawn 474 1265 1.103 martin 1266 1.135 christos /* syscall: "netbsd32_recvmmsg" ret: "int" args: "int" "netbsd32_mmsghdrp_t" "unsigned int" "unsigned int" "netbsd32_timespecp_t" */ 1267 1.135 christos #define NETBSD32_SYS_netbsd32_recvmmsg 475 1268 1.135 christos 1269 1.135 christos /* syscall: "netbsd32_sendmmsg" ret: "int" args: "int" "netbsd32_mmsghdrp_t" "unsigned int" "unsigned int" */ 1270 1.135 christos #define NETBSD32_SYS_netbsd32_sendmmsg 476 1271 1.135 christos 1272 1.104 christos /* syscall: "netbsd32_clock_nanosleep" ret: "int" args: "netbsd32_clockid_t" "int" "const netbsd32_timespecp_t" "netbsd32_timespecp_t" */ 1273 1.104 christos #define NETBSD32_SYS_netbsd32_clock_nanosleep 477 1274 1.104 christos 1275 1.130 kamil /* syscall: "netbsd32____lwp_park60" ret: "int" args: "netbsd32_clockid_t" "int" "netbsd32_timespecp_t" "lwpid_t" "netbsd32_voidp" "netbsd32_voidp" */ 1276 1.105 christos #define NETBSD32_SYS_netbsd32____lwp_park60 478 1277 1.105 christos 1278 1.112 martin /* syscall: "netbsd32_posix_fallocate" ret: "int" args: "int" "int" "netbsd32_off_t" "netbsd32_off_t" */ 1279 1.112 martin #define NETBSD32_SYS_netbsd32_posix_fallocate 479 1280 1.112 martin 1281 1.112 martin /* syscall: "netbsd32_fdiscard" ret: "int" args: "int" "int" "netbsd32_off_t" "netbsd32_off_t" */ 1282 1.112 martin #define NETBSD32_SYS_netbsd32_fdiscard 480 1283 1.112 martin 1284 1.124 skrll /* syscall: "netbsd32_wait6" ret: "int" args: "idtype_t" "id_t" "netbsd32_intp" "int" "netbsd32_wrusagep_t" "netbsd32_siginfop_t" */ 1285 1.124 skrll #define NETBSD32_SYS_netbsd32_wait6 481 1286 1.124 skrll 1287 1.124 skrll /* syscall: "netbsd32_clock_getcpuclockid2" ret: "int" args: "idtype_t" "id_t" "netbsd32_clockidp_t" */ 1288 1.124 skrll #define NETBSD32_SYS_netbsd32_clock_getcpuclockid2 482 1289 1.124 skrll 1290 1.146 rin /* syscall: "netbsd32___getvfsstat90" ret: "int" args: "netbsd32_statvfsp_t" "netbsd32_size_t" "int" */ 1291 1.143 christos #define NETBSD32_SYS_netbsd32___getvfsstat90 483 1292 1.143 christos 1293 1.143 christos /* syscall: "netbsd32___statvfs190" ret: "int" args: "netbsd32_charp" "netbsd32_statvfsp_t" "int" */ 1294 1.143 christos #define NETBSD32_SYS_netbsd32___statvfs190 484 1295 1.143 christos 1296 1.143 christos /* syscall: "netbsd32___fstatvfs190" ret: "int" args: "int" "netbsd32_statvfsp_t" "int" */ 1297 1.143 christos #define NETBSD32_SYS_netbsd32___fstatvfs190 485 1298 1.143 christos 1299 1.146 rin /* syscall: "netbsd32___fhstatvfs190" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "netbsd32_statvfsp_t" "int" */ 1300 1.143 christos #define NETBSD32_SYS_netbsd32___fhstatvfs190 486 1301 1.143 christos 1302 1.154 christos /* syscall: "netbsd32___acl_get_link" ret: "int" args: "const netbsd32_charp" "acl_type_t" "netbsd32_aclp_t" */ 1303 1.154 christos #define NETBSD32_SYS_netbsd32___acl_get_link 487 1304 1.154 christos 1305 1.154 christos /* syscall: "netbsd32___acl_set_link" ret: "int" args: "const netbsd32_charp" "acl_type_t" "netbsd32_aclp_t" */ 1306 1.154 christos #define NETBSD32_SYS_netbsd32___acl_set_link 488 1307 1.154 christos 1308 1.154 christos /* syscall: "netbsd32___acl_delete_link" ret: "int" args: "const netbsd32_charp" "acl_type_t" */ 1309 1.154 christos #define NETBSD32_SYS_netbsd32___acl_delete_link 489 1310 1.154 christos 1311 1.154 christos /* syscall: "netbsd32___acl_aclcheck_link" ret: "int" args: "const netbsd32_charp" "acl_type_t" "netbsd32_aclp_t" */ 1312 1.154 christos #define NETBSD32_SYS_netbsd32___acl_aclcheck_link 490 1313 1.154 christos 1314 1.154 christos /* syscall: "netbsd32___acl_get_file" ret: "int" args: "const netbsd32_charp" "acl_type_t" "netbsd32_aclp_t" */ 1315 1.154 christos #define NETBSD32_SYS_netbsd32___acl_get_file 491 1316 1.154 christos 1317 1.154 christos /* syscall: "netbsd32___acl_set_file" ret: "int" args: "const netbsd32_charp" "acl_type_t" "netbsd32_aclp_t" */ 1318 1.154 christos #define NETBSD32_SYS_netbsd32___acl_set_file 492 1319 1.154 christos 1320 1.154 christos /* syscall: "netbsd32___acl_get_fd" ret: "int" args: "int" "acl_type_t" "netbsd32_aclp_t" */ 1321 1.154 christos #define NETBSD32_SYS_netbsd32___acl_get_fd 493 1322 1.154 christos 1323 1.154 christos /* syscall: "netbsd32___acl_set_fd" ret: "int" args: "int" "acl_type_t" "netbsd32_aclp_t" */ 1324 1.154 christos #define NETBSD32_SYS_netbsd32___acl_set_fd 494 1325 1.154 christos 1326 1.154 christos /* syscall: "netbsd32___acl_delete_file" ret: "int" args: "const netbsd32_charp" "acl_type_t" */ 1327 1.154 christos #define NETBSD32_SYS_netbsd32___acl_delete_file 495 1328 1.154 christos 1329 1.154 christos /* syscall: "netbsd32___acl_delete_fd" ret: "int" args: "int" "acl_type_t" */ 1330 1.154 christos #define NETBSD32_SYS_netbsd32___acl_delete_fd 496 1331 1.154 christos 1332 1.154 christos /* syscall: "netbsd32___acl_aclcheck_file" ret: "int" args: "const netbsd32_charp" "acl_type_t" "netbsd32_aclp_t" */ 1333 1.154 christos #define NETBSD32_SYS_netbsd32___acl_aclcheck_file 497 1334 1.154 christos 1335 1.154 christos /* syscall: "netbsd32___acl_aclcheck_fd" ret: "int" args: "int" "acl_type_t" "netbsd32_aclp_t" */ 1336 1.154 christos #define NETBSD32_SYS_netbsd32___acl_aclcheck_fd 498 1337 1.154 christos 1338 1.154 christos /* syscall: "netbsd32_lpathconf" ret: "long" args: "const netbsd32_charp" "int" */ 1339 1.154 christos #define NETBSD32_SYS_netbsd32_lpathconf 499 1340 1.154 christos 1341 1.158 rin /* syscall: "netbsd32___kevent100" ret: "int" args: "int" "const netbsd32_keventp_t" "netbsd32_size_t" "netbsd32_keventp_t" "netbsd32_size_t" "const netbsd32_timespecp_t" */ 1342 1.158 rin #define NETBSD32_SYS_netbsd32___kevent100 501 1343 1.158 rin 1344 1.158 rin #define NETBSD32_SYS_MAXSYSCALL 505 1345 1.69 dsl #define NETBSD32_SYS_NSYSENT 512 1346 1.69 dsl #endif /* _NETBSD32_SYS_SYSCALL_H_ */ 1347