qemu/linux-user/mips/syscall-args-o32.c.inc
<<
>>
Prefs
   1    [   0] = 7, /* syscall */
   2    [   1] = 1, /* exit */
   3    [   2] = 0, /* fork */
   4    [   3] = 3, /* read */
   5    [   4] = 3, /* write */
   6    [   5] = 3, /* open */
   7    [   6] = 1, /* close */
   8    [   7] = 3, /* waitpid */
   9    [   8] = 2, /* creat */
  10    [   9] = 2, /* link */
  11    [  10] = 1, /* unlink */
  12    [  11] = 3, /* execve */
  13    [  12] = 1, /* chdir */
  14    [  13] = 1, /* time */
  15    [  14] = 3, /* mknod */
  16    [  15] = 2, /* chmod */
  17    [  16] = 3, /* lchown */
  18    [  17] = 0, /* break */
  19    [  18] = 2, /* oldstat */
  20    [  19] = 3, /* lseek */
  21    [  20] = 0, /* getpid */
  22    [  21] = 5, /* mount */
  23    [  22] = 1, /* umount */
  24    [  23] = 1, /* setuid */
  25    [  24] = 0, /* getuid */
  26    [  25] = 1, /* stime */
  27    [  26] = 4, /* ptrace */
  28    [  27] = 1, /* alarm */
  29    [  28] = 2, /* oldfstat */
  30    [  29] = 0, /* pause */
  31    [  30] = 2, /* utime */
  32    [  31] = 0, /* stty */
  33    [  32] = 0, /* gtty */
  34    [  33] = 2, /* access */
  35    [  34] = 1, /* nice */
  36    [  35] = 1, /* ftime */
  37    [  36] = 0, /* sync */
  38    [  37] = 2, /* kill */
  39    [  38] = 2, /* rename */
  40    [  39] = 2, /* mkdir */
  41    [  40] = 1, /* rmdir */
  42    [  41] = 1, /* dup */
  43    [  42] = 0, /* pipe */
  44    [  43] = 1, /* times */
  45    [  44] = 0, /* prof */
  46    [  45] = 1, /* brk */
  47    [  46] = 1, /* setgid */
  48    [  47] = 0, /* getgid */
  49    [  48] = 2, /* signal */
  50    [  49] = 0, /* geteuid */
  51    [  50] = 0, /* getegid */
  52    [  51] = 1, /* acct */
  53    [  52] = 2, /* umount2 */
  54    [  53] = 0, /* lock */
  55    [  54] = 3, /* ioctl */
  56    [  55] = 3, /* fcntl */
  57    [  56] = 0, /* mpx */
  58    [  57] = 2, /* setpgid */
  59    [  58] = 0, /* ulimit */
  60    [  59] = 1, /* oldolduname */
  61    [  60] = 1, /* umask */
  62    [  61] = 1, /* chroot */
  63    [  62] = 2, /* ustat */
  64    [  63] = 2, /* dup2 */
  65    [  64] = 0, /* getppid */
  66    [  65] = 0, /* getpgrp */
  67    [  66] = 0, /* setsid */
  68    [  67] = 3, /* sigaction */
  69    [  68] = 0, /* sgetmask */
  70    [  69] = 1, /* ssetmask */
  71    [  70] = 2, /* setreuid */
  72    [  71] = 2, /* setregid */
  73    [  72] = 1, /* sigsuspend */
  74    [  73] = 1, /* sigpending */
  75    [  74] = 2, /* sethostname */
  76    [  75] = 2, /* setrlimit */
  77    [  76] = 2, /* getrlimit */
  78    [  77] = 2, /* getrusage */
  79    [  78] = 2, /* gettimeofday */
  80    [  79] = 2, /* settimeofday */
  81    [  80] = 2, /* getgroups */
  82    [  81] = 2, /* setgroups */
  83    [  82] = 0, /* reserved82 */
  84    [  83] = 2, /* symlink */
  85    [  84] = 2, /* oldlstat */
  86    [  85] = 3, /* readlink */
  87    [  86] = 1, /* uselib */
  88    [  87] = 2, /* swapon */
  89    [  88] = 4, /* reboot */
  90    [  89] = 3, /* readdir */
  91    [  90] = 6, /* mmap */
  92    [  91] = 2, /* munmap */
  93    [  92] = 2, /* truncate */
  94    [  93] = 2, /* ftruncate */
  95    [  94] = 2, /* fchmod */
  96    [  95] = 3, /* fchown */
  97    [  96] = 2, /* getpriority */
  98    [  97] = 3, /* setpriority */
  99    [  98] = 0, /* profil */
 100    [  99] = 2, /* statfs */
 101    [ 100] = 2, /* fstatfs */
 102    [ 101] = 3, /* ioperm */
 103    [ 102] = 2, /* socketcall */
 104    [ 103] = 3, /* syslog */
 105    [ 104] = 3, /* setitimer */
 106    [ 105] = 2, /* getitimer */
 107    [ 106] = 2, /* stat */
 108    [ 107] = 2, /* lstat */
 109    [ 108] = 2, /* fstat */
 110    [ 109] = 1, /* olduname */
 111    [ 110] = 1, /* iopl */
 112    [ 111] = 0, /* vhangup */
 113    [ 112] = 0, /* idle */
 114    [ 113] = 5, /* vm86 */
 115    [ 114] = 4, /* wait4 */
 116    [ 115] = 1, /* swapoff */
 117    [ 116] = 1, /* sysinfo */
 118    [ 117] = 6, /* ipc */
 119    [ 118] = 1, /* fsync */
 120    [ 119] = 0, /* sigreturn */
 121    [ 120] = 5, /* clone */
 122    [ 121] = 2, /* setdomainname */
 123    [ 122] = 1, /* uname */
 124    [ 123] = 0, /* modify_ldt */
 125    [ 124] = 1, /* adjtimex */
 126    [ 125] = 3, /* mprotect */
 127    [ 126] = 3, /* sigprocmask */
 128    [ 127] = 2, /* create_module */
 129    [ 128] = 3, /* init_module */
 130    [ 129] = 2, /* delete_module */
 131    [ 130] = 1, /* get_kernel_syms */
 132    [ 131] = 4, /* quotactl */
 133    [ 132] = 1, /* getpgid */
 134    [ 133] = 1, /* fchdir */
 135    [ 134] = 2, /* bdflush */
 136    [ 135] = 3, /* sysfs */
 137    [ 136] = 1, /* personality */
 138    [ 137] = 0, /* afs_syscall */
 139    [ 138] = 1, /* setfsuid */
 140    [ 139] = 1, /* setfsgid */
 141    [ 140] = 5, /* _llseek */
 142    [ 141] = 3, /* getdents */
 143    [ 142] = 5, /* _newselect */
 144    [ 143] = 2, /* flock */
 145    [ 144] = 3, /* msync */
 146    [ 145] = 3, /* readv */
 147    [ 146] = 3, /* writev */
 148    [ 147] = 3, /* cacheflush */
 149    [ 148] = 3, /* cachectl */
 150    [ 149] = 4, /* sysmips */
 151    [ 150] = 0, /* setup */
 152    [ 151] = 1, /* getsid */
 153    [ 152] = 1, /* fdatasync */
 154    [ 153] = 1, /* _sysctl */
 155    [ 154] = 2, /* mlock */
 156    [ 155] = 2, /* munlock */
 157    [ 156] = 1, /* mlockall */
 158    [ 157] = 0, /* munlockall */
 159    [ 158] = 2, /* sched_setparam */
 160    [ 159] = 2, /* sched_getparam */
 161    [ 160] = 3, /* sched_setscheduler */
 162    [ 161] = 1, /* sched_getscheduler */
 163    [ 162] = 0, /* sched_yield */
 164    [ 163] = 1, /* sched_get_priority_max */
 165    [ 164] = 1, /* sched_get_priority_min */
 166    [ 165] = 2, /* sched_rr_get_interval */
 167    [ 166] = 2, /* nanosleep */
 168    [ 167] = 5, /* mremap */
 169    [ 168] = 3, /* accept */
 170    [ 169] = 3, /* bind */
 171    [ 170] = 3, /* connect */
 172    [ 171] = 3, /* getpeername */
 173    [ 172] = 3, /* getsockname */
 174    [ 173] = 5, /* getsockopt */
 175    [ 174] = 2, /* listen */
 176    [ 175] = 4, /* recv */
 177    [ 176] = 6, /* recvfrom */
 178    [ 177] = 3, /* recvmsg */
 179    [ 178] = 4, /* send */
 180    [ 179] = 3, /* sendmsg */
 181    [ 180] = 6, /* sendto */
 182    [ 181] = 5, /* setsockopt */
 183    [ 182] = 2, /* shutdown */
 184    [ 183] = 3, /* socket */
 185    [ 184] = 4, /* socketpair */
 186    [ 185] = 3, /* setresuid */
 187    [ 186] = 3, /* getresuid */
 188    [ 187] = 5, /* query_module */
 189    [ 188] = 3, /* poll */
 190    [ 189] = 3, /* nfsservctl */
 191    [ 190] = 3, /* setresgid */
 192    [ 191] = 3, /* getresgid */
 193    [ 192] = 5, /* prctl */
 194    [ 193] = 0, /* rt_sigreturn */
 195    [ 194] = 4, /* rt_sigaction */
 196    [ 195] = 4, /* rt_sigprocmask */
 197    [ 196] = 2, /* rt_sigpending */
 198    [ 197] = 4, /* rt_sigtimedwait */
 199    [ 198] = 3, /* rt_sigqueueinfo */
 200    [ 199] = 2, /* rt_sigsuspend */
 201    [ 200] = 6, /* pread64 */
 202    [ 201] = 6, /* pwrite64 */
 203    [ 202] = 3, /* chown */
 204    [ 203] = 2, /* getcwd */
 205    [ 204] = 2, /* capget */
 206    [ 205] = 2, /* capset */
 207    [ 206] = 2, /* sigaltstack */
 208    [ 207] = 4, /* sendfile */
 209    [ 208] = 5, /* getpmsg */
 210    [ 209] = 5, /* putpmsg */
 211    [ 210] = 6, /* mmap2 */
 212    [ 211] = 4, /* truncate64 */
 213    [ 212] = 4, /* ftruncate64 */
 214    [ 213] = 2, /* stat64 */
 215    [ 214] = 2, /* lstat64 */
 216    [ 215] = 2, /* fstat64 */
 217    [ 216] = 2, /* pivot_root */
 218    [ 217] = 3, /* mincore */
 219    [ 218] = 3, /* madvise */
 220    [ 219] = 3, /* getdents64 */
 221    [ 220] = 3, /* fcntl64 */
 222    [ 221] = 0, /* reserved221 */
 223    [ 222] = 0, /* gettid */
 224    [ 223] = 5, /* readahead */
 225    [ 224] = 5, /* setxattr */
 226    [ 225] = 5, /* lsetxattr */
 227    [ 226] = 5, /* fsetxattr */
 228    [ 227] = 4, /* getxattr */
 229    [ 228] = 4, /* lgetxattr */
 230    [ 229] = 4, /* fgetxattr */
 231    [ 230] = 3, /* listxattr */
 232    [ 231] = 3, /* llistxattr */
 233    [ 232] = 3, /* flistxattr */
 234    [ 233] = 2, /* removexattr */
 235    [ 234] = 2, /* lremovexattr */
 236    [ 235] = 2, /* fremovexattr */
 237    [ 236] = 2, /* tkill */
 238    [ 237] = 4, /* sendfile64 */
 239    [ 238] = 6, /* futex */
 240    [ 239] = 3, /* sched_setaffinity */
 241    [ 240] = 3, /* sched_getaffinity */
 242    [ 241] = 2, /* io_setup */
 243    [ 242] = 1, /* io_destroy */
 244    [ 243] = 5, /* io_getevents */
 245    [ 244] = 3, /* io_submit */
 246    [ 245] = 3, /* io_cancel */
 247    [ 246] = 1, /* exit_group */
 248    [ 247] = 4, /* lookup_dcookie */
 249    [ 248] = 1, /* epoll_create */
 250    [ 249] = 4, /* epoll_ctl */
 251    [ 250] = 4, /* epoll_wait */
 252    [ 251] = 5, /* remap_file_pages */
 253    [ 252] = 1, /* set_tid_address */
 254    [ 253] = 0, /* restart_syscall */
 255    [ 254] = 7, /* fadvise64 */
 256    [ 255] = 3, /* statfs64 */
 257    [ 256] = 3, /* fstatfs64 */
 258    [ 257] = 3, /* timer_create */
 259    [ 258] = 4, /* timer_settime */
 260    [ 259] = 2, /* timer_gettime */
 261    [ 260] = 1, /* timer_getoverrun */
 262    [ 261] = 1, /* timer_delete */
 263    [ 262] = 2, /* clock_settime */
 264    [ 263] = 2, /* clock_gettime */
 265    [ 264] = 2, /* clock_getres */
 266    [ 265] = 4, /* clock_nanosleep */
 267    [ 266] = 3, /* tgkill */
 268    [ 267] = 2, /* utimes */
 269    [ 268] = 6, /* mbind */
 270    [ 269] = 5, /* get_mempolicy */
 271    [ 270] = 3, /* set_mempolicy */
 272    [ 271] = 4, /* mq_open */
 273    [ 272] = 1, /* mq_unlink */
 274    [ 273] = 5, /* mq_timedsend */
 275    [ 274] = 5, /* mq_timedreceive */
 276    [ 275] = 2, /* mq_notify */
 277    [ 276] = 3, /* mq_getsetattr */
 278    [ 277] = 5, /* vserver */
 279    [ 278] = 5, /* waitid */
 280    [ 279] = MIPS_SYSCALL_NUMBER_UNUSED,
 281    [ 280] = 5, /* add_key */
 282    [ 281] = 4, /* request_key */
 283    [ 282] = 5, /* keyctl */
 284    [ 283] = 1, /* set_thread_area */
 285    [ 284] = 0, /* inotify_init */
 286    [ 285] = 3, /* inotify_add_watch */
 287    [ 286] = 2, /* inotify_rm_watch */
 288    [ 287] = 4, /* migrate_pages */
 289    [ 288] = 4, /* openat */
 290    [ 289] = 3, /* mkdirat */
 291    [ 290] = 4, /* mknodat */
 292    [ 291] = 5, /* fchownat */
 293    [ 292] = 3, /* futimesat */
 294    [ 293] = 4, /* fstatat64 */
 295    [ 294] = 3, /* unlinkat */
 296    [ 295] = 4, /* renameat */
 297    [ 296] = 5, /* linkat */
 298    [ 297] = 3, /* symlinkat */
 299    [ 298] = 4, /* readlinkat */
 300    [ 299] = 3, /* fchmodat */
 301    [ 300] = 3, /* faccessat */
 302    [ 301] = 6, /* pselect6 */
 303    [ 302] = 5, /* ppoll */
 304    [ 303] = 1, /* unshare */
 305    [ 304] = 6, /* splice */
 306    [ 305] = 7, /* sync_file_range */
 307    [ 306] = 4, /* tee */
 308    [ 307] = 4, /* vmsplice */
 309    [ 308] = 6, /* move_pages */
 310    [ 309] = 2, /* set_robust_list */
 311    [ 310] = 3, /* get_robust_list */
 312    [ 311] = 4, /* kexec_load */
 313    [ 312] = 3, /* getcpu */
 314    [ 313] = 6, /* epoll_pwait */
 315    [ 314] = 3, /* ioprio_set */
 316    [ 315] = 2, /* ioprio_get */
 317    [ 316] = 4, /* utimensat */
 318    [ 317] = 3, /* signalfd */
 319    [ 318] = 4, /* timerfd */
 320    [ 319] = 1, /* eventfd */
 321    [ 320] = 6, /* fallocate */
 322    [ 321] = 2, /* timerfd_create */
 323    [ 322] = 2, /* timerfd_gettime */
 324    [ 323] = 4, /* timerfd_settime */
 325    [ 324] = 4, /* signalfd4 */
 326    [ 325] = 2, /* eventfd2 */
 327    [ 326] = 1, /* epoll_create1 */
 328    [ 327] = 3, /* dup3 */
 329    [ 328] = 2, /* pipe2 */
 330    [ 329] = 1, /* inotify_init1 */
 331    [ 330] = 5, /* preadv */
 332    [ 331] = 5, /* pwritev */
 333    [ 332] = 4, /* rt_tgsigqueueinfo */
 334    [ 333] = 5, /* perf_event_open */
 335    [ 334] = 4, /* accept4 */
 336    [ 335] = 5, /* recvmmsg */
 337    [ 336] = 2, /* fanotify_init */
 338    [ 337] = 6, /* fanotify_mark */
 339    [ 338] = 4, /* prlimit64 */
 340    [ 339] = 5, /* name_to_handle_at */
 341    [ 340] = 3, /* open_by_handle_at */
 342    [ 341] = 2, /* clock_adjtime */
 343    [ 342] = 1, /* syncfs */
 344    [ 343] = 4, /* sendmmsg */
 345    [ 344] = 2, /* setns */
 346    [ 345] = 6, /* process_vm_readv */
 347    [ 346] = 6, /* process_vm_writev */
 348    [ 347] = 5, /* kcmp */
 349    [ 348] = 3, /* finit_module */
 350    [ 349] = 3, /* sched_setattr */
 351    [ 350] = 4, /* sched_getattr */
 352    [ 351] = 5, /* renameat2 */
 353    [ 352] = 3, /* seccomp */
 354    [ 353] = 3, /* getrandom */
 355    [ 354] = 2, /* memfd_create */
 356    [ 355] = 3, /* bpf */
 357    [ 356] = 5, /* execveat */
 358    [ 357] = 1, /* userfaultfd */
 359    [ 358] = 3, /* membarrier */
 360    [ 359] = 3, /* mlock2 */
 361    [ 360] = 6, /* copy_file_range */
 362    [ 361] = 6, /* preadv2 */
 363    [ 362] = 6, /* pwritev2 */
 364    [ 363] = 4, /* pkey_mprotect */
 365    [ 364] = 2, /* pkey_alloc */
 366    [ 365] = 1, /* pkey_free */
 367    [ 366] = 5, /* statx */
 368    [ 367] = 4, /* rseq */
 369    [ 368] = 6, /* io_pgetevents */
 370    [ 369] = MIPS_SYSCALL_NUMBER_UNUSED,
 371    [ 370] = MIPS_SYSCALL_NUMBER_UNUSED,
 372    [ 371] = MIPS_SYSCALL_NUMBER_UNUSED,
 373    [ 372] = MIPS_SYSCALL_NUMBER_UNUSED,
 374    [ 373] = MIPS_SYSCALL_NUMBER_UNUSED,
 375    [ 374] = MIPS_SYSCALL_NUMBER_UNUSED,
 376    [ 375] = MIPS_SYSCALL_NUMBER_UNUSED,
 377    [ 376] = MIPS_SYSCALL_NUMBER_UNUSED,
 378    [ 377] = MIPS_SYSCALL_NUMBER_UNUSED,
 379    [ 378] = MIPS_SYSCALL_NUMBER_UNUSED,
 380    [ 379] = MIPS_SYSCALL_NUMBER_UNUSED,
 381    [ 380] = MIPS_SYSCALL_NUMBER_UNUSED,
 382    [ 381] = MIPS_SYSCALL_NUMBER_UNUSED,
 383    [ 382] = MIPS_SYSCALL_NUMBER_UNUSED,
 384    [ 383] = MIPS_SYSCALL_NUMBER_UNUSED,
 385    [ 384] = MIPS_SYSCALL_NUMBER_UNUSED,
 386    [ 385] = MIPS_SYSCALL_NUMBER_UNUSED,
 387    [ 386] = MIPS_SYSCALL_NUMBER_UNUSED,
 388    [ 387] = MIPS_SYSCALL_NUMBER_UNUSED,
 389    [ 388] = MIPS_SYSCALL_NUMBER_UNUSED,
 390    [ 389] = MIPS_SYSCALL_NUMBER_UNUSED,
 391    [ 390] = MIPS_SYSCALL_NUMBER_UNUSED,
 392    [ 391] = MIPS_SYSCALL_NUMBER_UNUSED,
 393    [ 392] = MIPS_SYSCALL_NUMBER_UNUSED,
 394    [ 393] = 3, /* semget */
 395    [ 394] = 4, /* semctl */
 396    [ 395] = 3, /* shmget */
 397    [ 396] = 3, /* shmctl */
 398    [ 397] = 3, /* shmat */
 399    [ 398] = 1, /* shmdt */
 400    [ 399] = 2, /* msgget */
 401    [ 400] = 4, /* msgsnd */
 402    [ 401] = 5, /* msgrcv */
 403    [ 402] = 3, /* msgctl */
 404    [ 403] = 2, /* clock_gettime64 */
 405    [ 404] = 2, /* clock_settime64 */
 406    [ 405] = 2, /* clock_adjtime64 */
 407    [ 406] = 2, /* clock_getres_time64 */
 408    [ 407] = 4, /* clock_nanosleep_time64 */
 409    [ 408] = 2, /* timer_gettime64 */
 410    [ 409] = 4, /* timer_settime64 */
 411    [ 410] = 2, /* timerfd_gettime64 */
 412    [ 411] = 4, /* timerfd_settime64 */
 413    [ 412] = 4, /* utimensat_time64 */
 414    [ 413] = 6, /* pselect6_time64 */
 415    [ 414] = 5, /* ppoll_time64 */
 416    [ 415] = MIPS_SYSCALL_NUMBER_UNUSED,
 417    [ 416] = 6, /* io_pgetevents_time64 */
 418    [ 417] = 5, /* recvmmsg_time64 */
 419    [ 418] = 5, /* mq_timedsend_time64 */
 420    [ 419] = 5, /* mq_timedreceive_time64 */
 421    [ 420] = 4, /* semtimedop_time64 */
 422    [ 421] = 4, /* rt_sigtimedwait_time64 */
 423    [ 422] = 6, /* futex_time64 */
 424    [ 423] = 2, /* sched_rr_get_interval_time64 */
 425    [ 424] = 4, /* pidfd_send_signal */
 426    [ 425] = 2, /* io_uring_setup */
 427    [ 426] = 6, /* io_uring_enter */
 428    [ 427] = 4, /* io_uring_register */
 429    [ 428] = 3, /* open_tree */
 430    [ 429] = 5, /* move_mount */
 431    [ 430] = 2, /* fsopen */
 432    [ 431] = 5, /* fsconfig */
 433    [ 432] = 3, /* fsmount */
 434    [ 433] = 3, /* fspick */
 435    [ 434] = 2, /* pidfd_open */
 436    [ 435] = 2, /* clone3 */
 437    [ 436] = 3, /* close_range */
 438    [ 437] = 4, /* openat2 */
 439    [ 438] = 3, /* pidfd_getfd */
 440    [ 439] = 4, /* faccessat2 */
 441    [ 440] = 5, /* process_madvise */
 442    [ 441] = 6, /* epoll_pwait2 */
 443    [ 442] = 5, /* mount_setattr */
 444