[BACK]Return to linux_syscallargs.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / compat / linux / arch / arm

Annotation of src/sys/compat/linux/arch/arm/linux_syscallargs.h, Revision 1.24.2.1

1.24.2.1! yamt        1: /* $NetBSD: linux_syscallargs.h,v 1.24 2005/05/16 21:18:19 fvdl Exp $ */
1.1       bjh21       2:
                      3: /*
                      4:  * System call argument lists.
                      5:  *
                      6:  * DO NOT EDIT-- this file is automatically generated.
1.24.2.1! yamt        7:  * created from        NetBSD: syscalls.master,v 1.24 2006/06/10 21:15:33 christos Exp
1.1       bjh21       8:  */
                      9:
1.24.2.1! yamt       10: #ifndef _LINUX_SYS_SYSCALLARGS_H_
        !            11: #define        _LINUX_SYS_SYSCALLARGS_H_
1.1       bjh21      12:
                     13: #ifdef syscallarg
                     14: #undef syscallarg
                     15: #endif
                     16:
                     17: #define        syscallarg(x)                                                   \
                     18:        union {                                                         \
                     19:                register_t pad;                                         \
                     20:                struct { x datum; } le;                                 \
                     21:                struct { /* LINTED zero array dimension */              \
                     22:                        int8_t pad[  /* CONSTCOND */                    \
                     23:                                (sizeof (register_t) < sizeof (x))      \
                     24:                                ? 0                                     \
                     25:                                : sizeof (register_t) - sizeof (x)];    \
                     26:                        x datum;                                        \
                     27:                } be;                                                   \
                     28:        }
                     29:
                     30: struct linux_sys_open_args {
                     31:        syscallarg(const char *) path;
                     32:        syscallarg(int) flags;
                     33:        syscallarg(int) mode;
                     34: };
                     35:
                     36: struct linux_sys_waitpid_args {
                     37:        syscallarg(int) pid;
                     38:        syscallarg(int *) status;
                     39:        syscallarg(int) options;
                     40: };
                     41:
                     42: struct linux_sys_creat_args {
                     43:        syscallarg(const char *) path;
                     44:        syscallarg(int) mode;
                     45: };
                     46:
                     47: struct linux_sys_link_args {
                     48:        syscallarg(const char *) path;
                     49:        syscallarg(const char *) link;
                     50: };
                     51:
                     52: struct linux_sys_unlink_args {
                     53:        syscallarg(const char *) path;
                     54: };
                     55:
                     56: struct linux_sys_execve_args {
                     57:        syscallarg(const char *) path;
                     58:        syscallarg(char **) argp;
                     59:        syscallarg(char **) envp;
                     60: };
                     61:
                     62: struct linux_sys_chdir_args {
                     63:        syscallarg(const char *) path;
                     64: };
                     65:
                     66: struct linux_sys_time_args {
                     67:        syscallarg(linux_time_t *) t;
                     68: };
                     69:
                     70: struct linux_sys_mknod_args {
                     71:        syscallarg(const char *) path;
                     72:        syscallarg(int) mode;
                     73:        syscallarg(int) dev;
                     74: };
                     75:
                     76: struct linux_sys_chmod_args {
                     77:        syscallarg(const char *) path;
                     78:        syscallarg(int) mode;
                     79: };
                     80:
                     81: struct linux_sys_lchown16_args {
                     82:        syscallarg(const char *) path;
                     83:        syscallarg(int) uid;
                     84:        syscallarg(int) gid;
                     85: };
                     86:
                     87: struct linux_sys_stime_args {
                     88:        syscallarg(linux_time_t *) t;
                     89: };
                     90:
                     91: struct linux_sys_ptrace_args {
                     92:        syscallarg(int) request;
                     93:        syscallarg(int) pid;
                     94:        syscallarg(int) addr;
                     95:        syscallarg(int) data;
                     96: };
                     97:
                     98: struct linux_sys_alarm_args {
                     99:        syscallarg(unsigned int) secs;
                    100: };
                    101:
                    102: struct linux_sys_utime_args {
                    103:        syscallarg(const char *) path;
                    104:        syscallarg(struct linux_utimbuf *) times;
                    105: };
                    106:
                    107: struct linux_sys_access_args {
                    108:        syscallarg(const char *) path;
                    109:        syscallarg(int) flags;
                    110: };
                    111:
                    112: struct linux_sys_nice_args {
                    113:        syscallarg(int) incr;
                    114: };
                    115:
                    116: struct linux_sys_kill_args {
                    117:        syscallarg(int) pid;
                    118:        syscallarg(int) signum;
                    119: };
                    120:
                    121: struct linux_sys_rename_args {
                    122:        syscallarg(const char *) from;
                    123:        syscallarg(const char *) to;
                    124: };
                    125:
                    126: struct linux_sys_mkdir_args {
                    127:        syscallarg(const char *) path;
                    128:        syscallarg(int) mode;
                    129: };
                    130:
                    131: struct linux_sys_rmdir_args {
                    132:        syscallarg(const char *) path;
                    133: };
                    134:
                    135: struct linux_sys_pipe_args {
                    136:        syscallarg(int *) pfds;
                    137: };
                    138:
                    139: struct linux_sys_times_args {
                    140:        syscallarg(struct times *) tms;
                    141: };
                    142:
                    143: struct linux_sys_brk_args {
                    144:        syscallarg(char *) nsize;
                    145: };
                    146:
                    147: struct linux_sys_signal_args {
                    148:        syscallarg(int) signum;
                    149:        syscallarg(linux_handler_t) handler;
                    150: };
                    151:
                    152: struct linux_sys_ioctl_args {
                    153:        syscallarg(int) fd;
                    154:        syscallarg(u_long) com;
                    155:        syscallarg(caddr_t) data;
                    156: };
                    157:
                    158: struct linux_sys_fcntl_args {
                    159:        syscallarg(int) fd;
                    160:        syscallarg(int) cmd;
                    161:        syscallarg(void *) arg;
                    162: };
                    163:
1.2       bjh21     164: struct linux_sys_oldolduname_args {
                    165:        syscallarg(struct linux_oldold_utsname *) up;
1.1       bjh21     166: };
                    167:
                    168: struct linux_sys_sigaction_args {
                    169:        syscallarg(int) signum;
                    170:        syscallarg(const struct linux_old_sigaction *) nsa;
                    171:        syscallarg(struct linux_old_sigaction *) osa;
                    172: };
                    173:
                    174: struct linux_sys_sigsetmask_args {
                    175:        syscallarg(linux_old_sigset_t) mask;
                    176: };
                    177:
                    178: struct linux_sys_sigsuspend_args {
                    179:        syscallarg(caddr_t) restart;
                    180:        syscallarg(int) oldmask;
                    181:        syscallarg(int) mask;
                    182: };
                    183:
                    184: struct linux_sys_sigpending_args {
                    185:        syscallarg(linux_old_sigset_t *) set;
                    186: };
                    187:
1.8       bjh21     188: struct linux_sys_setrlimit_args {
                    189:        syscallarg(u_int) which;
                    190:        syscallarg(struct orlimit *) rlp;
                    191: };
                    192:
                    193: struct linux_sys_getrlimit_args {
                    194:        syscallarg(u_int) which;
                    195:        syscallarg(struct orlimit *) rlp;
                    196: };
                    197:
1.1       bjh21     198: struct linux_sys_gettimeofday_args {
                    199:        syscallarg(struct timeval *) tp;
                    200:        syscallarg(struct timezone *) tzp;
                    201: };
                    202:
                    203: struct linux_sys_settimeofday_args {
                    204:        syscallarg(struct timeval *) tp;
                    205:        syscallarg(struct timezone *) tzp;
                    206: };
                    207:
                    208: struct linux_sys_oldselect_args {
                    209:        syscallarg(struct linux_oldselect *) lsp;
                    210: };
                    211:
                    212: struct linux_sys_symlink_args {
                    213:        syscallarg(const char *) path;
                    214:        syscallarg(const char *) to;
                    215: };
                    216:
                    217: struct linux_sys_readlink_args {
                    218:        syscallarg(const char *) name;
                    219:        syscallarg(char *) buf;
                    220:        syscallarg(int) count;
                    221: };
1.17      jdolecek  222: #ifdef EXEC_AOUT
1.1       bjh21     223:
                    224: struct linux_sys_uselib_args {
                    225:        syscallarg(const char *) path;
                    226: };
1.17      jdolecek  227: #else
                    228: #endif
1.1       bjh21     229:
                    230: struct linux_sys_swapon_args {
                    231:        syscallarg(char *) name;
                    232: };
                    233:
                    234: struct linux_sys_reboot_args {
                    235:        syscallarg(int) magic1;
                    236:        syscallarg(int) magic2;
                    237:        syscallarg(int) cmd;
                    238:        syscallarg(void *) arg;
                    239: };
                    240:
                    241: struct linux_sys_readdir_args {
                    242:        syscallarg(int) fd;
                    243:        syscallarg(caddr_t) dent;
                    244:        syscallarg(unsigned int) count;
                    245: };
                    246:
                    247: struct linux_sys_old_mmap_args {
                    248:        syscallarg(struct linux_oldmmap *) lmp;
                    249: };
                    250:
                    251: struct linux_sys_truncate_args {
                    252:        syscallarg(const char *) path;
                    253:        syscallarg(long) length;
                    254: };
                    255:
                    256: struct linux_sys_fchown16_args {
                    257:        syscallarg(int) fd;
                    258:        syscallarg(int) uid;
                    259:        syscallarg(int) gid;
                    260: };
                    261:
1.24.2.1! yamt      262: struct linux_sys_getpriority_args {
        !           263:        syscallarg(int) which;
        !           264:        syscallarg(int) who;
        !           265: };
        !           266:
1.1       bjh21     267: struct linux_sys_statfs_args {
                    268:        syscallarg(const char *) path;
                    269:        syscallarg(struct linux_statfs *) sp;
                    270: };
                    271:
                    272: struct linux_sys_fstatfs_args {
                    273:        syscallarg(int) fd;
                    274:        syscallarg(struct linux_statfs *) sp;
                    275: };
                    276:
                    277: struct linux_sys_socketcall_args {
                    278:        syscallarg(int) what;
                    279:        syscallarg(void *) args;
                    280: };
                    281:
                    282: struct linux_sys_stat_args {
                    283:        syscallarg(const char *) path;
                    284:        syscallarg(struct linux_stat *) sp;
                    285: };
                    286:
                    287: struct linux_sys_lstat_args {
                    288:        syscallarg(const char *) path;
                    289:        syscallarg(struct linux_stat *) sp;
                    290: };
                    291:
                    292: struct linux_sys_fstat_args {
                    293:        syscallarg(int) fd;
                    294:        syscallarg(struct linux_stat *) sp;
                    295: };
                    296:
1.2       bjh21     297: struct linux_sys_olduname_args {
                    298:        syscallarg(struct linux_oldutsname *) up;
1.1       bjh21     299: };
                    300:
                    301: struct linux_sys_wait4_args {
                    302:        syscallarg(int) pid;
                    303:        syscallarg(int *) status;
                    304:        syscallarg(int) options;
                    305:        syscallarg(struct rusage *) rusage;
                    306: };
                    307:
                    308: struct linux_sys_swapoff_args {
                    309:        syscallarg(const char *) path;
                    310: };
                    311:
                    312: struct linux_sys_sysinfo_args {
                    313:        syscallarg(struct linux_sysinfo *) arg;
                    314: };
                    315:
                    316: struct linux_sys_ipc_args {
                    317:        syscallarg(int) what;
                    318:        syscallarg(int) a1;
                    319:        syscallarg(int) a2;
                    320:        syscallarg(int) a3;
                    321:        syscallarg(caddr_t) ptr;
                    322: };
                    323:
                    324: struct linux_sys_sigreturn_args {
                    325:        syscallarg(struct linux_sigcontext *) scp;
                    326: };
                    327:
                    328: struct linux_sys_clone_args {
                    329:        syscallarg(int) flags;
                    330:        syscallarg(void *) stack;
                    331: };
                    332:
                    333: struct linux_sys_setdomainname_args {
                    334:        syscallarg(char *) domainname;
                    335:        syscallarg(int) len;
                    336: };
                    337:
1.2       bjh21     338: struct linux_sys_uname_args {
                    339:        syscallarg(struct linux_utsname *) up;
                    340: };
                    341:
1.9       christos  342: struct linux_sys_mprotect_args {
                    343:        syscallarg(const void *) start;
                    344:        syscallarg(unsigned long) len;
                    345:        syscallarg(int) prot;
                    346: };
                    347:
1.1       bjh21     348: struct linux_sys_sigprocmask_args {
                    349:        syscallarg(int) how;
                    350:        syscallarg(const linux_old_sigset_t *) set;
                    351:        syscallarg(linux_old_sigset_t *) oset;
                    352: };
                    353:
                    354: struct linux_sys_getpgid_args {
                    355:        syscallarg(int) pid;
                    356: };
                    357:
                    358: struct linux_sys_personality_args {
                    359:        syscallarg(int) per;
                    360: };
                    361:
                    362: struct linux_sys_setfsuid_args {
                    363:        syscallarg(uid_t) uid;
                    364: };
                    365:
                    366: struct linux_sys_llseek_args {
                    367:        syscallarg(int) fd;
                    368:        syscallarg(u_int32_t) ohigh;
                    369:        syscallarg(u_int32_t) olow;
                    370:        syscallarg(caddr_t) res;
                    371:        syscallarg(int) whence;
                    372: };
                    373:
                    374: struct linux_sys_getdents_args {
                    375:        syscallarg(int) fd;
                    376:        syscallarg(struct linux_dirent *) dent;
                    377:        syscallarg(unsigned int) count;
                    378: };
                    379:
                    380: struct linux_sys_select_args {
                    381:        syscallarg(int) nfds;
                    382:        syscallarg(fd_set *) readfds;
                    383:        syscallarg(fd_set *) writefds;
                    384:        syscallarg(fd_set *) exceptfds;
                    385:        syscallarg(struct timeval *) timeout;
                    386: };
                    387:
                    388: struct linux_sys_msync_args {
                    389:        syscallarg(caddr_t) addr;
                    390:        syscallarg(int) len;
                    391:        syscallarg(int) fl;
                    392: };
                    393:
                    394: struct linux_sys_fdatasync_args {
                    395:        syscallarg(int) fd;
                    396: };
                    397:
                    398: struct linux_sys___sysctl_args {
                    399:        syscallarg(struct linux___sysctl *) lsp;
                    400: };
                    401:
                    402: struct linux_sys_sched_setparam_args {
                    403:        syscallarg(pid_t) pid;
                    404:        syscallarg(const struct linux_sched_param *) sp;
                    405: };
                    406:
                    407: struct linux_sys_sched_getparam_args {
                    408:        syscallarg(pid_t) pid;
                    409:        syscallarg(struct linux_sched_param *) sp;
                    410: };
                    411:
                    412: struct linux_sys_sched_setscheduler_args {
                    413:        syscallarg(pid_t) pid;
                    414:        syscallarg(int) policy;
                    415:        syscallarg(const struct linux_sched_param *) sp;
                    416: };
                    417:
                    418: struct linux_sys_sched_getscheduler_args {
                    419:        syscallarg(pid_t) pid;
                    420: };
                    421:
                    422: struct linux_sys_sched_get_priority_max_args {
                    423:        syscallarg(int) policy;
                    424: };
                    425:
                    426: struct linux_sys_sched_get_priority_min_args {
                    427:        syscallarg(int) policy;
                    428: };
                    429:
                    430: struct linux_sys_mremap_args {
                    431:        syscallarg(void *) old_address;
                    432:        syscallarg(size_t) old_size;
                    433:        syscallarg(size_t) new_size;
                    434:        syscallarg(u_long) flags;
                    435: };
                    436:
                    437: struct linux_sys_setresuid_args {
                    438:        syscallarg(uid_t) ruid;
                    439:        syscallarg(uid_t) euid;
                    440:        syscallarg(uid_t) suid;
                    441: };
                    442:
                    443: struct linux_sys_getresuid_args {
                    444:        syscallarg(uid_t *) ruid;
                    445:        syscallarg(uid_t *) euid;
                    446:        syscallarg(uid_t *) suid;
                    447: };
                    448:
                    449: struct linux_sys_setresgid_args {
                    450:        syscallarg(gid_t) rgid;
                    451:        syscallarg(gid_t) egid;
                    452:        syscallarg(gid_t) sgid;
                    453: };
                    454:
                    455: struct linux_sys_getresgid_args {
                    456:        syscallarg(gid_t *) rgid;
                    457:        syscallarg(gid_t *) egid;
                    458:        syscallarg(gid_t *) sgid;
                    459: };
                    460:
                    461: struct linux_sys_rt_sigaction_args {
                    462:        syscallarg(int) signum;
                    463:        syscallarg(const struct linux_sigaction *) nsa;
                    464:        syscallarg(struct linux_sigaction *) osa;
                    465:        syscallarg(size_t) sigsetsize;
                    466: };
                    467:
                    468: struct linux_sys_rt_sigprocmask_args {
                    469:        syscallarg(int) how;
                    470:        syscallarg(const linux_sigset_t *) set;
                    471:        syscallarg(linux_sigset_t *) oset;
                    472:        syscallarg(size_t) sigsetsize;
                    473: };
                    474:
                    475: struct linux_sys_rt_sigpending_args {
                    476:        syscallarg(linux_sigset_t *) set;
                    477:        syscallarg(size_t) sigsetsize;
                    478: };
                    479:
                    480: struct linux_sys_rt_queueinfo_args {
                    481:        syscallarg(int) pid;
                    482:        syscallarg(int) signum;
                    483:        syscallarg(void *) uinfo;
                    484: };
                    485:
                    486: struct linux_sys_rt_sigsuspend_args {
                    487:        syscallarg(linux_sigset_t *) unewset;
                    488:        syscallarg(size_t) sigsetsize;
                    489: };
                    490:
                    491: struct linux_sys_pread_args {
                    492:        syscallarg(int) fd;
                    493:        syscallarg(char *) buf;
                    494:        syscallarg(size_t) nbyte;
                    495:        syscallarg(linux_off_t) offset;
                    496: };
                    497:
                    498: struct linux_sys_pwrite_args {
                    499:        syscallarg(int) fd;
                    500:        syscallarg(char *) buf;
                    501:        syscallarg(size_t) nbyte;
                    502:        syscallarg(linux_off_t) offset;
                    503: };
                    504:
                    505: struct linux_sys_chown16_args {
                    506:        syscallarg(const char *) path;
                    507:        syscallarg(int) uid;
                    508:        syscallarg(int) gid;
                    509: };
                    510:
                    511: struct linux_sys_sigaltstack_args {
                    512:        syscallarg(const struct linux_sigaltstack *) ss;
                    513:        syscallarg(struct linux_sigaltstack *) oss;
                    514: };
                    515:
1.8       bjh21     516: struct linux_sys_ugetrlimit_args {
                    517:        syscallarg(int) which;
                    518:        syscallarg(struct rlimit *) rlp;
                    519: };
                    520:
1.1       bjh21     521: struct linux_sys_truncate64_args {
                    522:        syscallarg(const char *) path;
                    523:        syscallarg(off_t) length;
                    524: };
                    525:
1.16      jdolecek  526: struct linux_sys_ftruncate64_args {
                    527:        syscallarg(unsigned int) fd;
                    528:        syscallarg(off_t) length;
                    529: };
                    530:
1.1       bjh21     531: struct linux_sys_stat64_args {
                    532:        syscallarg(const char *) path;
                    533:        syscallarg(struct linux_stat64 *) sp;
                    534: };
                    535:
                    536: struct linux_sys_lstat64_args {
                    537:        syscallarg(const char *) path;
                    538:        syscallarg(struct linux_stat64 *) sp;
                    539: };
                    540:
                    541: struct linux_sys_fstat64_args {
                    542:        syscallarg(int) fd;
                    543:        syscallarg(struct linux_stat64 *) sp;
                    544: };
                    545:
                    546: struct linux_sys_lchown_args {
                    547:        syscallarg(const char *) path;
                    548:        syscallarg(uid_t) uid;
                    549:        syscallarg(gid_t) gid;
                    550: };
                    551:
                    552: struct linux_sys_chown_args {
                    553:        syscallarg(const char *) path;
                    554:        syscallarg(uid_t) uid;
                    555:        syscallarg(gid_t) gid;
                    556: };
                    557:
1.10      christos  558: struct linux_sys_getdents64_args {
                    559:        syscallarg(int) fd;
                    560:        syscallarg(struct linux_dirent64 *) dent;
                    561:        syscallarg(unsigned int) count;
                    562: };
                    563:
1.11      jdolecek  564: struct linux_sys_fcntl64_args {
                    565:        syscallarg(int) fd;
                    566:        syscallarg(int) cmd;
                    567:        syscallarg(void *) arg;
                    568: };
                    569:
1.23      fvdl      570: struct linux_sys_setxattr_args {
                    571:        syscallarg(char *) path;
                    572:        syscallarg(char *) name;
                    573:        syscallarg(void *) value;
                    574:        syscallarg(size_t) size;
                    575:        syscallarg(int) flags;
                    576: };
                    577:
                    578: struct linux_sys_lsetxattr_args {
                    579:        syscallarg(char *) path;
                    580:        syscallarg(char *) name;
                    581:        syscallarg(void *) value;
                    582:        syscallarg(size_t) size;
                    583:        syscallarg(int) flags;
                    584: };
                    585:
                    586: struct linux_sys_fsetxattr_args {
                    587:        syscallarg(int) fd;
                    588:        syscallarg(char *) name;
                    589:        syscallarg(void *) value;
                    590:        syscallarg(size_t) size;
                    591:        syscallarg(int) flags;
                    592: };
                    593:
                    594: struct linux_sys_getxattr_args {
                    595:        syscallarg(char *) path;
                    596:        syscallarg(char *) name;
                    597:        syscallarg(void *) value;
                    598:        syscallarg(size_t) size;
                    599: };
                    600:
                    601: struct linux_sys_lgetxattr_args {
                    602:        syscallarg(char *) path;
                    603:        syscallarg(char *) name;
                    604:        syscallarg(void *) value;
                    605:        syscallarg(size_t) size;
                    606: };
                    607:
                    608: struct linux_sys_fgetxattr_args {
                    609:        syscallarg(int) fd;
                    610:        syscallarg(char *) name;
                    611:        syscallarg(void *) value;
                    612:        syscallarg(size_t) size;
                    613: };
                    614:
                    615: struct linux_sys_listxattr_args {
                    616:        syscallarg(char *) path;
                    617:        syscallarg(char *) list;
                    618:        syscallarg(size_t) size;
                    619: };
                    620:
                    621: struct linux_sys_llistxattr_args {
                    622:        syscallarg(char *) path;
                    623:        syscallarg(char *) list;
                    624:        syscallarg(size_t) size;
                    625: };
                    626:
                    627: struct linux_sys_flistxattr_args {
                    628:        syscallarg(int) fd;
                    629:        syscallarg(char *) list;
                    630:        syscallarg(size_t) size;
                    631: };
                    632:
                    633: struct linux_sys_removexattr_args {
                    634:        syscallarg(char *) path;
                    635:        syscallarg(char *) name;
                    636: };
                    637:
                    638: struct linux_sys_lremovexattr_args {
                    639:        syscallarg(char *) path;
                    640:        syscallarg(char *) name;
                    641: };
                    642:
                    643: struct linux_sys_fremovexattr_args {
                    644:        syscallarg(int) fd;
                    645:        syscallarg(char *) name;
                    646: };
                    647:
1.19      jdolecek  648: struct linux_sys_exit_group_args {
                    649:        syscallarg(int) error_code;
                    650: };
                    651:
1.24      fvdl      652: struct linux_sys_clock_settime_args {
                    653:        syscallarg(clockid_t) which;
                    654:        syscallarg(struct linux_timespec *) tp;
                    655: };
                    656:
                    657: struct linux_sys_clock_gettime_args {
                    658:        syscallarg(clockid_t) which;
                    659:        syscallarg(struct linux_timespec *) tp;
                    660: };
                    661:
                    662: struct linux_sys_clock_getres_args {
                    663:        syscallarg(clockid_t) which;
                    664:        syscallarg(struct linux_timespec *) tp;
                    665: };
                    666:
                    667: struct linux_sys_clock_nanosleep_args {
                    668:        syscallarg(clockid_t) which;
                    669:        syscallarg(int) flags;
                    670:        syscallarg(struct linux_timespec *) rqtp;
                    671:        syscallarg(struct linux_timespec *) rmtp;
                    672: };
                    673:
1.20      jdolecek  674: struct linux_sys_statfs64_args {
                    675:        syscallarg(const char *) path;
                    676:        syscallarg(size_t) sz;
                    677:        syscallarg(struct linux_statfs64 *) sp;
                    678: };
                    679:
                    680: struct linux_sys_fstatfs64_args {
                    681:        syscallarg(int) fd;
                    682:        syscallarg(size_t) sz;
                    683:        syscallarg(struct linux_statfs64 *) sp;
                    684: };
                    685:
1.3       bjh21     686: struct linux_sys_cacheflush_args {
                    687:        syscallarg(uintptr_t) from;
                    688:        syscallarg(intptr_t) to;
                    689: };
                    690:
1.1       bjh21     691: /*
                    692:  * System call prototypes.
                    693:  */
                    694:
1.12      thorpej   695: int    linux_sys_nosys(struct lwp *, void *, register_t *);
1.17      jdolecek  696:
1.12      thorpej   697: int    sys_exit(struct lwp *, void *, register_t *);
1.17      jdolecek  698:
1.12      thorpej   699: int    sys_fork(struct lwp *, void *, register_t *);
1.17      jdolecek  700:
1.12      thorpej   701: int    sys_read(struct lwp *, void *, register_t *);
1.17      jdolecek  702:
1.12      thorpej   703: int    sys_write(struct lwp *, void *, register_t *);
1.17      jdolecek  704:
1.12      thorpej   705: int    linux_sys_open(struct lwp *, void *, register_t *);
1.17      jdolecek  706:
1.12      thorpej   707: int    sys_close(struct lwp *, void *, register_t *);
1.17      jdolecek  708:
1.12      thorpej   709: int    linux_sys_waitpid(struct lwp *, void *, register_t *);
1.17      jdolecek  710:
1.12      thorpej   711: int    linux_sys_creat(struct lwp *, void *, register_t *);
1.17      jdolecek  712:
1.12      thorpej   713: int    linux_sys_link(struct lwp *, void *, register_t *);
1.17      jdolecek  714:
1.12      thorpej   715: int    linux_sys_unlink(struct lwp *, void *, register_t *);
1.17      jdolecek  716:
1.12      thorpej   717: int    linux_sys_execve(struct lwp *, void *, register_t *);
1.17      jdolecek  718:
1.12      thorpej   719: int    linux_sys_chdir(struct lwp *, void *, register_t *);
1.17      jdolecek  720:
1.12      thorpej   721: int    linux_sys_time(struct lwp *, void *, register_t *);
1.17      jdolecek  722:
1.12      thorpej   723: int    linux_sys_mknod(struct lwp *, void *, register_t *);
1.17      jdolecek  724:
1.12      thorpej   725: int    linux_sys_chmod(struct lwp *, void *, register_t *);
1.17      jdolecek  726:
1.12      thorpej   727: int    linux_sys_lchown16(struct lwp *, void *, register_t *);
1.17      jdolecek  728:
1.12      thorpej   729: int    compat_43_sys_lseek(struct lwp *, void *, register_t *);
1.17      jdolecek  730:
1.12      thorpej   731: int    sys_getpid(struct lwp *, void *, register_t *);
1.17      jdolecek  732:
1.12      thorpej   733: int    sys_setuid(struct lwp *, void *, register_t *);
1.17      jdolecek  734:
1.12      thorpej   735: int    sys_getuid(struct lwp *, void *, register_t *);
1.17      jdolecek  736:
1.12      thorpej   737: int    linux_sys_stime(struct lwp *, void *, register_t *);
1.17      jdolecek  738:
1.12      thorpej   739: int    linux_sys_ptrace(struct lwp *, void *, register_t *);
1.17      jdolecek  740:
1.12      thorpej   741: int    linux_sys_alarm(struct lwp *, void *, register_t *);
1.17      jdolecek  742:
1.12      thorpej   743: int    linux_sys_pause(struct lwp *, void *, register_t *);
1.17      jdolecek  744:
1.12      thorpej   745: int    linux_sys_utime(struct lwp *, void *, register_t *);
1.17      jdolecek  746:
1.12      thorpej   747: int    linux_sys_access(struct lwp *, void *, register_t *);
1.17      jdolecek  748:
1.12      thorpej   749: int    linux_sys_nice(struct lwp *, void *, register_t *);
1.17      jdolecek  750:
1.12      thorpej   751: int    sys_sync(struct lwp *, void *, register_t *);
1.17      jdolecek  752:
1.12      thorpej   753: int    linux_sys_kill(struct lwp *, void *, register_t *);
1.17      jdolecek  754:
1.12      thorpej   755: int    linux_sys_rename(struct lwp *, void *, register_t *);
1.17      jdolecek  756:
1.12      thorpej   757: int    linux_sys_mkdir(struct lwp *, void *, register_t *);
1.17      jdolecek  758:
1.12      thorpej   759: int    linux_sys_rmdir(struct lwp *, void *, register_t *);
1.17      jdolecek  760:
1.12      thorpej   761: int    sys_dup(struct lwp *, void *, register_t *);
1.17      jdolecek  762:
1.12      thorpej   763: int    linux_sys_pipe(struct lwp *, void *, register_t *);
1.17      jdolecek  764:
1.12      thorpej   765: int    linux_sys_times(struct lwp *, void *, register_t *);
1.17      jdolecek  766:
1.12      thorpej   767: int    linux_sys_brk(struct lwp *, void *, register_t *);
1.17      jdolecek  768:
1.12      thorpej   769: int    sys_setgid(struct lwp *, void *, register_t *);
1.17      jdolecek  770:
1.12      thorpej   771: int    sys_getgid(struct lwp *, void *, register_t *);
1.17      jdolecek  772:
1.12      thorpej   773: int    linux_sys_signal(struct lwp *, void *, register_t *);
1.17      jdolecek  774:
1.12      thorpej   775: int    sys_geteuid(struct lwp *, void *, register_t *);
1.17      jdolecek  776:
1.12      thorpej   777: int    sys_getegid(struct lwp *, void *, register_t *);
1.17      jdolecek  778:
1.12      thorpej   779: int    sys_acct(struct lwp *, void *, register_t *);
1.17      jdolecek  780:
1.12      thorpej   781: int    linux_sys_ioctl(struct lwp *, void *, register_t *);
1.17      jdolecek  782:
1.12      thorpej   783: int    linux_sys_fcntl(struct lwp *, void *, register_t *);
1.17      jdolecek  784:
1.12      thorpej   785: int    sys_setpgid(struct lwp *, void *, register_t *);
1.17      jdolecek  786:
1.12      thorpej   787: int    linux_sys_oldolduname(struct lwp *, void *, register_t *);
1.17      jdolecek  788:
1.12      thorpej   789: int    sys_umask(struct lwp *, void *, register_t *);
1.17      jdolecek  790:
1.12      thorpej   791: int    sys_chroot(struct lwp *, void *, register_t *);
1.17      jdolecek  792:
1.12      thorpej   793: int    sys_dup2(struct lwp *, void *, register_t *);
1.17      jdolecek  794:
1.12      thorpej   795: int    sys_getppid(struct lwp *, void *, register_t *);
1.17      jdolecek  796:
1.12      thorpej   797: int    sys_getpgrp(struct lwp *, void *, register_t *);
1.17      jdolecek  798:
1.12      thorpej   799: int    sys_setsid(struct lwp *, void *, register_t *);
1.17      jdolecek  800:
1.12      thorpej   801: int    linux_sys_sigaction(struct lwp *, void *, register_t *);
1.17      jdolecek  802:
1.12      thorpej   803: int    linux_sys_siggetmask(struct lwp *, void *, register_t *);
1.17      jdolecek  804:
1.12      thorpej   805: int    linux_sys_sigsetmask(struct lwp *, void *, register_t *);
1.17      jdolecek  806:
1.12      thorpej   807: int    sys_setreuid(struct lwp *, void *, register_t *);
1.17      jdolecek  808:
1.12      thorpej   809: int    sys_setregid(struct lwp *, void *, register_t *);
1.17      jdolecek  810:
1.12      thorpej   811: int    linux_sys_sigsuspend(struct lwp *, void *, register_t *);
1.17      jdolecek  812:
1.12      thorpej   813: int    linux_sys_sigpending(struct lwp *, void *, register_t *);
1.17      jdolecek  814:
1.12      thorpej   815: int    compat_43_sys_sethostname(struct lwp *, void *, register_t *);
1.17      jdolecek  816:
1.12      thorpej   817: int    linux_sys_setrlimit(struct lwp *, void *, register_t *);
1.17      jdolecek  818:
1.12      thorpej   819: int    linux_sys_getrlimit(struct lwp *, void *, register_t *);
1.17      jdolecek  820:
1.12      thorpej   821: int    sys_getrusage(struct lwp *, void *, register_t *);
1.17      jdolecek  822:
1.12      thorpej   823: int    linux_sys_gettimeofday(struct lwp *, void *, register_t *);
1.17      jdolecek  824:
1.12      thorpej   825: int    linux_sys_settimeofday(struct lwp *, void *, register_t *);
1.17      jdolecek  826:
1.12      thorpej   827: int    sys_getgroups(struct lwp *, void *, register_t *);
1.17      jdolecek  828:
1.12      thorpej   829: int    sys_setgroups(struct lwp *, void *, register_t *);
1.17      jdolecek  830:
1.12      thorpej   831: int    linux_sys_oldselect(struct lwp *, void *, register_t *);
1.17      jdolecek  832:
1.12      thorpej   833: int    linux_sys_symlink(struct lwp *, void *, register_t *);
1.17      jdolecek  834:
1.12      thorpej   835: int    compat_43_sys_lstat(struct lwp *, void *, register_t *);
1.17      jdolecek  836:
1.12      thorpej   837: int    linux_sys_readlink(struct lwp *, void *, register_t *);
1.17      jdolecek  838:
1.1       bjh21     839: #ifdef EXEC_AOUT
1.12      thorpej   840: int    linux_sys_uselib(struct lwp *, void *, register_t *);
1.17      jdolecek  841:
1.1       bjh21     842: #else
                    843: #endif
1.12      thorpej   844: int    linux_sys_swapon(struct lwp *, void *, register_t *);
1.17      jdolecek  845:
1.12      thorpej   846: int    linux_sys_reboot(struct lwp *, void *, register_t *);
1.17      jdolecek  847:
1.12      thorpej   848: int    linux_sys_readdir(struct lwp *, void *, register_t *);
1.17      jdolecek  849:
1.12      thorpej   850: int    linux_sys_old_mmap(struct lwp *, void *, register_t *);
1.17      jdolecek  851:
1.12      thorpej   852: int    sys_munmap(struct lwp *, void *, register_t *);
1.17      jdolecek  853:
1.12      thorpej   854: int    linux_sys_truncate(struct lwp *, void *, register_t *);
1.17      jdolecek  855:
1.12      thorpej   856: int    compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
1.17      jdolecek  857:
1.12      thorpej   858: int    sys_fchmod(struct lwp *, void *, register_t *);
1.17      jdolecek  859:
1.12      thorpej   860: int    linux_sys_fchown16(struct lwp *, void *, register_t *);
1.17      jdolecek  861:
1.24.2.1! yamt      862: int    linux_sys_getpriority(struct lwp *, void *, register_t *);
1.17      jdolecek  863:
1.12      thorpej   864: int    sys_setpriority(struct lwp *, void *, register_t *);
1.17      jdolecek  865:
1.12      thorpej   866: int    sys_profil(struct lwp *, void *, register_t *);
1.17      jdolecek  867:
1.12      thorpej   868: int    linux_sys_statfs(struct lwp *, void *, register_t *);
1.17      jdolecek  869:
1.12      thorpej   870: int    linux_sys_fstatfs(struct lwp *, void *, register_t *);
1.17      jdolecek  871:
1.12      thorpej   872: int    linux_sys_socketcall(struct lwp *, void *, register_t *);
1.17      jdolecek  873:
1.12      thorpej   874: int    sys_setitimer(struct lwp *, void *, register_t *);
1.17      jdolecek  875:
1.12      thorpej   876: int    sys_getitimer(struct lwp *, void *, register_t *);
1.17      jdolecek  877:
1.12      thorpej   878: int    linux_sys_stat(struct lwp *, void *, register_t *);
1.17      jdolecek  879:
1.12      thorpej   880: int    linux_sys_lstat(struct lwp *, void *, register_t *);
1.17      jdolecek  881:
1.12      thorpej   882: int    linux_sys_fstat(struct lwp *, void *, register_t *);
1.17      jdolecek  883:
1.12      thorpej   884: int    linux_sys_olduname(struct lwp *, void *, register_t *);
1.17      jdolecek  885:
1.12      thorpej   886: int    linux_sys_wait4(struct lwp *, void *, register_t *);
1.17      jdolecek  887:
1.12      thorpej   888: int    linux_sys_swapoff(struct lwp *, void *, register_t *);
1.17      jdolecek  889:
1.12      thorpej   890: int    linux_sys_sysinfo(struct lwp *, void *, register_t *);
1.17      jdolecek  891:
1.12      thorpej   892: int    linux_sys_ipc(struct lwp *, void *, register_t *);
1.17      jdolecek  893:
1.12      thorpej   894: int    sys_fsync(struct lwp *, void *, register_t *);
1.17      jdolecek  895:
1.12      thorpej   896: int    linux_sys_sigreturn(struct lwp *, void *, register_t *);
1.17      jdolecek  897:
1.12      thorpej   898: int    linux_sys_clone(struct lwp *, void *, register_t *);
1.17      jdolecek  899:
1.12      thorpej   900: int    linux_sys_setdomainname(struct lwp *, void *, register_t *);
1.17      jdolecek  901:
1.12      thorpej   902: int    linux_sys_uname(struct lwp *, void *, register_t *);
1.17      jdolecek  903:
1.12      thorpej   904: int    linux_sys_mprotect(struct lwp *, void *, register_t *);
1.17      jdolecek  905:
1.12      thorpej   906: int    linux_sys_sigprocmask(struct lwp *, void *, register_t *);
1.17      jdolecek  907:
1.12      thorpej   908: int    linux_sys_getpgid(struct lwp *, void *, register_t *);
1.17      jdolecek  909:
1.12      thorpej   910: int    sys_fchdir(struct lwp *, void *, register_t *);
1.17      jdolecek  911:
1.12      thorpej   912: int    linux_sys_personality(struct lwp *, void *, register_t *);
1.17      jdolecek  913:
1.12      thorpej   914: int    linux_sys_setfsuid(struct lwp *, void *, register_t *);
1.17      jdolecek  915:
1.12      thorpej   916: int    linux_sys_getfsuid(struct lwp *, void *, register_t *);
1.17      jdolecek  917:
1.12      thorpej   918: int    linux_sys_llseek(struct lwp *, void *, register_t *);
1.17      jdolecek  919:
1.12      thorpej   920: int    linux_sys_getdents(struct lwp *, void *, register_t *);
1.17      jdolecek  921:
1.12      thorpej   922: int    linux_sys_select(struct lwp *, void *, register_t *);
1.17      jdolecek  923:
1.12      thorpej   924: int    sys_flock(struct lwp *, void *, register_t *);
1.17      jdolecek  925:
1.12      thorpej   926: int    linux_sys_msync(struct lwp *, void *, register_t *);
1.17      jdolecek  927:
1.12      thorpej   928: int    sys_readv(struct lwp *, void *, register_t *);
1.17      jdolecek  929:
1.12      thorpej   930: int    sys_writev(struct lwp *, void *, register_t *);
1.17      jdolecek  931:
1.12      thorpej   932: int    sys_getsid(struct lwp *, void *, register_t *);
1.17      jdolecek  933:
1.12      thorpej   934: int    linux_sys_fdatasync(struct lwp *, void *, register_t *);
1.17      jdolecek  935:
1.12      thorpej   936: int    linux_sys___sysctl(struct lwp *, void *, register_t *);
1.17      jdolecek  937:
1.12      thorpej   938: int    sys_mlock(struct lwp *, void *, register_t *);
1.17      jdolecek  939:
1.12      thorpej   940: int    sys_munlock(struct lwp *, void *, register_t *);
1.17      jdolecek  941:
1.12      thorpej   942: int    sys_mlockall(struct lwp *, void *, register_t *);
1.17      jdolecek  943:
1.12      thorpej   944: int    sys_munlockall(struct lwp *, void *, register_t *);
1.17      jdolecek  945:
1.12      thorpej   946: int    linux_sys_sched_setparam(struct lwp *, void *, register_t *);
1.17      jdolecek  947:
1.12      thorpej   948: int    linux_sys_sched_getparam(struct lwp *, void *, register_t *);
1.17      jdolecek  949:
1.12      thorpej   950: int    linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
1.17      jdolecek  951:
1.12      thorpej   952: int    linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
1.17      jdolecek  953:
1.12      thorpej   954: int    linux_sys_sched_yield(struct lwp *, void *, register_t *);
1.17      jdolecek  955:
1.12      thorpej   956: int    linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
1.17      jdolecek  957:
1.12      thorpej   958: int    linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
1.17      jdolecek  959:
1.12      thorpej   960: int    sys_nanosleep(struct lwp *, void *, register_t *);
1.17      jdolecek  961:
1.12      thorpej   962: int    linux_sys_mremap(struct lwp *, void *, register_t *);
1.17      jdolecek  963:
1.12      thorpej   964: int    linux_sys_setresuid(struct lwp *, void *, register_t *);
1.17      jdolecek  965:
1.12      thorpej   966: int    linux_sys_getresuid(struct lwp *, void *, register_t *);
1.17      jdolecek  967:
1.12      thorpej   968: int    sys_poll(struct lwp *, void *, register_t *);
1.17      jdolecek  969:
1.12      thorpej   970: int    linux_sys_setresgid(struct lwp *, void *, register_t *);
1.17      jdolecek  971:
1.12      thorpej   972: int    linux_sys_getresgid(struct lwp *, void *, register_t *);
1.17      jdolecek  973:
1.12      thorpej   974: int    linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
1.17      jdolecek  975:
1.12      thorpej   976: int    linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
1.17      jdolecek  977:
1.12      thorpej   978: int    linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
1.17      jdolecek  979:
1.12      thorpej   980: int    linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
1.17      jdolecek  981:
1.12      thorpej   982: int    linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
1.17      jdolecek  983:
1.12      thorpej   984: int    linux_sys_pread(struct lwp *, void *, register_t *);
1.17      jdolecek  985:
1.12      thorpej   986: int    linux_sys_pwrite(struct lwp *, void *, register_t *);
1.17      jdolecek  987:
1.12      thorpej   988: int    linux_sys_chown16(struct lwp *, void *, register_t *);
1.17      jdolecek  989:
1.12      thorpej   990: int    sys___getcwd(struct lwp *, void *, register_t *);
1.17      jdolecek  991:
1.12      thorpej   992: int    linux_sys_sigaltstack(struct lwp *, void *, register_t *);
1.17      jdolecek  993:
1.12      thorpej   994: int    sys___vfork14(struct lwp *, void *, register_t *);
1.17      jdolecek  995:
1.12      thorpej   996: int    linux_sys_ugetrlimit(struct lwp *, void *, register_t *);
1.17      jdolecek  997:
1.14      christos  998: int    linux_sys_mmap2(struct lwp *, void *, register_t *);
1.17      jdolecek  999:
1.12      thorpej  1000: int    linux_sys_truncate64(struct lwp *, void *, register_t *);
1.17      jdolecek 1001:
1.16      jdolecek 1002: int    linux_sys_ftruncate64(struct lwp *, void *, register_t *);
1.17      jdolecek 1003:
1.12      thorpej  1004: int    linux_sys_stat64(struct lwp *, void *, register_t *);
1.17      jdolecek 1005:
1.12      thorpej  1006: int    linux_sys_lstat64(struct lwp *, void *, register_t *);
1.17      jdolecek 1007:
1.12      thorpej  1008: int    linux_sys_fstat64(struct lwp *, void *, register_t *);
1.17      jdolecek 1009:
1.12      thorpej  1010: int    linux_sys_lchown(struct lwp *, void *, register_t *);
1.17      jdolecek 1011:
1.12      thorpej  1012: int    sys___posix_fchown(struct lwp *, void *, register_t *);
1.17      jdolecek 1013:
1.12      thorpej  1014: int    linux_sys_chown(struct lwp *, void *, register_t *);
1.17      jdolecek 1015:
1.12      thorpej  1016: int    linux_sys_getdents64(struct lwp *, void *, register_t *);
1.17      jdolecek 1017:
                   1018: int    sys_mincore(struct lwp *, void *, register_t *);
                   1019:
                   1020: int    sys_madvise(struct lwp *, void *, register_t *);
                   1021:
1.12      thorpej  1022: int    linux_sys_fcntl64(struct lwp *, void *, register_t *);
1.17      jdolecek 1023:
1.23      fvdl     1024: int    linux_sys_setxattr(struct lwp *, void *, register_t *);
                   1025:
                   1026: int    linux_sys_lsetxattr(struct lwp *, void *, register_t *);
                   1027:
                   1028: int    linux_sys_fsetxattr(struct lwp *, void *, register_t *);
                   1029:
                   1030: int    linux_sys_getxattr(struct lwp *, void *, register_t *);
                   1031:
                   1032: int    linux_sys_lgetxattr(struct lwp *, void *, register_t *);
                   1033:
                   1034: int    linux_sys_fgetxattr(struct lwp *, void *, register_t *);
                   1035:
                   1036: int    linux_sys_listxattr(struct lwp *, void *, register_t *);
                   1037:
                   1038: int    linux_sys_llistxattr(struct lwp *, void *, register_t *);
                   1039:
                   1040: int    linux_sys_flistxattr(struct lwp *, void *, register_t *);
                   1041:
                   1042: int    linux_sys_removexattr(struct lwp *, void *, register_t *);
                   1043:
                   1044: int    linux_sys_lremovexattr(struct lwp *, void *, register_t *);
                   1045:
                   1046: int    linux_sys_fremovexattr(struct lwp *, void *, register_t *);
                   1047:
1.19      jdolecek 1048: int    linux_sys_exit_group(struct lwp *, void *, register_t *);
                   1049:
1.24      fvdl     1050: int    linux_sys_clock_settime(struct lwp *, void *, register_t *);
                   1051:
                   1052: int    linux_sys_clock_gettime(struct lwp *, void *, register_t *);
                   1053:
                   1054: int    linux_sys_clock_getres(struct lwp *, void *, register_t *);
                   1055:
                   1056: int    linux_sys_clock_nanosleep(struct lwp *, void *, register_t *);
                   1057:
1.20      jdolecek 1058: int    linux_sys_statfs64(struct lwp *, void *, register_t *);
                   1059:
                   1060: int    linux_sys_fstatfs64(struct lwp *, void *, register_t *);
                   1061:
1.12      thorpej  1062: int    linux_sys_breakpoint(struct lwp *, void *, register_t *);
1.17      jdolecek 1063:
1.12      thorpej  1064: int    linux_sys_cacheflush(struct lwp *, void *, register_t *);
1.17      jdolecek 1065:
1.24.2.1! yamt     1066: #endif /* _LINUX_SYS_SYSCALLARGS_H_ */

CVSweb <webmaster@jp.NetBSD.org>