[BACK]Return to ultrix_syscallargs.h CVS log [TXT][DIR] Up to [local] / sys / compat / ultrix

Annotation of sys/compat/ultrix/ultrix_syscallargs.h, Revision 1.1.1.1

1.1       nbrk        1: /*     $OpenBSD: ultrix_syscallargs.h,v 1.14 2004/07/09 23:56:46 millert Exp $ */
                      2:
                      3: /*
                      4:  * System call argument lists.
                      5:  *
                      6:  * DO NOT EDIT-- this file is automatically generated.
                      7:  * created from        OpenBSD: syscalls.master,v 1.11 2004/07/09 23:52:02 millert Exp
                      8:  */
                      9:
                     10: #ifdef syscallarg
                     11: #undef syscallarg
                     12: #endif
                     13:
                     14: #define        syscallarg(x)                                                   \
                     15:        union {                                                         \
                     16:                register_t pad;                                         \
                     17:                struct { x datum; } le;                                 \
                     18:                struct {                                                \
                     19:                        int8_t pad[ (sizeof (register_t) < sizeof (x))  \
                     20:                                ? 0                                     \
                     21:                                : sizeof (register_t) - sizeof (x)];    \
                     22:                        x datum;                                        \
                     23:                } be;                                                   \
                     24:        }
                     25:
                     26: struct ultrix_sys_open_args {
                     27:        syscallarg(char *) path;
                     28:        syscallarg(int) flags;
                     29:        syscallarg(int) mode;
                     30: };
                     31:
                     32: struct ultrix_sys_creat_args {
                     33:        syscallarg(char *) path;
                     34:        syscallarg(int) mode;
                     35: };
                     36:
                     37: struct ultrix_sys_execv_args {
                     38:        syscallarg(char *) path;
                     39:        syscallarg(char **) argp;
                     40: };
                     41:
                     42: struct ultrix_sys_mknod_args {
                     43:        syscallarg(char *) path;
                     44:        syscallarg(int) mode;
                     45:        syscallarg(int) dev;
                     46: };
                     47:
                     48: struct ultrix_sys_mount_args {
                     49:        syscallarg(char *) special;
                     50:        syscallarg(char *) dir;
                     51:        syscallarg(int) rdonly;
                     52:        syscallarg(int) type;
                     53:        syscallarg(caddr_t) data;
                     54: };
                     55:
                     56: struct ultrix_sys_access_args {
                     57:        syscallarg(char *) path;
                     58:        syscallarg(int) flags;
                     59: };
                     60:
                     61: struct ultrix_sys_stat_args {
                     62:        syscallarg(char *) path;
                     63:        syscallarg(struct stat43 *) ub;
                     64: };
                     65:
                     66: struct ultrix_sys_lstat_args {
                     67:        syscallarg(char *) path;
                     68:        syscallarg(struct stat43 *) ub;
                     69: };
                     70:
                     71: struct ultrix_sys_ioctl_args {
                     72:        syscallarg(int) fd;
                     73:        syscallarg(u_long) com;
                     74:        syscallarg(caddr_t) data;
                     75: };
                     76:
                     77: struct ultrix_sys_execve_args {
                     78:        syscallarg(char *) path;
                     79:        syscallarg(char **) argp;
                     80:        syscallarg(char **) envp;
                     81: };
                     82:
                     83: struct ultrix_sys_mmap_args {
                     84:        syscallarg(caddr_t) addr;
                     85:        syscallarg(size_t) len;
                     86:        syscallarg(int) prot;
                     87:        syscallarg(u_int) flags;
                     88:        syscallarg(int) fd;
                     89:        syscallarg(long) pos;
                     90: };
                     91:
                     92: struct ultrix_sys_setpgrp_args {
                     93:        syscallarg(int) pid;
                     94:        syscallarg(int) pgid;
                     95: };
                     96:
                     97: struct ultrix_sys_wait3_args {
                     98:        syscallarg(int *) status;
                     99:        syscallarg(int) options;
                    100:        syscallarg(struct rusage *) rusage;
                    101: };
                    102:
                    103: struct ultrix_sys_select_args {
                    104:        syscallarg(u_int) nd;
                    105:        syscallarg(fd_set *) in;
                    106:        syscallarg(fd_set *) ou;
                    107:        syscallarg(fd_set *) ex;
                    108:        syscallarg(struct timeval *) tv;
                    109: };
                    110:
                    111: struct ultrix_sys_setsockopt_args {
                    112:        syscallarg(int) s;
                    113:        syscallarg(int) level;
                    114:        syscallarg(int) name;
                    115:        syscallarg(caddr_t) val;
                    116:        syscallarg(int) valsize;
                    117: };
                    118:
                    119: struct ultrix_sys_sigcleanup_args {
                    120:        syscallarg(struct sigcontext *) sigcntxp;
                    121: };
                    122:
                    123: struct ultrix_sys_nfssvc_args {
                    124:        syscallarg(int) fd;
                    125: };
                    126:
                    127: struct ultrix_sys_statfs_args {
                    128:        syscallarg(char *) path;
                    129:        syscallarg(struct ultrix_statfs *) buf;
                    130: };
                    131:
                    132: struct ultrix_sys_fstatfs_args {
                    133:        syscallarg(int) fd;
                    134:        syscallarg(struct ultrix_statfs *) buf;
                    135: };
                    136:
                    137: struct ultrix_sys_quotactl_args {
                    138:        syscallarg(int) cmd;
                    139:        syscallarg(char *) special;
                    140:        syscallarg(int) uid;
                    141:        syscallarg(caddr_t) addr;
                    142: };
                    143:
                    144: struct ultrix_sys_exportfs_args {
                    145:        syscallarg(char *) path;
                    146:        syscallarg(char *) ex;
                    147: };
                    148:
                    149: struct ultrix_sys_uname_args {
                    150:        syscallarg(struct ultrix_utsname *) name;
                    151: };
                    152:
                    153: struct ultrix_sys_ustat_args {
                    154:        syscallarg(int) dev;
                    155:        syscallarg(struct ultrix_ustat *) buf;
                    156: };
                    157:
                    158: struct ultrix_sys_getmnt_args {
                    159:        syscallarg(int *) start;
                    160:        syscallarg(struct ultrix_fs_data *) buf;
                    161:        syscallarg(int) bufsize;
                    162:        syscallarg(int) mode;
                    163:        syscallarg(char *) path;
                    164: };
                    165:
                    166: struct ultrix_sys_sigpending_args {
                    167:        syscallarg(int *) mask;
                    168: };
                    169:
                    170: struct ultrix_sys_waitpid_args {
                    171:        syscallarg(int) pid;
                    172:        syscallarg(int *) status;
                    173:        syscallarg(int) options;
                    174: };
                    175:
                    176: struct ultrix_sys_getsysinfo_args {
                    177:        syscallarg(unsigned) op;
                    178:        syscallarg(char *) buffer;
                    179:        syscallarg(unsigned) nbytes;
                    180:        syscallarg(int *) start;
                    181:        syscallarg(char *) arg;
                    182: };
                    183:
                    184: struct ultrix_sys_setsysinfo_args {
                    185:        syscallarg(unsigned) op;
                    186:        syscallarg(char *) buffer;
                    187:        syscallarg(unsigned) nbytes;
                    188:        syscallarg(unsigned) arg;
                    189:        syscallarg(unsigned) flag;
                    190: };
                    191:
                    192: /*
                    193:  * System call prototypes.
                    194:  */
                    195:
                    196: int    sys_nosys(struct proc *, void *, register_t *);
                    197: int    sys_exit(struct proc *, void *, register_t *);
                    198: int    sys_fork(struct proc *, void *, register_t *);
                    199: int    sys_read(struct proc *, void *, register_t *);
                    200: int    sys_write(struct proc *, void *, register_t *);
                    201: int    ultrix_sys_open(struct proc *, void *, register_t *);
                    202: int    sys_close(struct proc *, void *, register_t *);
                    203: int    compat_43_sys_wait(struct proc *, void *, register_t *);
                    204: int    ultrix_sys_creat(struct proc *, void *, register_t *);
                    205: int    sys_link(struct proc *, void *, register_t *);
                    206: int    sys_unlink(struct proc *, void *, register_t *);
                    207: int    ultrix_sys_execv(struct proc *, void *, register_t *);
                    208: int    sys_chdir(struct proc *, void *, register_t *);
                    209: int    ultrix_sys_mknod(struct proc *, void *, register_t *);
                    210: int    sys_chmod(struct proc *, void *, register_t *);
                    211: int    sys_lchown(struct proc *, void *, register_t *);
                    212: int    sys_obreak(struct proc *, void *, register_t *);
                    213: int    compat_43_sys_lseek(struct proc *, void *, register_t *);
                    214: int    sys_getpid(struct proc *, void *, register_t *);
                    215: int    ultrix_sys_mount(struct proc *, void *, register_t *);
                    216: int    sys_setuid(struct proc *, void *, register_t *);
                    217: int    sys_getuid(struct proc *, void *, register_t *);
                    218: int    ultrix_sys_access(struct proc *, void *, register_t *);
                    219: int    sys_sync(struct proc *, void *, register_t *);
                    220: int    sys_kill(struct proc *, void *, register_t *);
                    221: int    ultrix_sys_stat(struct proc *, void *, register_t *);
                    222: int    ultrix_sys_lstat(struct proc *, void *, register_t *);
                    223: int    sys_dup(struct proc *, void *, register_t *);
                    224: int    sys_opipe(struct proc *, void *, register_t *);
                    225: int    sys_profil(struct proc *, void *, register_t *);
                    226: int    sys_getgid(struct proc *, void *, register_t *);
                    227: #ifdef ACCOUNTING
                    228: int    sys_acct(struct proc *, void *, register_t *);
                    229: #else
                    230: #endif
                    231: int    ultrix_sys_ioctl(struct proc *, void *, register_t *);
                    232: int    sys_reboot(struct proc *, void *, register_t *);
                    233: int    sys_symlink(struct proc *, void *, register_t *);
                    234: int    sys_readlink(struct proc *, void *, register_t *);
                    235: int    ultrix_sys_execve(struct proc *, void *, register_t *);
                    236: int    sys_umask(struct proc *, void *, register_t *);
                    237: int    sys_chroot(struct proc *, void *, register_t *);
                    238: int    compat_43_sys_fstat(struct proc *, void *, register_t *);
                    239: int    compat_43_sys_getpagesize(struct proc *, void *, register_t *);
                    240: int    sys_vfork(struct proc *, void *, register_t *);
                    241: int    sys_sbrk(struct proc *, void *, register_t *);
                    242: int    sys_sstk(struct proc *, void *, register_t *);
                    243: int    ultrix_sys_mmap(struct proc *, void *, register_t *);
                    244: int    sys_ovadvise(struct proc *, void *, register_t *);
                    245: int    sys_munmap(struct proc *, void *, register_t *);
                    246: int    sys_mprotect(struct proc *, void *, register_t *);
                    247: int    sys_madvise(struct proc *, void *, register_t *);
                    248: int    ultrix_sys_vhangup(struct proc *, void *, register_t *);
                    249: int    sys_mincore(struct proc *, void *, register_t *);
                    250: int    sys_getgroups(struct proc *, void *, register_t *);
                    251: int    sys_setgroups(struct proc *, void *, register_t *);
                    252: int    sys_getpgrp(struct proc *, void *, register_t *);
                    253: int    ultrix_sys_setpgrp(struct proc *, void *, register_t *);
                    254: int    sys_setitimer(struct proc *, void *, register_t *);
                    255: int    ultrix_sys_wait3(struct proc *, void *, register_t *);
                    256: int    compat_25_sys_swapon(struct proc *, void *, register_t *);
                    257: int    sys_getitimer(struct proc *, void *, register_t *);
                    258: int    compat_43_sys_gethostname(struct proc *, void *, register_t *);
                    259: int    compat_43_sys_sethostname(struct proc *, void *, register_t *);
                    260: int    compat_43_sys_getdtablesize(struct proc *, void *, register_t *);
                    261: int    sys_dup2(struct proc *, void *, register_t *);
                    262: int    sys_fcntl(struct proc *, void *, register_t *);
                    263: int    ultrix_sys_select(struct proc *, void *, register_t *);
                    264: int    sys_fsync(struct proc *, void *, register_t *);
                    265: int    sys_setpriority(struct proc *, void *, register_t *);
                    266: int    sys_socket(struct proc *, void *, register_t *);
                    267: int    sys_connect(struct proc *, void *, register_t *);
                    268: int    compat_43_sys_accept(struct proc *, void *, register_t *);
                    269: int    sys_getpriority(struct proc *, void *, register_t *);
                    270: int    compat_43_sys_send(struct proc *, void *, register_t *);
                    271: int    compat_43_sys_recv(struct proc *, void *, register_t *);
                    272: int    sys_sigreturn(struct proc *, void *, register_t *);
                    273: int    sys_bind(struct proc *, void *, register_t *);
                    274: int    ultrix_sys_setsockopt(struct proc *, void *, register_t *);
                    275: int    sys_listen(struct proc *, void *, register_t *);
                    276: int    compat_43_sys_sigvec(struct proc *, void *, register_t *);
                    277: int    compat_43_sys_sigblock(struct proc *, void *, register_t *);
                    278: int    compat_43_sys_sigsetmask(struct proc *, void *, register_t *);
                    279: int    sys_sigsuspend(struct proc *, void *, register_t *);
                    280: int    compat_43_sys_sigstack(struct proc *, void *, register_t *);
                    281: int    compat_43_sys_recvmsg(struct proc *, void *, register_t *);
                    282: int    compat_43_sys_sendmsg(struct proc *, void *, register_t *);
                    283: int    sys_gettimeofday(struct proc *, void *, register_t *);
                    284: int    sys_getrusage(struct proc *, void *, register_t *);
                    285: int    sys_getsockopt(struct proc *, void *, register_t *);
                    286: int    sys_readv(struct proc *, void *, register_t *);
                    287: int    sys_writev(struct proc *, void *, register_t *);
                    288: int    sys_settimeofday(struct proc *, void *, register_t *);
                    289: int    sys_fchown(struct proc *, void *, register_t *);
                    290: int    sys_fchmod(struct proc *, void *, register_t *);
                    291: int    compat_43_sys_recvfrom(struct proc *, void *, register_t *);
                    292: int    sys_setreuid(struct proc *, void *, register_t *);
                    293: int    sys_setregid(struct proc *, void *, register_t *);
                    294: int    sys_rename(struct proc *, void *, register_t *);
                    295: int    compat_43_sys_truncate(struct proc *, void *, register_t *);
                    296: int    compat_43_sys_ftruncate(struct proc *, void *, register_t *);
                    297: int    sys_flock(struct proc *, void *, register_t *);
                    298: int    sys_sendto(struct proc *, void *, register_t *);
                    299: int    sys_shutdown(struct proc *, void *, register_t *);
                    300: int    sys_socketpair(struct proc *, void *, register_t *);
                    301: int    sys_mkdir(struct proc *, void *, register_t *);
                    302: int    sys_rmdir(struct proc *, void *, register_t *);
                    303: int    sys_utimes(struct proc *, void *, register_t *);
                    304: int    ultrix_sys_sigcleanup(struct proc *, void *, register_t *);
                    305: int    sys_adjtime(struct proc *, void *, register_t *);
                    306: int    compat_43_sys_getpeername(struct proc *, void *, register_t *);
                    307: int    compat_43_sys_gethostid(struct proc *, void *, register_t *);
                    308: int    compat_43_sys_getrlimit(struct proc *, void *, register_t *);
                    309: int    compat_43_sys_setrlimit(struct proc *, void *, register_t *);
                    310: int    compat_43_sys_killpg(struct proc *, void *, register_t *);
                    311: int    compat_43_sys_getsockname(struct proc *, void *, register_t *);
                    312: #ifdef NFSSERVER
                    313: int    ultrix_sys_nfssvc(struct proc *, void *, register_t *);
                    314: #else
                    315: #endif
                    316: int    compat_43_sys_getdirentries(struct proc *, void *, register_t *);
                    317: int    ultrix_sys_statfs(struct proc *, void *, register_t *);
                    318: int    ultrix_sys_fstatfs(struct proc *, void *, register_t *);
                    319: #ifdef NFSCLIENT
                    320: int    async_daemon(struct proc *, void *, register_t *);
                    321: int    sys_getfh(struct proc *, void *, register_t *);
                    322: #else
                    323: #endif
                    324: int    compat_09_sys_getdomainname(struct proc *, void *, register_t *);
                    325: int    compat_09_sys_setdomainname(struct proc *, void *, register_t *);
                    326: int    ultrix_sys_quotactl(struct proc *, void *, register_t *);
                    327: int    ultrix_sys_exportfs(struct proc *, void *, register_t *);
                    328: int    ultrix_sys_uname(struct proc *, void *, register_t *);
                    329: int    ultrix_sys_ustat(struct proc *, void *, register_t *);
                    330: int    ultrix_sys_getmnt(struct proc *, void *, register_t *);
                    331: int    ultrix_sys_sigpending(struct proc *, void *, register_t *);
                    332: int    sys_setsid(struct proc *, void *, register_t *);
                    333: int    ultrix_sys_waitpid(struct proc *, void *, register_t *);
                    334: int    ultrix_sys_getsysinfo(struct proc *, void *, register_t *);
                    335: int    ultrix_sys_setsysinfo(struct proc *, void *, register_t *);

CVSweb