1 #ifndef LINUX_USER_ALPHA_SYSCALL_NR_H
2 #define LINUX_USER_ALPHA_SYSCALL_NR_H
4 #define TARGET_NR_osf_syscall 0 /* not implemented */
5 #define TARGET_NR_exit 1
6 #define TARGET_NR_fork 2
7 #define TARGET_NR_read 3
8 #define TARGET_NR_write 4
9 #define TARGET_NR_osf_old_open 5 /* not implemented */
10 #define TARGET_NR_close 6
11 #define TARGET_NR_osf_wait4 7
12 #define TARGET_NR_osf_old_creat 8 /* not implemented */
13 #define TARGET_NR_link 9
14 #define TARGET_NR_unlink 10
15 #define TARGET_NR_osf_execve 11 /* not implemented */
16 #define TARGET_NR_chdir 12
17 #define TARGET_NR_fchdir 13
18 #define TARGET_NR_mknod 14
19 #define TARGET_NR_chmod 15
20 #define TARGET_NR_chown 16
21 #define TARGET_NR_brk 17
22 #define TARGET_NR_osf_getfsstat 18 /* not implemented */
23 #define TARGET_NR_lseek 19
24 #define TARGET_NR_getxpid 20
25 #define TARGET_NR_osf_mount 21
26 #define TARGET_NR_umount2 22
27 #define TARGET_NR_setuid 23
28 #define TARGET_NR_getxuid 24
29 #define TARGET_NR_exec_with_loader 25 /* not implemented */
30 #define TARGET_NR_ptrace 26
31 #define TARGET_NR_osf_nrecvmsg 27 /* not implemented */
32 #define TARGET_NR_osf_nsendmsg 28 /* not implemented */
33 #define TARGET_NR_osf_nrecvfrom 29 /* not implemented */
34 #define TARGET_NR_osf_naccept 30 /* not implemented */
35 #define TARGET_NR_osf_ngetpeername 31 /* not implemented */
36 #define TARGET_NR_osf_ngetsockname 32 /* not implemented */
37 #define TARGET_NR_access 33
38 #define TARGET_NR_osf_chflags 34 /* not implemented */
39 #define TARGET_NR_osf_fchflags 35 /* not implemented */
40 #define TARGET_NR_sync 36
41 #define TARGET_NR_kill 37
42 #define TARGET_NR_osf_old_stat 38 /* not implemented */
43 #define TARGET_NR_setpgid 39
44 #define TARGET_NR_osf_old_lstat 40 /* not implemented */
45 #define TARGET_NR_dup 41
46 #define TARGET_NR_pipe 42
47 #define TARGET_NR_osf_set_program_attributes 43
48 #define TARGET_NR_osf_profil 44 /* not implemented */
49 #define TARGET_NR_open 45
50 #define TARGET_NR_osf_old_sigaction 46 /* not implemented */
51 #define TARGET_NR_getxgid 47
52 #define TARGET_NR_sigprocmask 48
53 #define TARGET_NR_osf_getlogin 49 /* not implemented */
54 #define TARGET_NR_osf_setlogin 50 /* not implemented */
55 #define TARGET_NR_acct 51
56 #define TARGET_NR_sigpending 52
58 #define TARGET_NR_ioctl 54
59 #define TARGET_NR_osf_reboot 55 /* not implemented */
60 #define TARGET_NR_osf_revoke 56 /* not implemented */
61 #define TARGET_NR_symlink 57
62 #define TARGET_NR_readlink 58
63 #define TARGET_NR_execve 59
64 #define TARGET_NR_umask 60
65 #define TARGET_NR_chroot 61
66 #define TARGET_NR_osf_old_fstat 62 /* not implemented */
67 #define TARGET_NR_getpgrp 63
68 #define TARGET_NR_getpagesize 64
69 #define TARGET_NR_osf_mremap 65 /* not implemented */
70 #define TARGET_NR_vfork 66
71 #define TARGET_NR_stat 67
72 #define TARGET_NR_lstat 68
73 #define TARGET_NR_osf_sbrk 69 /* not implemented */
74 #define TARGET_NR_osf_sstk 70 /* not implemented */
75 #define TARGET_NR_mmap 71 /* OSF/1 mmap is superset of Linux */
76 #define TARGET_NR_osf_old_vadvise 72 /* not implemented */
77 #define TARGET_NR_munmap 73
78 #define TARGET_NR_mprotect 74
79 #define TARGET_NR_madvise 75
80 #define TARGET_NR_vhangup 76
81 #define TARGET_NR_osf_kmodcall 77 /* not implemented */
82 #define TARGET_NR_osf_mincore 78 /* not implemented */
83 #define TARGET_NR_getgroups 79
84 #define TARGET_NR_setgroups 80
85 #define TARGET_NR_osf_old_getpgrp 81 /* not implemented */
86 #define TARGET_NR_setpgrp 82 /* BSD alias for setpgid */
87 #define TARGET_NR_osf_setitimer 83
88 #define TARGET_NR_osf_old_wait 84 /* not implemented */
89 #define TARGET_NR_osf_table 85 /* not implemented */
90 #define TARGET_NR_osf_getitimer 86
91 #define TARGET_NR_gethostname 87
92 #define TARGET_NR_sethostname 88
93 #define TARGET_NR_getdtablesize 89
94 #define TARGET_NR_dup2 90
95 #define TARGET_NR_fstat 91
96 #define TARGET_NR_fcntl 92
97 #define TARGET_NR_osf_select 93
98 #define TARGET_NR_poll 94
99 #define TARGET_NR_fsync 95
100 #define TARGET_NR_setpriority 96
101 #define TARGET_NR_socket 97
102 #define TARGET_NR_connect 98
103 #define TARGET_NR_accept 99
104 #define TARGET_NR_getpriority 100
105 #define TARGET_NR_send 101
106 #define TARGET_NR_recv 102
107 #define TARGET_NR_sigreturn 103
108 #define TARGET_NR_bind 104
109 #define TARGET_NR_setsockopt 105
110 #define TARGET_NR_listen 106
111 #define TARGET_NR_osf_plock 107 /* not implemented */
112 #define TARGET_NR_osf_old_sigvec 108 /* not implemented */
113 #define TARGET_NR_osf_old_sigblock 109 /* not implemented */
114 #define TARGET_NR_osf_old_sigsetmask 110 /* not implemented */
115 #define TARGET_NR_sigsuspend 111
116 #define TARGET_NR_osf_sigstack 112
117 #define TARGET_NR_recvmsg 113
118 #define TARGET_NR_sendmsg 114
119 #define TARGET_NR_osf_old_vtrace 115 /* not implemented */
120 #define TARGET_NR_osf_gettimeofday 116
121 #define TARGET_NR_osf_getrusage 117
122 #define TARGET_NR_getsockopt 118
124 #define TARGET_NR_readv 120
125 #define TARGET_NR_writev 121
126 #define TARGET_NR_osf_settimeofday 122
127 #define TARGET_NR_fchown 123
128 #define TARGET_NR_fchmod 124
129 #define TARGET_NR_recvfrom 125
130 #define TARGET_NR_setreuid 126
131 #define TARGET_NR_setregid 127
132 #define TARGET_NR_rename 128
133 #define TARGET_NR_truncate 129
134 #define TARGET_NR_ftruncate 130
135 #define TARGET_NR_flock 131
136 #define TARGET_NR_setgid 132
137 #define TARGET_NR_sendto 133
138 #define TARGET_NR_shutdown 134
139 #define TARGET_NR_socketpair 135
140 #define TARGET_NR_mkdir 136
141 #define TARGET_NR_rmdir 137
142 #define TARGET_NR_osf_utimes 138
143 #define TARGET_NR_osf_old_sigreturn 139 /* not implemented */
144 #define TARGET_NR_osf_adjtime 140 /* not implemented */
145 #define TARGET_NR_getpeername 141
146 #define TARGET_NR_osf_gethostid 142 /* not implemented */
147 #define TARGET_NR_osf_sethostid 143 /* not implemented */
148 #define TARGET_NR_getrlimit 144
149 #define TARGET_NR_setrlimit 145
150 #define TARGET_NR_osf_old_killpg 146 /* not implemented */
151 #define TARGET_NR_setsid 147
152 #define TARGET_NR_quotactl 148
153 #define TARGET_NR_osf_oldquota 149 /* not implemented */
154 #define TARGET_NR_getsockname 150
156 #define TARGET_NR_osf_pid_block 153 /* not implemented */
157 #define TARGET_NR_osf_pid_unblock 154 /* not implemented */
159 #define TARGET_NR_sigaction 156
160 #define TARGET_NR_osf_sigwaitprim 157 /* not implemented */
161 #define TARGET_NR_osf_nfssvc 158 /* not implemented */
162 #define TARGET_NR_osf_getdirentries 159
163 #define TARGET_NR_osf_statfs 160
164 #define TARGET_NR_osf_fstatfs 161
166 #define TARGET_NR_osf_asynch_daemon 163 /* not implemented */
167 #define TARGET_NR_osf_getfh 164 /* not implemented */
168 #define TARGET_NR_osf_getdomainname 165
169 #define TARGET_NR_setdomainname 166
171 #define TARGET_NR_osf_exportfs 169 /* not implemented */
173 #define TARGET_NR_osf_alt_plock 181 /* not implemented */
175 #define TARGET_NR_osf_getmnt 184 /* not implemented */
177 #define TARGET_NR_osf_alt_sigpending 187 /* not implemented */
178 #define TARGET_NR_osf_alt_setsid 188 /* not implemented */
180 #define TARGET_NR_osf_swapon 199
181 #define TARGET_NR_msgctl 200
182 #define TARGET_NR_msgget 201
183 #define TARGET_NR_msgrcv 202
184 #define TARGET_NR_msgsnd 203
185 #define TARGET_NR_semctl 204
186 #define TARGET_NR_semget 205
187 #define TARGET_NR_semop 206
188 #define TARGET_NR_osf_utsname 207
189 #define TARGET_NR_lchown 208
190 #define TARGET_NR_osf_shmat 209
191 /* this has the usual shmat semantics so give it the name syscall.c expects
192 * so that our support for it is enabled.
194 #define TARGET_NR_shmat TARGET_NR_osf_shmat
195 #define TARGET_NR_shmctl 210
196 #define TARGET_NR_shmdt 211
197 #define TARGET_NR_shmget 212
198 #define TARGET_NR_osf_mvalid 213 /* not implemented */
199 #define TARGET_NR_osf_getaddressconf 214 /* not implemented */
200 #define TARGET_NR_osf_msleep 215 /* not implemented */
201 #define TARGET_NR_osf_mwakeup 216 /* not implemented */
202 #define TARGET_NR_msync 217
203 #define TARGET_NR_osf_signal 218 /* not implemented */
204 #define TARGET_NR_osf_utc_gettime 219 /* not implemented */
205 #define TARGET_NR_osf_utc_adjtime 220 /* not implemented */
207 #define TARGET_NR_osf_security 222 /* not implemented */
208 #define TARGET_NR_osf_kloadcall 223 /* not implemented */
210 #define TARGET_NR_getpgid 233
211 #define TARGET_NR_getsid 234
212 #define TARGET_NR_sigaltstack 235
213 #define TARGET_NR_osf_waitid 236 /* not implemented */
214 #define TARGET_NR_osf_priocntlset 237 /* not implemented */
215 #define TARGET_NR_osf_sigsendset 238 /* not implemented */
216 #define TARGET_NR_osf_set_speculative 239 /* not implemented */
217 #define TARGET_NR_osf_msfs_syscall 240 /* not implemented */
218 #define TARGET_NR_osf_sysinfo 241
219 #define TARGET_NR_osf_uadmin 242 /* not implemented */
220 #define TARGET_NR_osf_fuser 243 /* not implemented */
221 #define TARGET_NR_osf_proplist_syscall 244
222 #define TARGET_NR_osf_ntp_adjtime 245 /* not implemented */
223 #define TARGET_NR_osf_ntp_gettime 246 /* not implemented */
224 #define TARGET_NR_osf_pathconf 247 /* not implemented */
225 #define TARGET_NR_osf_fpathconf 248 /* not implemented */
227 #define TARGET_NR_osf_uswitch 250 /* not implemented */
228 #define TARGET_NR_osf_usleep_thread 251
229 #define TARGET_NR_osf_audcntl 252 /* not implemented */
230 #define TARGET_NR_osf_audgen 253 /* not implemented */
231 #define TARGET_NR_sysfs 254
232 #define TARGET_NR_osf_subsys_info 255 /* not implemented */
233 #define TARGET_NR_osf_getsysinfo 256
234 #define TARGET_NR_osf_setsysinfo 257
235 #define TARGET_NR_osf_afs_syscall 258 /* not implemented */
236 #define TARGET_NR_osf_swapctl 259 /* not implemented */
237 #define TARGET_NR_osf_memcntl 260 /* not implemented */
238 #define TARGET_NR_osf_fdatasync 261 /* not implemented */
242 * Linux-specific system calls begin at 300
244 #define TARGET_NR_bdflush 300
245 #define TARGET_NR_sethae 301
246 #define TARGET_NR_mount 302
247 #define TARGET_NR_old_adjtimex 303
248 #define TARGET_NR_swapoff 304
249 #define TARGET_NR_getdents 305
250 #define TARGET_NR_create_module 306
251 #define TARGET_NR_init_module 307
252 #define TARGET_NR_delete_module 308
253 #define TARGET_NR_get_kernel_syms 309
254 #define TARGET_NR_syslog 310
255 #define TARGET_NR_reboot 311
256 #define TARGET_NR_clone 312
257 #define TARGET_NR_uselib 313
258 #define TARGET_NR_mlock 314
259 #define TARGET_NR_munlock 315
260 #define TARGET_NR_mlockall 316
261 #define TARGET_NR_munlockall 317
262 #define TARGET_NR_sysinfo 318
263 #define TARGET_NR__sysctl 319
264 /* 320 was sys_idle. */
265 #define TARGET_NR_umount 321
266 #define TARGET_NR_swapon 322
267 #define TARGET_NR_times 323
268 #define TARGET_NR_personality 324
269 #define TARGET_NR_setfsuid 325
270 #define TARGET_NR_setfsgid 326
271 #define TARGET_NR_ustat 327
272 #define TARGET_NR_statfs 328
273 #define TARGET_NR_fstatfs 329
274 #define TARGET_NR_sched_setparam 330
275 #define TARGET_NR_sched_getparam 331
276 #define TARGET_NR_sched_setscheduler 332
277 #define TARGET_NR_sched_getscheduler 333
278 #define TARGET_NR_sched_yield 334
279 #define TARGET_NR_sched_get_priority_max 335
280 #define TARGET_NR_sched_get_priority_min 336
281 #define TARGET_NR_sched_rr_get_interval 337
282 #define TARGET_NR_afs_syscall 338
283 #define TARGET_NR_uname 339
284 #define TARGET_NR_nanosleep 340
285 #define TARGET_NR_mremap 341
286 #define TARGET_NR_nfsservctl 342
287 #define TARGET_NR_setresuid 343
288 #define TARGET_NR_getresuid 344
289 #define TARGET_NR_pciconfig_read 345
290 #define TARGET_NR_pciconfig_write 346
291 #define TARGET_NR_query_module 347
292 #define TARGET_NR_prctl 348
293 #define TARGET_NR_pread64 349
294 #define TARGET_NR_pwrite64 350
295 #define TARGET_NR_rt_sigreturn 351
296 #define TARGET_NR_rt_sigaction 352
297 #define TARGET_NR_rt_sigprocmask 353
298 #define TARGET_NR_rt_sigpending 354
299 #define TARGET_NR_rt_sigtimedwait 355
300 #define TARGET_NR_rt_sigqueueinfo 356
301 #define TARGET_NR_rt_sigsuspend 357
302 #define TARGET_NR_select 358
303 #define TARGET_NR_gettimeofday 359
304 #define TARGET_NR_settimeofday 360
305 #define TARGET_NR_getitimer 361
306 #define TARGET_NR_setitimer 362
307 #define TARGET_NR_utimes 363
308 #define TARGET_NR_getrusage 364
309 #define TARGET_NR_wait4 365
310 #define TARGET_NR_adjtimex 366
311 #define TARGET_NR_getcwd 367
312 #define TARGET_NR_capget 368
313 #define TARGET_NR_capset 369
314 #define TARGET_NR_sendfile 370
315 #define TARGET_NR_setresgid 371
316 #define TARGET_NR_getresgid 372
317 #define TARGET_NR_dipc 373
318 #define TARGET_NR_pivot_root 374
319 #define TARGET_NR_mincore 375
320 #define TARGET_NR_pciconfig_iobase 376
321 #define TARGET_NR_getdents64 377
322 #define TARGET_NR_gettid 378
323 #define TARGET_NR_readahead 379
325 #define TARGET_NR_tkill 381
326 #define TARGET_NR_setxattr 382
327 #define TARGET_NR_lsetxattr 383
328 #define TARGET_NR_fsetxattr 384
329 #define TARGET_NR_getxattr 385
330 #define TARGET_NR_lgetxattr 386
331 #define TARGET_NR_fgetxattr 387
332 #define TARGET_NR_listxattr 388
333 #define TARGET_NR_llistxattr 389
334 #define TARGET_NR_flistxattr 390
335 #define TARGET_NR_removexattr 391
336 #define TARGET_NR_lremovexattr 392
337 #define TARGET_NR_fremovexattr 393
338 #define TARGET_NR_futex 394
339 #define TARGET_NR_sched_setaffinity 395
340 #define TARGET_NR_sched_getaffinity 396
341 #define TARGET_NR_tuxcall 397
342 #define TARGET_NR_io_setup 398
343 #define TARGET_NR_io_destroy 399
344 #define TARGET_NR_io_getevents 400
345 #define TARGET_NR_io_submit 401
346 #define TARGET_NR_io_cancel 402
347 #define TARGET_NR_exit_group 405
348 #define TARGET_NR_lookup_dcookie 406
349 #define TARGET_NR_epoll_create 407
350 #define TARGET_NR_epoll_ctl 408
351 #define TARGET_NR_epoll_wait 409
352 #define TARGET_NR_remap_file_pages 410
353 #define TARGET_NR_set_tid_address 411
354 #define TARGET_NR_restart_syscall 412
355 #define TARGET_NR_fadvise64 413
356 #define TARGET_NR_timer_create 414
357 #define TARGET_NR_timer_settime 415
358 #define TARGET_NR_timer_gettime 416
359 #define TARGET_NR_timer_getoverrun 417
360 #define TARGET_NR_timer_delete 418
361 #define TARGET_NR_clock_settime 419
362 #define TARGET_NR_clock_gettime 420
363 #define TARGET_NR_clock_getres 421
364 #define TARGET_NR_clock_nanosleep 422
365 #define TARGET_NR_semtimedop 423
366 #define TARGET_NR_tgkill 424
367 #define TARGET_NR_stat64 425
368 #define TARGET_NR_lstat64 426
369 #define TARGET_NR_fstat64 427
370 #define TARGET_NR_vserver 428
371 #define TARGET_NR_mbind 429
372 #define TARGET_NR_get_mempolicy 430
373 #define TARGET_NR_set_mempolicy 431
374 #define TARGET_NR_mq_open 432
375 #define TARGET_NR_mq_unlink 433
376 #define TARGET_NR_mq_timedsend 434
377 #define TARGET_NR_mq_timedreceive 435
378 #define TARGET_NR_mq_notify 436
379 #define TARGET_NR_mq_getsetattr 437
380 #define TARGET_NR_waitid 438
381 #define TARGET_NR_add_key 439
382 #define TARGET_NR_request_key 440
383 #define TARGET_NR_keyctl 441
384 #define TARGET_NR_ioprio_set 442
385 #define TARGET_NR_ioprio_get 443
386 #define TARGET_NR_inotify_init 444
387 #define TARGET_NR_inotify_add_watch 445
388 #define TARGET_NR_inotify_rm_watch 446
389 #define TARGET_NR_fdatasync 447
390 #define TARGET_NR_kexec_load 448
391 #define TARGET_NR_migrate_pages 449
392 #define TARGET_NR_openat 450
393 #define TARGET_NR_mkdirat 451
394 #define TARGET_NR_mknodat 452
395 #define TARGET_NR_fchownat 453
396 #define TARGET_NR_futimesat 454
397 #define TARGET_NR_fstatat64 455
398 #define TARGET_NR_unlinkat 456
399 #define TARGET_NR_renameat 457
400 #define TARGET_NR_linkat 458
401 #define TARGET_NR_symlinkat 459
402 #define TARGET_NR_readlinkat 460
403 #define TARGET_NR_fchmodat 461
404 #define TARGET_NR_faccessat 462
405 #define TARGET_NR_pselect6 463
406 #define TARGET_NR_ppoll 464
407 #define TARGET_NR_unshare 465
408 #define TARGET_NR_set_robust_list 466
409 #define TARGET_NR_get_robust_list 467
410 #define TARGET_NR_splice 468
411 #define TARGET_NR_sync_file_range 469
412 #define TARGET_NR_tee 470
413 #define TARGET_NR_vmsplice 471
414 #define TARGET_NR_move_pages 472
415 #define TARGET_NR_getcpu 473
416 #define TARGET_NR_epoll_pwait 474
417 #define TARGET_NR_utimensat 475
418 #define TARGET_NR_signalfd 476
419 #define TARGET_NR_timerfd 477
420 #define TARGET_NR_eventfd 478
421 #define TARGET_NR_recvmmsg 479
422 #define TARGET_NR_fallocate 480
423 #define TARGET_NR_timerfd_create 481
424 #define TARGET_NR_timerfd_settime 482
425 #define TARGET_NR_timerfd_gettime 483
426 #define TARGET_NR_signalfd4 484
427 #define TARGET_NR_eventfd2 485
428 #define TARGET_NR_epoll_create1 486
429 #define TARGET_NR_dup3 487
430 #define TARGET_NR_pipe2 488
431 #define TARGET_NR_inotify_init1 489
432 #define TARGET_NR_preadv 490
433 #define TARGET_NR_pwritev 491
434 #define TARGET_NR_rt_tgsigqueueinfo 492
435 #define TARGET_NR_perf_event_open 493
436 #define TARGET_NR_fanotify_init 494
437 #define TARGET_NR_fanotify_mark 495
438 #define TARGET_NR_prlimit64 496
439 #define TARGET_NR_name_to_handle_at 497
440 #define TARGET_NR_open_by_handle_at 498
441 #define TARGET_NR_clock_adjtime 499
442 #define TARGET_NR_syncfs 500
443 #define TARGET_NR_setns 501
444 #define TARGET_NR_accept4 502
445 #define TARGET_NR_sendmmsg 503
446 #define TARGET_NR_process_vm_readv 504
447 #define TARGET_NR_process_vm_writev 505
448 #define TARGET_NR_kcmp 506
449 #define TARGET_NR_finit_module 507
450 #define TARGET_NR_sched_setattr 508
451 #define TARGET_NR_sched_getattr 509
452 #define TARGET_NR_renameat2 510
453 #define TARGET_NR_getrandom 511
454 #define TARGET_NR_memfd_create 512
455 #define TARGET_NR_execveat 513