/[gxemul]/trunk/src/include/syscall_netbsd.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/src/include/syscall_netbsd.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (show annotations)
Mon Oct 8 16:18:00 2007 UTC (12 years ago) by dpavlin
File MIME type: text/plain
File size: 22729 byte(s)
++ trunk/HISTORY	(local)
$Id: HISTORY,v 1.707 2005/04/27 16:37:33 debug Exp $
20050408	Some minor updates to the wdc. Linux now doesn't complain
		anymore if a disk is non-present.
20050409	Various minor fixes (a bintrans bug, and some other things).
		The wdc seems to work with Playstation2 emulation, but there
		is a _long_ annoying delay when disks are detected.
		Fixing a really important bintrans bug (when devices and RAM
		are mixed within 4KB pages), which was triggered with
		NetBSD/playstation2 kernels.
20050410	Adding a dummy dev_ps2_ether (just so that NetBSD doesn't
		complain as much during bootup).
		Symbols starting with '$' are now ignored.
		Renaming dev_ps2_ohci.c to dev_ohci.c, etc.
20050411	Moving the bintrans-cache-isolation check from cpu_mips.c to
		cpu_mips_coproc.c. (I thought this would give a speedup, but
		it's not noticable.)
		Better playstation2 sbus interrupt code.
		Skip ahead many ticks if the count register is read manually.
		(This increases the speed of delay-loops that simply read
		the count register.)
20050412	Updates to the playstation2 timer/interrupt code.
		Some other minor updates.
20050413	NetBSD/cobalt runs from a disk image :-) including userland;
		updating the documentation on how to install NetBSD/cobalt
		using NetBSD/pmax (!).
		Some minor bintrans updates (no real speed improvement) and
		other minor updates (playstation2 now uses the -o options).
20050414	Adding a dummy x86 (and AMD64) mode.
20050415	Adding some (32-bit and 16-bit) x86 instructions.
		Adding some initial support for non-SCSI, non-IDE floppy
		images. (The x86 mode can boot from these, more or less.)
		Moving the devices/ and include/ directories to src/devices/
		and src/include/, respectively.
20050416	Continuing on the x86 stuff. (Adding pc_bios.c and some simple
		support for software interrupts in 16-bit mode.)
20050417	Ripping out most of the x86 instruction decoding stuff, trying
		to rewrite it in a cleaner way.
		Disabling some of the least working CPU families in the
		configure script (sparc, x86, alpha, hppa), so that they are
		not enabled by default.
20050418	Trying to fix the bug which caused problems when turning on
		and off bintrans interactively, by flushing the bintrans cache
		whenever bintrans is manually (re)enabled.
20050419	Adding the 'lswi' ppc instruction.
		Minor updates to the x86 instruction decoding.
20050420	Renaming x86 register name indices from R_xx to X86_R_xx (this
		makes building on Tru64 nicer).
20050422	Adding a check for duplicate MIPS TLB entries on tlbwr/tlbwi.
20050427	Adding screenshots to guestoses.html.
		Some minor fixes and testing for the next release.

==============  RELEASE 0.3.2  ==============


1 /* gxemul: $Id: syscall_netbsd.h,v 1.3 2005/03/05 12:34:03 debug Exp $ */
2 /* $NetBSD: syscall.h,v 1.122 2002/05/03 00:26:49 eeh Exp $ */
3
4 #ifndef SYSCALL_NETBSD_H
5 #define SYSCALL_NETBSD_H
6
7 /*
8 * System call numbers.
9 *
10 * DO NOT EDIT-- this file is automatically generated.
11 * created from NetBSD: syscalls.master,v 1.111 2002/05/03 00:20:56 eeh Exp
12 */
13
14 /* syscall: "syscall" ret: "int" args: "int" "..." */
15 #define NETBSD_SYS_syscall 0
16
17 /* syscall: "exit" ret: "void" args: "int" */
18 #define NETBSD_SYS_exit 1
19
20 /* syscall: "fork" ret: "int" args: */
21 #define NETBSD_SYS_fork 2
22
23 /* syscall: "read" ret: "ssize_t" args: "int" "void *" "size_t" */
24 #define NETBSD_SYS_read 3
25
26 /* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */
27 #define NETBSD_SYS_write 4
28
29 /* syscall: "open" ret: "int" args: "const char *" "int" "..." */
30 #define NETBSD_SYS_open 5
31
32 /* syscall: "close" ret: "int" args: "int" */
33 #define NETBSD_SYS_close 6
34
35 /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
36 #define NETBSD_SYS_wait4 7
37
38 #define NETBSD_SYS_compat_43_ocreat 8
39
40 /* syscall: "link" ret: "int" args: "const char *" "const char *" */
41 #define NETBSD_SYS_link 9
42
43 /* syscall: "unlink" ret: "int" args: "const char *" */
44 #define NETBSD_SYS_unlink 10
45
46 /* 11 is obsolete execv */
47 /* syscall: "chdir" ret: "int" args: "const char *" */
48 #define NETBSD_SYS_chdir 12
49
50 /* syscall: "fchdir" ret: "int" args: "int" */
51 #define NETBSD_SYS_fchdir 13
52
53 /* syscall: "mknod" ret: "int" args: "const char *" "mode_t" "dev_t" */
54 #define NETBSD_SYS_mknod 14
55
56 /* syscall: "chmod" ret: "int" args: "const char *" "mode_t" */
57 #define NETBSD_SYS_chmod 15
58
59 /* syscall: "chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
60 #define NETBSD_SYS_chown 16
61
62 /* syscall: "break" ret: "int" args: "char *" */
63 #define NETBSD_SYS_break 17
64
65 /* syscall: "getfsstat" ret: "int" args: "struct statfs *" "long" "int" */
66 #define NETBSD_SYS_getfsstat 18
67
68 #define NETBSD_SYS_compat_43_olseek 19
69
70 /* syscall: "getpid" ret: "pid_t" args: */
71 #define NETBSD_SYS_getpid 20
72
73 /* syscall: "mount" ret: "int" args: "const char *" "const char *" "int" "void *" */
74 #define NETBSD_SYS_mount 21
75
76 /* syscall: "unmount" ret: "int" args: "const char *" "int" */
77 #define NETBSD_SYS_unmount 22
78
79 /* syscall: "setuid" ret: "int" args: "uid_t" */
80 #define NETBSD_SYS_setuid 23
81
82 /* syscall: "getuid" ret: "uid_t" args: */
83 #define NETBSD_SYS_getuid 24
84
85 /* syscall: "geteuid" ret: "uid_t" args: */
86 #define NETBSD_SYS_geteuid 25
87
88 /* syscall: "ptrace" ret: "int" args: "int" "pid_t" "caddr_t" "int" */
89 #define NETBSD_SYS_ptrace 26
90
91 /* syscall: "recvmsg" ret: "ssize_t" args: "int" "struct msghdr *" "int" */
92 #define NETBSD_SYS_recvmsg 27
93
94 /* syscall: "sendmsg" ret: "ssize_t" args: "int" "const struct msghdr *" "int" */
95 #define NETBSD_SYS_sendmsg 28
96
97 /* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "size_t" "int" "struct sockaddr *" "unsigned int *" */
98 #define NETBSD_SYS_recvfrom 29
99
100 /* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */
101 #define NETBSD_SYS_accept 30
102
103 /* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */
104 #define NETBSD_SYS_getpeername 31
105
106 /* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */
107 #define NETBSD_SYS_getsockname 32
108
109 /* syscall: "access" ret: "int" args: "const char *" "int" */
110 #define NETBSD_SYS_access 33
111
112 /* syscall: "chflags" ret: "int" args: "const char *" "u_long" */
113 #define NETBSD_SYS_chflags 34
114
115 /* syscall: "fchflags" ret: "int" args: "int" "u_long" */
116 #define NETBSD_SYS_fchflags 35
117
118 /* syscall: "sync" ret: "void" args: */
119 #define NETBSD_SYS_sync 36
120
121 /* syscall: "kill" ret: "int" args: "int" "int" */
122 #define NETBSD_SYS_kill 37
123
124 #define NETBSD_SYS_compat_43_stat43 38
125
126 /* syscall: "getppid" ret: "pid_t" args: */
127 #define NETBSD_SYS_getppid 39
128
129 #define NETBSD_SYS_compat_43_lstat43 40
130
131 /* syscall: "dup" ret: "int" args: "int" */
132 #define NETBSD_SYS_dup 41
133
134 /* syscall: "pipe" ret: "int" args: */
135 #define NETBSD_SYS_pipe 42
136
137 /* syscall: "getegid" ret: "gid_t" args: */
138 #define NETBSD_SYS_getegid 43
139
140 /* syscall: "profil" ret: "int" args: "caddr_t" "size_t" "u_long" "u_int" */
141 #define NETBSD_SYS_profil 44
142
143 /* syscall: "ktrace" ret: "int" args: "const char *" "int" "int" "int" */
144 #define NETBSD_SYS_ktrace 45
145
146 /* 45 is excluded ktrace */
147 #define NETBSD_SYS_compat_13_sigaction13 46
148
149 /* syscall: "getgid" ret: "gid_t" args: */
150 #define NETBSD_SYS_getgid 47
151
152 #define NETBSD_SYS_compat_13_sigprocmask13 48
153
154 /* syscall: "__getlogin" ret: "int" args: "char *" "size_t" */
155 #define NETBSD_SYS___getlogin 49
156
157 /* syscall: "setlogin" ret: "int" args: "const char *" */
158 #define NETBSD_SYS_setlogin 50
159
160 /* syscall: "acct" ret: "int" args: "const char *" */
161 #define NETBSD_SYS_acct 51
162
163 #define NETBSD_SYS_compat_13_sigpending13 52
164
165 #define NETBSD_SYS_compat_13_sigaltstack13 53
166
167 /* syscall: "ioctl" ret: "int" args: "int" "u_long" "..." */
168 #define NETBSD_SYS_ioctl 54
169
170 #define NETBSD_SYS_compat_12_oreboot 55
171
172 /* syscall: "revoke" ret: "int" args: "const char *" */
173 #define NETBSD_SYS_revoke 56
174
175 /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
176 #define NETBSD_SYS_symlink 57
177
178 /* syscall: "readlink" ret: "int" args: "const char *" "char *" "size_t" */
179 #define NETBSD_SYS_readlink 58
180
181 /* syscall: "execve" ret: "int" args: "const char *" "char *const *" "char *const *" */
182 #define NETBSD_SYS_execve 59
183
184 /* syscall: "umask" ret: "mode_t" args: "mode_t" */
185 #define NETBSD_SYS_umask 60
186
187 /* syscall: "chroot" ret: "int" args: "const char *" */
188 #define NETBSD_SYS_chroot 61
189
190 #define NETBSD_SYS_compat_43_fstat43 62
191
192 #define NETBSD_SYS_compat_43_ogetkerninfo 63
193
194 #define NETBSD_SYS_compat_43_ogetpagesize 64
195
196 #define NETBSD_SYS_compat_12_msync 65
197
198 /* syscall: "vfork" ret: "int" args: */
199 #define NETBSD_SYS_vfork 66
200
201 /* 67 is obsolete vread */
202 /* 68 is obsolete vwrite */
203 /* syscall: "sbrk" ret: "int" args: "intptr_t" */
204 #define NETBSD_SYS_sbrk 69
205
206 /* syscall: "sstk" ret: "int" args: "int" */
207 #define NETBSD_SYS_sstk 70
208
209 #define NETBSD_SYS_compat_43_ommap 71
210
211 /* syscall: "vadvise" ret: "int" args: "int" */
212 #define NETBSD_SYS_vadvise 72
213
214 /* syscall: "munmap" ret: "int" args: "void *" "size_t" */
215 #define NETBSD_SYS_munmap 73
216
217 /* syscall: "mprotect" ret: "int" args: "void *" "size_t" "int" */
218 #define NETBSD_SYS_mprotect 74
219
220 /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
221 #define NETBSD_SYS_madvise 75
222
223 /* 76 is obsolete vhangup */
224 /* 77 is obsolete vlimit */
225 /* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
226 #define NETBSD_SYS_mincore 78
227
228 /* syscall: "getgroups" ret: "int" args: "int" "gid_t *" */
229 #define NETBSD_SYS_getgroups 79
230
231 /* syscall: "setgroups" ret: "int" args: "int" "const gid_t *" */
232 #define NETBSD_SYS_setgroups 80
233
234 /* syscall: "getpgrp" ret: "int" args: */
235 #define NETBSD_SYS_getpgrp 81
236
237 /* syscall: "setpgid" ret: "int" args: "int" "int" */
238 #define NETBSD_SYS_setpgid 82
239
240 /* syscall: "setitimer" ret: "int" args: "int" "const struct itimerval *" "struct itimerval *" */
241 #define NETBSD_SYS_setitimer 83
242
243 #define NETBSD_SYS_compat_43_owait 84
244
245 #define NETBSD_SYS_compat_12_oswapon 85
246
247 /* syscall: "getitimer" ret: "int" args: "int" "struct itimerval *" */
248 #define NETBSD_SYS_getitimer 86
249
250 #define NETBSD_SYS_compat_43_ogethostname 87
251
252 #define NETBSD_SYS_compat_43_osethostname 88
253
254 #define NETBSD_SYS_compat_43_ogetdtablesize 89
255
256 /* syscall: "dup2" ret: "int" args: "int" "int" */
257 #define NETBSD_SYS_dup2 90
258
259 /* syscall: "fcntl" ret: "int" args: "int" "int" "..." */
260 #define NETBSD_SYS_fcntl 92
261
262 /* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
263 #define NETBSD_SYS_select 93
264
265 /* syscall: "fsync" ret: "int" args: "int" */
266 #define NETBSD_SYS_fsync 95
267
268 /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
269 #define NETBSD_SYS_setpriority 96
270
271 /* syscall: "socket" ret: "int" args: "int" "int" "int" */
272 #define NETBSD_SYS_socket 97
273
274 /* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "unsigned int" */
275 #define NETBSD_SYS_connect 98
276
277 #define NETBSD_SYS_compat_43_oaccept 99
278
279 /* syscall: "getpriority" ret: "int" args: "int" "int" */
280 #define NETBSD_SYS_getpriority 100
281
282 #define NETBSD_SYS_compat_43_osend 101
283
284 #define NETBSD_SYS_compat_43_orecv 102
285
286 #define NETBSD_SYS_compat_13_sigreturn13 103
287
288 /* syscall: "bind" ret: "int" args: "int" "const struct sockaddr *" "unsigned int" */
289 #define NETBSD_SYS_bind 104
290
291 /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "unsigned int" */
292 #define NETBSD_SYS_setsockopt 105
293
294 /* syscall: "listen" ret: "int" args: "int" "int" */
295 #define NETBSD_SYS_listen 106
296
297 /* 107 is obsolete vtimes */
298 #define NETBSD_SYS_compat_43_osigvec 108
299
300 #define NETBSD_SYS_compat_43_osigblock 109
301
302 #define NETBSD_SYS_compat_43_osigsetmask 110
303
304 #define NETBSD_SYS_compat_13_sigsuspend13 111
305
306 #define NETBSD_SYS_compat_43_osigstack 112
307
308 #define NETBSD_SYS_compat_43_orecvmsg 113
309
310 #define NETBSD_SYS_compat_43_osendmsg 114
311
312 /* 115 is obsolete vtrace */
313 /* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
314 #define NETBSD_SYS_gettimeofday 116
315
316 /* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
317 #define NETBSD_SYS_getrusage 117
318
319 /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "unsigned int *" */
320 #define NETBSD_SYS_getsockopt 118
321
322 /* 119 is obsolete resuba */
323 /* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
324 #define NETBSD_SYS_readv 120
325
326 /* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
327 #define NETBSD_SYS_writev 121
328
329 /* syscall: "settimeofday" ret: "int" args: "const struct timeval *" "const struct timezone *" */
330 #define NETBSD_SYS_settimeofday 122
331
332 /* syscall: "fchown" ret: "int" args: "int" "uid_t" "gid_t" */
333 #define NETBSD_SYS_fchown 123
334
335 /* syscall: "fchmod" ret: "int" args: "int" "mode_t" */
336 #define NETBSD_SYS_fchmod 124
337
338 #define NETBSD_SYS_compat_43_orecvfrom 125
339
340 /* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
341 #define NETBSD_SYS_setreuid 126
342
343 /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
344 #define NETBSD_SYS_setregid 127
345
346 /* syscall: "rename" ret: "int" args: "const char *" "const char *" */
347 #define NETBSD_SYS_rename 128
348
349 #define NETBSD_SYS_compat_43_otruncate 129
350
351 #define NETBSD_SYS_compat_43_oftruncate 130
352
353 /* syscall: "flock" ret: "int" args: "int" "int" */
354 #define NETBSD_SYS_flock 131
355
356 /* syscall: "mkfifo" ret: "int" args: "const char *" "mode_t" */
357 #define NETBSD_SYS_mkfifo 132
358
359 /* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "unsigned int" */
360 #define NETBSD_SYS_sendto 133
361
362 /* syscall: "shutdown" ret: "int" args: "int" "int" */
363 #define NETBSD_SYS_shutdown 134
364
365 /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
366 #define NETBSD_SYS_socketpair 135
367
368 /* syscall: "mkdir" ret: "int" args: "const char *" "mode_t" */
369 #define NETBSD_SYS_mkdir 136
370
371 /* syscall: "rmdir" ret: "int" args: "const char *" */
372 #define NETBSD_SYS_rmdir 137
373
374 /* syscall: "utimes" ret: "int" args: "const char *" "const struct timeval *" */
375 #define NETBSD_SYS_utimes 138
376
377 /* 139 is obsolete 4.2 sigreturn */
378 /* syscall: "adjtime" ret: "int" args: "const struct timeval *" "struct timeval *" */
379 #define NETBSD_SYS_adjtime 140
380
381 #define NETBSD_SYS_compat_43_ogetpeername 141
382
383 #define NETBSD_SYS_compat_43_ogethostid 142
384
385 #define NETBSD_SYS_compat_43_osethostid 143
386
387 #define NETBSD_SYS_compat_43_ogetrlimit 144
388
389 #define NETBSD_SYS_compat_43_osetrlimit 145
390
391 #define NETBSD_SYS_compat_43_okillpg 146
392
393 /* syscall: "setsid" ret: "int" args: */
394 #define NETBSD_SYS_setsid 147
395
396 /* syscall: "quotactl" ret: "int" args: "const char *" "int" "int" "caddr_t" */
397 #define NETBSD_SYS_quotactl 148
398
399 #define NETBSD_SYS_compat_43_oquota 149
400
401 #define NETBSD_SYS_compat_43_ogetsockname 150
402
403 /* syscall: "nfssvc" ret: "int" args: "int" "void *" */
404 #define NETBSD_SYS_nfssvc 155
405
406 /* 155 is excluded nfssvc */
407 #define NETBSD_SYS_compat_43_ogetdirentries 156
408
409 /* syscall: "statfs" ret: "int" args: "const char *" "struct statfs *" */
410 #define NETBSD_SYS_statfs 157
411
412 /* syscall: "fstatfs" ret: "int" args: "int" "struct statfs *" */
413 #define NETBSD_SYS_fstatfs 158
414
415 /* syscall: "getfh" ret: "int" args: "const char *" "fhandle_t *" */
416 #define NETBSD_SYS_getfh 161
417
418 #define NETBSD_SYS_compat_09_ogetdomainname 162
419
420 #define NETBSD_SYS_compat_09_osetdomainname 163
421
422 #define NETBSD_SYS_compat_09_ouname 164
423
424 /* syscall: "sysarch" ret: "int" args: "int" "void *" */
425 #define NETBSD_SYS_sysarch 165
426
427 #define NETBSD_SYS_compat_10_osemsys 169
428
429 /* 169 is excluded 1.0 semsys */
430 #define NETBSD_SYS_compat_10_omsgsys 170
431
432 /* 170 is excluded 1.0 msgsys */
433 #define NETBSD_SYS_compat_10_oshmsys 171
434
435 /* 171 is excluded 1.0 shmsys */
436 /* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "int" "off_t" */
437 #define NETBSD_SYS_pread 173
438
439 /* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "off_t" */
440 #define NETBSD_SYS_pwrite 174
441
442 /* syscall: "ntp_gettime" ret: "int" args: "struct ntptimeval *" */
443 #define NETBSD_SYS_ntp_gettime 175
444
445 /* syscall: "ntp_adjtime" ret: "int" args: "struct timex *" */
446 #define NETBSD_SYS_ntp_adjtime 176
447
448 /* 176 is excluded ntp_adjtime */
449 /* syscall: "setgid" ret: "int" args: "gid_t" */
450 #define NETBSD_SYS_setgid 181
451
452 /* syscall: "setegid" ret: "int" args: "gid_t" */
453 #define NETBSD_SYS_setegid 182
454
455 /* syscall: "seteuid" ret: "int" args: "uid_t" */
456 #define NETBSD_SYS_seteuid 183
457
458 /* syscall: "lfs_bmapv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */
459 #define NETBSD_SYS_lfs_bmapv 184
460
461 /* syscall: "lfs_markv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */
462 #define NETBSD_SYS_lfs_markv 185
463
464 /* syscall: "lfs_segclean" ret: "int" args: "fsid_t *" "u_long" */
465 #define NETBSD_SYS_lfs_segclean 186
466
467 /* syscall: "lfs_segwait" ret: "int" args: "fsid_t *" "struct timeval *" */
468 #define NETBSD_SYS_lfs_segwait 187
469
470 /* 184 is excluded lfs_bmapv */
471 /* 185 is excluded lfs_markv */
472 /* 186 is excluded lfs_segclean */
473 /* 187 is excluded lfs_segwait */
474 #define NETBSD_SYS_compat_12_stat12 188
475
476 #define NETBSD_SYS_compat_12_fstat12 189
477
478 #define NETBSD_SYS_compat_12_lstat12 190
479
480 /* syscall: "pathconf" ret: "long" args: "const char *" "int" */
481 #define NETBSD_SYS_pathconf 191
482
483 /* syscall: "fpathconf" ret: "long" args: "int" "int" */
484 #define NETBSD_SYS_fpathconf 192
485
486 /* syscall: "getrlimit" ret: "int" args: "int" "struct rlimit *" */
487 #define NETBSD_SYS_getrlimit 194
488
489 /* syscall: "setrlimit" ret: "int" args: "int" "const struct rlimit *" */
490 #define NETBSD_SYS_setrlimit 195
491
492 #define NETBSD_SYS_compat_12_getdirentries 196
493
494 /* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" "off_t" */
495 #define NETBSD_SYS_mmap 197
496
497 /* syscall: "__syscall" ret: "quad_t" args: "quad_t" "..." */
498 #define NETBSD_SYS___syscall 198
499
500 /* syscall: "lseek" ret: "off_t" args: "int" "int" "off_t" "int" */
501 #define NETBSD_SYS_lseek 199
502
503 /* syscall: "truncate" ret: "int" args: "const char *" "int" "off_t" */
504 #define NETBSD_SYS_truncate 200
505
506 /* syscall: "ftruncate" ret: "int" args: "int" "int" "off_t" */
507 #define NETBSD_SYS_ftruncate 201
508
509 /* syscall: "__sysctl" ret: "int" args: "int *" "u_int" "void *" "size_t *" "void *" "size_t" */
510 #define NETBSD_SYS___sysctl 202
511
512 /* syscall: "mlock" ret: "int" args: "const void *" "size_t" */
513 #define NETBSD_SYS_mlock 203
514
515 /* syscall: "munlock" ret: "int" args: "const void *" "size_t" */
516 #define NETBSD_SYS_munlock 204
517
518 /* syscall: "undelete" ret: "int" args: "const char *" */
519 #define NETBSD_SYS_undelete 205
520
521 /* syscall: "futimes" ret: "int" args: "int" "const struct timeval *" */
522 #define NETBSD_SYS_futimes 206
523
524 /* syscall: "getpgid" ret: "pid_t" args: "pid_t" */
525 #define NETBSD_SYS_getpgid 207
526
527 /* syscall: "reboot" ret: "int" args: "int" "char *" */
528 #define NETBSD_SYS_reboot 208
529
530 /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
531 #define NETBSD_SYS_poll 209
532
533 /* 210 is excluded lkmnosys */
534 /* 211 is excluded lkmnosys */
535 /* 212 is excluded lkmnosys */
536 /* 213 is excluded lkmnosys */
537 /* 214 is excluded lkmnosys */
538 /* 215 is excluded lkmnosys */
539 /* 216 is excluded lkmnosys */
540 /* 217 is excluded lkmnosys */
541 /* 218 is excluded lkmnosys */
542 /* 219 is excluded lkmnosys */
543 #define NETBSD_SYS_compat_14___semctl 220
544
545 /* syscall: "semget" ret: "int" args: "key_t" "int" "int" */
546 #define NETBSD_SYS_semget 221
547
548 /* syscall: "semop" ret: "int" args: "int" "struct sembuf *" "size_t" */
549 #define NETBSD_SYS_semop 222
550
551 /* syscall: "semconfig" ret: "int" args: "int" */
552 #define NETBSD_SYS_semconfig 223
553
554 /* 220 is excluded compat_14_semctl */
555 /* 221 is excluded semget */
556 /* 222 is excluded semop */
557 /* 223 is excluded semconfig */
558 #define NETBSD_SYS_compat_14_msgctl 224
559
560 /* syscall: "msgget" ret: "int" args: "key_t" "int" */
561 #define NETBSD_SYS_msgget 225
562
563 /* syscall: "msgsnd" ret: "int" args: "int" "const void *" "size_t" "int" */
564 #define NETBSD_SYS_msgsnd 226
565
566 /* syscall: "msgrcv" ret: "ssize_t" args: "int" "void *" "size_t" "long" "int" */
567 #define NETBSD_SYS_msgrcv 227
568
569 /* 224 is excluded compat_14_msgctl */
570 /* 225 is excluded msgget */
571 /* 226 is excluded msgsnd */
572 /* 227 is excluded msgrcv */
573 /* syscall: "shmat" ret: "void *" args: "int" "const void *" "int" */
574 #define NETBSD_SYS_shmat 228
575
576 #define NETBSD_SYS_compat_14_shmctl 229
577
578 /* syscall: "shmdt" ret: "int" args: "const void *" */
579 #define NETBSD_SYS_shmdt 230
580
581 /* syscall: "shmget" ret: "int" args: "key_t" "size_t" "int" */
582 #define NETBSD_SYS_shmget 231
583
584 /* 228 is excluded shmat */
585 /* 229 is excluded compat_14_shmctl */
586 /* 230 is excluded shmdt */
587 /* 231 is excluded shmget */
588 /* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct timespec *" */
589 #define NETBSD_SYS_clock_gettime 232
590
591 /* syscall: "clock_settime" ret: "int" args: "clockid_t" "const struct timespec *" */
592 #define NETBSD_SYS_clock_settime 233
593
594 /* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct timespec *" */
595 #define NETBSD_SYS_clock_getres 234
596
597 /* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
598 #define NETBSD_SYS_nanosleep 240
599
600 /* syscall: "fdatasync" ret: "int" args: "int" */
601 #define NETBSD_SYS_fdatasync 241
602
603 /* syscall: "mlockall" ret: "int" args: "int" */
604 #define NETBSD_SYS_mlockall 242
605
606 /* syscall: "munlockall" ret: "int" args: */
607 #define NETBSD_SYS_munlockall 243
608
609 /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
610 #define NETBSD_SYS___posix_rename 270
611
612 /* syscall: "swapctl" ret: "int" args: "int" "const void *" "int" */
613 #define NETBSD_SYS_swapctl 271
614
615 /* syscall: "getdents" ret: "int" args: "int" "char *" "size_t" */
616 #define NETBSD_SYS_getdents 272
617
618 /* syscall: "minherit" ret: "int" args: "void *" "size_t" "int" */
619 #define NETBSD_SYS_minherit 273
620
621 /* syscall: "lchmod" ret: "int" args: "const char *" "mode_t" */
622 #define NETBSD_SYS_lchmod 274
623
624 /* syscall: "lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
625 #define NETBSD_SYS_lchown 275
626
627 /* syscall: "lutimes" ret: "int" args: "const char *" "const struct timeval *" */
628 #define NETBSD_SYS_lutimes 276
629
630 /* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */
631 #define NETBSD_SYS___msync13 277
632
633 /* syscall: "__stat13" ret: "int" args: "const char *" "struct stat *" */
634 #define NETBSD_SYS___stat13 278
635
636 /* syscall: "__fstat13" ret: "int" args: "int" "struct stat *" */
637 #define NETBSD_SYS___fstat13 279
638
639 /* syscall: "__lstat13" ret: "int" args: "const char *" "struct stat *" */
640 #define NETBSD_SYS___lstat13 280
641
642 /* syscall: "__sigaltstack14" ret: "int" args: "const struct sigaltstack *" "struct sigaltstack *" */
643 #define NETBSD_SYS___sigaltstack14 281
644
645 /* syscall: "__vfork14" ret: "int" args: */
646 #define NETBSD_SYS___vfork14 282
647
648 /* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
649 #define NETBSD_SYS___posix_chown 283
650
651 /* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
652 #define NETBSD_SYS___posix_fchown 284
653
654 /* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
655 #define NETBSD_SYS___posix_lchown 285
656
657 /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
658 #define NETBSD_SYS_getsid 286
659
660 /* syscall: "__clone" ret: "pid_t" args: "int" "void *" */
661 #define NETBSD_SYS___clone 287
662
663 /* syscall: "fktrace" ret: "int" args: "const int" "int" "int" "int" */
664 #define NETBSD_SYS_fktrace 288
665
666 /* 288 is excluded ktrace */
667 /* syscall: "preadv" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */
668 #define NETBSD_SYS_preadv 289
669
670 /* syscall: "pwritev" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */
671 #define NETBSD_SYS_pwritev 290
672
673 /* syscall: "__sigaction14" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" */
674 #define NETBSD_SYS___sigaction14 291
675
676 /* syscall: "__sigpending14" ret: "int" args: "sigset_t *" */
677 #define NETBSD_SYS___sigpending14 292
678
679 /* syscall: "__sigprocmask14" ret: "int" args: "int" "const sigset_t *" "sigset_t *" */
680 #define NETBSD_SYS___sigprocmask14 293
681
682 /* syscall: "__sigsuspend14" ret: "int" args: "const sigset_t *" */
683 #define NETBSD_SYS___sigsuspend14 294
684
685 /* syscall: "__sigreturn14" ret: "int" args: "struct sigcontext *" */
686 #define NETBSD_SYS___sigreturn14 295
687
688 /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
689 #define NETBSD_SYS___getcwd 296
690
691 /* syscall: "fchroot" ret: "int" args: "int" */
692 #define NETBSD_SYS_fchroot 297
693
694 /* syscall: "fhopen" ret: "int" args: "const fhandle_t *" "int" */
695 #define NETBSD_SYS_fhopen 298
696
697 /* syscall: "fhstat" ret: "int" args: "const fhandle_t *" "struct stat *" */
698 #define NETBSD_SYS_fhstat 299
699
700 /* syscall: "fhstatfs" ret: "int" args: "const fhandle_t *" "struct statfs *" */
701 #define NETBSD_SYS_fhstatfs 300
702
703 /* syscall: "____semctl13" ret: "int" args: "int" "int" "int" "..." */
704 #define NETBSD_SYS_____semctl13 301
705
706 /* 301 is excluded ____semctl13 */
707 /* syscall: "__msgctl13" ret: "int" args: "int" "int" "struct msqid_ds *" */
708 #define NETBSD_SYS___msgctl13 302
709
710 /* 302 is excluded __msgctl13 */
711 /* syscall: "__shmctl13" ret: "int" args: "int" "int" "struct shmid_ds *" */
712 #define NETBSD_SYS___shmctl13 303
713
714 /* 303 is excluded __shmctl13 */
715 /* syscall: "lchflags" ret: "int" args: "const char *" "u_long" */
716 #define NETBSD_SYS_lchflags 304
717
718 /* syscall: "issetugid" ret: "int" args: */
719 #define NETBSD_SYS_issetugid 305
720
721 /* syscall: "utrace" ret: "int" args: "const char *" "void *" "size_t" */
722 #define NETBSD_SYS_utrace 306
723
724 #define NETBSD_SYS_MAXSYSCALL 340
725 #define NETBSD_SYS_NSYSENT 512
726
727 #endif /* SYSCALL_NETBSD_H */

  ViewVC Help
Powered by ViewVC 1.1.26