pc: make pc_init1() not refer ferr_irq directly.
[qemu/aliguori-queue.git] / bsd-user / freebsd / syscall_nr.h
blob36336abd571d97f6ba5f0d8e00174cb0df65e093
1 /*
2 * System call numbers.
4 * $FreeBSD: src/sys/sys/syscall.h,v 1.224 2008/08/24 21:23:08 rwatson Exp $
5 * created from FreeBSD: head/sys/kern/syscalls.master 182123 2008-08-24 21:20:35Z rwatson
6 */
8 #define TARGET_FREEBSD_NR_syscall 0
9 #define TARGET_FREEBSD_NR_exit 1
10 #define TARGET_FREEBSD_NR_fork 2
11 #define TARGET_FREEBSD_NR_read 3
12 #define TARGET_FREEBSD_NR_write 4
13 #define TARGET_FREEBSD_NR_open 5
14 #define TARGET_FREEBSD_NR_close 6
15 #define TARGET_FREEBSD_NR_wait4 7
16 #define TARGET_FREEBSD_NR_link 9
17 #define TARGET_FREEBSD_NR_unlink 10
18 #define TARGET_FREEBSD_NR_chdir 12
19 #define TARGET_FREEBSD_NR_fchdir 13
20 #define TARGET_FREEBSD_NR_mknod 14
21 #define TARGET_FREEBSD_NR_chmod 15
22 #define TARGET_FREEBSD_NR_chown 16
23 #define TARGET_FREEBSD_NR_break 17
24 #define TARGET_FREEBSD_NR_freebsd4_getfsstat 18
25 #define TARGET_FREEBSD_NR_getpid 20
26 #define TARGET_FREEBSD_NR_mount 21
27 #define TARGET_FREEBSD_NR_unmount 22
28 #define TARGET_FREEBSD_NR_setuid 23
29 #define TARGET_FREEBSD_NR_getuid 24
30 #define TARGET_FREEBSD_NR_geteuid 25
31 #define TARGET_FREEBSD_NR_ptrace 26
32 #define TARGET_FREEBSD_NR_recvmsg 27
33 #define TARGET_FREEBSD_NR_sendmsg 28
34 #define TARGET_FREEBSD_NR_recvfrom 29
35 #define TARGET_FREEBSD_NR_accept 30
36 #define TARGET_FREEBSD_NR_getpeername 31
37 #define TARGET_FREEBSD_NR_getsockname 32
38 #define TARGET_FREEBSD_NR_access 33
39 #define TARGET_FREEBSD_NR_chflags 34
40 #define TARGET_FREEBSD_NR_fchflags 35
41 #define TARGET_FREEBSD_NR_sync 36
42 #define TARGET_FREEBSD_NR_kill 37
43 #define TARGET_FREEBSD_NR_getppid 39
44 #define TARGET_FREEBSD_NR_dup 41
45 #define TARGET_FREEBSD_NR_pipe 42
46 #define TARGET_FREEBSD_NR_getegid 43
47 #define TARGET_FREEBSD_NR_profil 44
48 #define TARGET_FREEBSD_NR_ktrace 45
49 #define TARGET_FREEBSD_NR_getgid 47
50 #define TARGET_FREEBSD_NR_getlogin 49
51 #define TARGET_FREEBSD_NR_setlogin 50
52 #define TARGET_FREEBSD_NR_acct 51
53 #define TARGET_FREEBSD_NR_sigaltstack 53
54 #define TARGET_FREEBSD_NR_ioctl 54
55 #define TARGET_FREEBSD_NR_reboot 55
56 #define TARGET_FREEBSD_NR_revoke 56
57 #define TARGET_FREEBSD_NR_symlink 57
58 #define TARGET_FREEBSD_NR_readlink 58
59 #define TARGET_FREEBSD_NR_execve 59
60 #define TARGET_FREEBSD_NR_umask 60
61 #define TARGET_FREEBSD_NR_chroot 61
62 #define TARGET_FREEBSD_NR_msync 65
63 #define TARGET_FREEBSD_NR_vfork 66
64 #define TARGET_FREEBSD_NR_sbrk 69
65 #define TARGET_FREEBSD_NR_sstk 70
66 #define TARGET_FREEBSD_NR_vadvise 72
67 #define TARGET_FREEBSD_NR_munmap 73
68 #define TARGET_FREEBSD_NR_mprotect 74
69 #define TARGET_FREEBSD_NR_madvise 75
70 #define TARGET_FREEBSD_NR_mincore 78
71 #define TARGET_FREEBSD_NR_getgroups 79
72 #define TARGET_FREEBSD_NR_setgroups 80
73 #define TARGET_FREEBSD_NR_getpgrp 81
74 #define TARGET_FREEBSD_NR_setpgid 82
75 #define TARGET_FREEBSD_NR_setitimer 83
76 #define TARGET_FREEBSD_NR_swapon 85
77 #define TARGET_FREEBSD_NR_getitimer 86
78 #define TARGET_FREEBSD_NR_getdtablesize 89
79 #define TARGET_FREEBSD_NR_dup2 90
80 #define TARGET_FREEBSD_NR_fcntl 92
81 #define TARGET_FREEBSD_NR_select 93
82 #define TARGET_FREEBSD_NR_fsync 95
83 #define TARGET_FREEBSD_NR_setpriority 96
84 #define TARGET_FREEBSD_NR_socket 97
85 #define TARGET_FREEBSD_NR_connect 98
86 #define TARGET_FREEBSD_NR_getpriority 100
87 #define TARGET_FREEBSD_NR_bind 104
88 #define TARGET_FREEBSD_NR_setsockopt 105
89 #define TARGET_FREEBSD_NR_listen 106
90 #define TARGET_FREEBSD_NR_gettimeofday 116
91 #define TARGET_FREEBSD_NR_getrusage 117
92 #define TARGET_FREEBSD_NR_getsockopt 118
93 #define TARGET_FREEBSD_NR_readv 120
94 #define TARGET_FREEBSD_NR_writev 121
95 #define TARGET_FREEBSD_NR_settimeofday 122
96 #define TARGET_FREEBSD_NR_fchown 123
97 #define TARGET_FREEBSD_NR_fchmod 124
98 #define TARGET_FREEBSD_NR_setreuid 126
99 #define TARGET_FREEBSD_NR_setregid 127
100 #define TARGET_FREEBSD_NR_rename 128
101 #define TARGET_FREEBSD_NR_flock 131
102 #define TARGET_FREEBSD_NR_mkfifo 132
103 #define TARGET_FREEBSD_NR_sendto 133
104 #define TARGET_FREEBSD_NR_shutdown 134
105 #define TARGET_FREEBSD_NR_socketpair 135
106 #define TARGET_FREEBSD_NR_mkdir 136
107 #define TARGET_FREEBSD_NR_rmdir 137
108 #define TARGET_FREEBSD_NR_utimes 138
109 #define TARGET_FREEBSD_NR_adjtime 140
110 #define TARGET_FREEBSD_NR_setsid 147
111 #define TARGET_FREEBSD_NR_quotactl 148
112 #define TARGET_FREEBSD_NR_nlm_syscall 154
113 #define TARGET_FREEBSD_NR_nfssvc 155
114 #define TARGET_FREEBSD_NR_freebsd4_statfs 157
115 #define TARGET_FREEBSD_NR_freebsd4_fstatfs 158
116 #define TARGET_FREEBSD_NR_lgetfh 160
117 #define TARGET_FREEBSD_NR_getfh 161
118 #define TARGET_FREEBSD_NR_getdomainname 162
119 #define TARGET_FREEBSD_NR_setdomainname 163
120 #define TARGET_FREEBSD_NR_uname 164
121 #define TARGET_FREEBSD_NR_sysarch 165
122 #define TARGET_FREEBSD_NR_rtprio 166
123 #define TARGET_FREEBSD_NR_semsys 169
124 #define TARGET_FREEBSD_NR_msgsys 170
125 #define TARGET_FREEBSD_NR_shmsys 171
126 #define TARGET_FREEBSD_NR_freebsd6_pread 173
127 #define TARGET_FREEBSD_NR_freebsd6_pwrite 174
128 #define TARGET_FREEBSD_NR_setfib 175
129 #define TARGET_FREEBSD_NR_ntp_adjtime 176
130 #define TARGET_FREEBSD_NR_setgid 181
131 #define TARGET_FREEBSD_NR_setegid 182
132 #define TARGET_FREEBSD_NR_seteuid 183
133 #define TARGET_FREEBSD_NR_stat 188
134 #define TARGET_FREEBSD_NR_fstat 189
135 #define TARGET_FREEBSD_NR_lstat 190
136 #define TARGET_FREEBSD_NR_pathconf 191
137 #define TARGET_FREEBSD_NR_fpathconf 192
138 #define TARGET_FREEBSD_NR_getrlimit 194
139 #define TARGET_FREEBSD_NR_setrlimit 195
140 #define TARGET_FREEBSD_NR_getdirentries 196
141 #define TARGET_FREEBSD_NR_freebsd6_mmap 197
142 #define TARGET_FREEBSD_NR___syscall 198
143 #define TARGET_FREEBSD_NR_freebsd6_lseek 199
144 #define TARGET_FREEBSD_NR_freebsd6_truncate 200
145 #define TARGET_FREEBSD_NR_freebsd6_ftruncate 201
146 #define TARGET_FREEBSD_NR___sysctl 202
147 #define TARGET_FREEBSD_NR_mlock 203
148 #define TARGET_FREEBSD_NR_munlock 204
149 #define TARGET_FREEBSD_NR_undelete 205
150 #define TARGET_FREEBSD_NR_futimes 206
151 #define TARGET_FREEBSD_NR_getpgid 207
152 #define TARGET_FREEBSD_NR_poll 209
153 #define TARGET_FREEBSD_NR___semctl 220
154 #define TARGET_FREEBSD_NR_semget 221
155 #define TARGET_FREEBSD_NR_semop 222
156 #define TARGET_FREEBSD_NR_msgctl 224
157 #define TARGET_FREEBSD_NR_msgget 225
158 #define TARGET_FREEBSD_NR_msgsnd 226
159 #define TARGET_FREEBSD_NR_msgrcv 227
160 #define TARGET_FREEBSD_NR_shmat 228
161 #define TARGET_FREEBSD_NR_shmctl 229
162 #define TARGET_FREEBSD_NR_shmdt 230
163 #define TARGET_FREEBSD_NR_shmget 231
164 #define TARGET_FREEBSD_NR_clock_gettime 232
165 #define TARGET_FREEBSD_NR_clock_settime 233
166 #define TARGET_FREEBSD_NR_clock_getres 234
167 #define TARGET_FREEBSD_NR_ktimer_create 235
168 #define TARGET_FREEBSD_NR_ktimer_delete 236
169 #define TARGET_FREEBSD_NR_ktimer_settime 237
170 #define TARGET_FREEBSD_NR_ktimer_gettime 238
171 #define TARGET_FREEBSD_NR_ktimer_getoverrun 239
172 #define TARGET_FREEBSD_NR_nanosleep 240
173 #define TARGET_FREEBSD_NR_ntp_gettime 248
174 #define TARGET_FREEBSD_NR_minherit 250
175 #define TARGET_FREEBSD_NR_rfork 251
176 #define TARGET_FREEBSD_NR_openbsd_poll 252
177 #define TARGET_FREEBSD_NR_issetugid 253
178 #define TARGET_FREEBSD_NR_lchown 254
179 #define TARGET_FREEBSD_NR_aio_read 255
180 #define TARGET_FREEBSD_NR_aio_write 256
181 #define TARGET_FREEBSD_NR_lio_listio 257
182 #define TARGET_FREEBSD_NR_getdents 272
183 #define TARGET_FREEBSD_NR_lchmod 274
184 #define TARGET_FREEBSD_NR_netbsd_lchown 275
185 #define TARGET_FREEBSD_NR_lutimes 276
186 #define TARGET_FREEBSD_NR_netbsd_msync 277
187 #define TARGET_FREEBSD_NR_nstat 278
188 #define TARGET_FREEBSD_NR_nfstat 279
189 #define TARGET_FREEBSD_NR_nlstat 280
190 #define TARGET_FREEBSD_NR_preadv 289
191 #define TARGET_FREEBSD_NR_pwritev 290
192 #define TARGET_FREEBSD_NR_freebsd4_fhstatfs 297
193 #define TARGET_FREEBSD_NR_fhopen 298
194 #define TARGET_FREEBSD_NR_fhstat 299
195 #define TARGET_FREEBSD_NR_modnext 300
196 #define TARGET_FREEBSD_NR_modstat 301
197 #define TARGET_FREEBSD_NR_modfnext 302
198 #define TARGET_FREEBSD_NR_modfind 303
199 #define TARGET_FREEBSD_NR_kldload 304
200 #define TARGET_FREEBSD_NR_kldunload 305
201 #define TARGET_FREEBSD_NR_kldfind 306
202 #define TARGET_FREEBSD_NR_kldnext 307
203 #define TARGET_FREEBSD_NR_kldstat 308
204 #define TARGET_FREEBSD_NR_kldfirstmod 309
205 #define TARGET_FREEBSD_NR_getsid 310
206 #define TARGET_FREEBSD_NR_setresuid 311
207 #define TARGET_FREEBSD_NR_setresgid 312
208 #define TARGET_FREEBSD_NR_aio_return 314
209 #define TARGET_FREEBSD_NR_aio_suspend 315
210 #define TARGET_FREEBSD_NR_aio_cancel 316
211 #define TARGET_FREEBSD_NR_aio_error 317
212 #define TARGET_FREEBSD_NR_oaio_read 318
213 #define TARGET_FREEBSD_NR_oaio_write 319
214 #define TARGET_FREEBSD_NR_olio_listio 320
215 #define TARGET_FREEBSD_NR_yield 321
216 #define TARGET_FREEBSD_NR_mlockall 324
217 #define TARGET_FREEBSD_NR_munlockall 325
218 #define TARGET_FREEBSD_NR___getcwd 326
219 #define TARGET_FREEBSD_NR_sched_setparam 327
220 #define TARGET_FREEBSD_NR_sched_getparam 328
221 #define TARGET_FREEBSD_NR_sched_setscheduler 329
222 #define TARGET_FREEBSD_NR_sched_getscheduler 330
223 #define TARGET_FREEBSD_NR_sched_yield 331
224 #define TARGET_FREEBSD_NR_sched_get_priority_max 332
225 #define TARGET_FREEBSD_NR_sched_get_priority_min 333
226 #define TARGET_FREEBSD_NR_sched_rr_get_interval 334
227 #define TARGET_FREEBSD_NR_utrace 335
228 #define TARGET_FREEBSD_NR_freebsd4_sendfile 336
229 #define TARGET_FREEBSD_NR_kldsym 337
230 #define TARGET_FREEBSD_NR_jail 338
231 #define TARGET_FREEBSD_NR_sigprocmask 340
232 #define TARGET_FREEBSD_NR_sigsuspend 341
233 #define TARGET_FREEBSD_NR_freebsd4_sigaction 342
234 #define TARGET_FREEBSD_NR_sigpending 343
235 #define TARGET_FREEBSD_NR_freebsd4_sigreturn 344
236 #define TARGET_FREEBSD_NR_sigtimedwait 345
237 #define TARGET_FREEBSD_NR_sigwaitinfo 346
238 #define TARGET_FREEBSD_NR___acl_get_file 347
239 #define TARGET_FREEBSD_NR___acl_set_file 348
240 #define TARGET_FREEBSD_NR___acl_get_fd 349
241 #define TARGET_FREEBSD_NR___acl_set_fd 350
242 #define TARGET_FREEBSD_NR___acl_delete_file 351
243 #define TARGET_FREEBSD_NR___acl_delete_fd 352
244 #define TARGET_FREEBSD_NR___acl_aclcheck_file 353
245 #define TARGET_FREEBSD_NR___acl_aclcheck_fd 354
246 #define TARGET_FREEBSD_NR_extattrctl 355
247 #define TARGET_FREEBSD_NR_extattr_set_file 356
248 #define TARGET_FREEBSD_NR_extattr_get_file 357
249 #define TARGET_FREEBSD_NR_extattr_delete_file 358
250 #define TARGET_FREEBSD_NR_aio_waitcomplete 359
251 #define TARGET_FREEBSD_NR_getresuid 360
252 #define TARGET_FREEBSD_NR_getresgid 361
253 #define TARGET_FREEBSD_NR_kqueue 362
254 #define TARGET_FREEBSD_NR_kevent 363
255 #define TARGET_FREEBSD_NR_extattr_set_fd 371
256 #define TARGET_FREEBSD_NR_extattr_get_fd 372
257 #define TARGET_FREEBSD_NR_extattr_delete_fd 373
258 #define TARGET_FREEBSD_NR___setugid 374
259 #define TARGET_FREEBSD_NR_nfsclnt 375
260 #define TARGET_FREEBSD_NR_eaccess 376
261 #define TARGET_FREEBSD_NR_nmount 378
262 #define TARGET_FREEBSD_NR___mac_get_proc 384
263 #define TARGET_FREEBSD_NR___mac_set_proc 385
264 #define TARGET_FREEBSD_NR___mac_get_fd 386
265 #define TARGET_FREEBSD_NR___mac_get_file 387
266 #define TARGET_FREEBSD_NR___mac_set_fd 388
267 #define TARGET_FREEBSD_NR___mac_set_file 389
268 #define TARGET_FREEBSD_NR_kenv 390
269 #define TARGET_FREEBSD_NR_lchflags 391
270 #define TARGET_FREEBSD_NR_uuidgen 392
271 #define TARGET_FREEBSD_NR_sendfile 393
272 #define TARGET_FREEBSD_NR_mac_syscall 394
273 #define TARGET_FREEBSD_NR_getfsstat 395
274 #define TARGET_FREEBSD_NR_statfs 396
275 #define TARGET_FREEBSD_NR_fstatfs 397
276 #define TARGET_FREEBSD_NR_fhstatfs 398
277 #define TARGET_FREEBSD_NR_ksem_close 400
278 #define TARGET_FREEBSD_NR_ksem_post 401
279 #define TARGET_FREEBSD_NR_ksem_wait 402
280 #define TARGET_FREEBSD_NR_ksem_trywait 403
281 #define TARGET_FREEBSD_NR_ksem_init 404
282 #define TARGET_FREEBSD_NR_ksem_open 405
283 #define TARGET_FREEBSD_NR_ksem_unlink 406
284 #define TARGET_FREEBSD_NR_ksem_getvalue 407
285 #define TARGET_FREEBSD_NR_ksem_destroy 408
286 #define TARGET_FREEBSD_NR___mac_get_pid 409
287 #define TARGET_FREEBSD_NR___mac_get_link 410
288 #define TARGET_FREEBSD_NR___mac_set_link 411
289 #define TARGET_FREEBSD_NR_extattr_set_link 412
290 #define TARGET_FREEBSD_NR_extattr_get_link 413
291 #define TARGET_FREEBSD_NR_extattr_delete_link 414
292 #define TARGET_FREEBSD_NR___mac_execve 415
293 #define TARGET_FREEBSD_NR_sigaction 416
294 #define TARGET_FREEBSD_NR_sigreturn 417
295 #define TARGET_FREEBSD_NR_getcontext 421
296 #define TARGET_FREEBSD_NR_setcontext 422
297 #define TARGET_FREEBSD_NR_swapcontext 423
298 #define TARGET_FREEBSD_NR_swapoff 424
299 #define TARGET_FREEBSD_NR___acl_get_link 425
300 #define TARGET_FREEBSD_NR___acl_set_link 426
301 #define TARGET_FREEBSD_NR___acl_delete_link 427
302 #define TARGET_FREEBSD_NR___acl_aclcheck_link 428
303 #define TARGET_FREEBSD_NR_sigwait 429
304 #define TARGET_FREEBSD_NR_thr_create 430
305 #define TARGET_FREEBSD_NR_thr_exit 431
306 #define TARGET_FREEBSD_NR_thr_self 432
307 #define TARGET_FREEBSD_NR_thr_kill 433
308 #define TARGET_FREEBSD_NR__umtx_lock 434
309 #define TARGET_FREEBSD_NR__umtx_unlock 435
310 #define TARGET_FREEBSD_NR_jail_attach 436
311 #define TARGET_FREEBSD_NR_extattr_list_fd 437
312 #define TARGET_FREEBSD_NR_extattr_list_file 438
313 #define TARGET_FREEBSD_NR_extattr_list_link 439
314 #define TARGET_FREEBSD_NR_ksem_timedwait 441
315 #define TARGET_FREEBSD_NR_thr_suspend 442
316 #define TARGET_FREEBSD_NR_thr_wake 443
317 #define TARGET_FREEBSD_NR_kldunloadf 444
318 #define TARGET_FREEBSD_NR_audit 445
319 #define TARGET_FREEBSD_NR_auditon 446
320 #define TARGET_FREEBSD_NR_getauid 447
321 #define TARGET_FREEBSD_NR_setauid 448
322 #define TARGET_FREEBSD_NR_getaudit 449
323 #define TARGET_FREEBSD_NR_setaudit 450
324 #define TARGET_FREEBSD_NR_getaudit_addr 451
325 #define TARGET_FREEBSD_NR_setaudit_addr 452
326 #define TARGET_FREEBSD_NR_auditctl 453
327 #define TARGET_FREEBSD_NR__umtx_op 454
328 #define TARGET_FREEBSD_NR_thr_new 455
329 #define TARGET_FREEBSD_NR_sigqueue 456
330 #define TARGET_FREEBSD_NR_kmq_open 457
331 #define TARGET_FREEBSD_NR_kmq_setattr 458
332 #define TARGET_FREEBSD_NR_kmq_timedreceive 459
333 #define TARGET_FREEBSD_NR_kmq_timedsend 460
334 #define TARGET_FREEBSD_NR_kmq_notify 461
335 #define TARGET_FREEBSD_NR_kmq_unlink 462
336 #define TARGET_FREEBSD_NR_abort2 463
337 #define TARGET_FREEBSD_NR_thr_set_name 464
338 #define TARGET_FREEBSD_NR_aio_fsync 465
339 #define TARGET_FREEBSD_NR_rtprio_thread 466
340 #define TARGET_FREEBSD_NR_sctp_peeloff 471
341 #define TARGET_FREEBSD_NR_sctp_generic_sendmsg 472
342 #define TARGET_FREEBSD_NR_sctp_generic_sendmsg_iov 473
343 #define TARGET_FREEBSD_NR_sctp_generic_recvmsg 474
344 #define TARGET_FREEBSD_NR_pread 475
345 #define TARGET_FREEBSD_NR_pwrite 476
346 #define TARGET_FREEBSD_NR_mmap 477
347 #define TARGET_FREEBSD_NR_lseek 478
348 #define TARGET_FREEBSD_NR_truncate 479
349 #define TARGET_FREEBSD_NR_ftruncate 480
350 #define TARGET_FREEBSD_NR_thr_kill2 481
351 #define TARGET_FREEBSD_NR_shm_open 482
352 #define TARGET_FREEBSD_NR_shm_unlink 483
353 #define TARGET_FREEBSD_NR_cpuset 484
354 #define TARGET_FREEBSD_NR_cpuset_setid 485
355 #define TARGET_FREEBSD_NR_cpuset_getid 486
356 #define TARGET_FREEBSD_NR_cpuset_getaffinity 487
357 #define TARGET_FREEBSD_NR_cpuset_setaffinity 488
358 #define TARGET_FREEBSD_NR_faccessat 489
359 #define TARGET_FREEBSD_NR_fchmodat 490
360 #define TARGET_FREEBSD_NR_fchownat 491
361 #define TARGET_FREEBSD_NR_fexecve 492
362 #define TARGET_FREEBSD_NR_fstatat 493
363 #define TARGET_FREEBSD_NR_futimesat 494
364 #define TARGET_FREEBSD_NR_linkat 495
365 #define TARGET_FREEBSD_NR_mkdirat 496
366 #define TARGET_FREEBSD_NR_mkfifoat 497
367 #define TARGET_FREEBSD_NR_mknodat 498
368 #define TARGET_FREEBSD_NR_openat 499
369 #define TARGET_FREEBSD_NR_readlinkat 500
370 #define TARGET_FREEBSD_NR_renameat 501
371 #define TARGET_FREEBSD_NR_symlinkat 502
372 #define TARGET_FREEBSD_NR_unlinkat 503
373 #define TARGET_FREEBSD_NR_posix_openpt 504