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

Annotation of sys/compat/bsdos/bsdos_syscallargs.h, Revision 1.1

1.1     ! nbrk        1: /*     $OpenBSD: bsdos_syscallargs.h,v 1.19 2006/09/22 15:30:44 pedro 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.17 2006/09/22 15:29:57 pedro 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 bsdos_sys_ioctl_args {
        !            27:        syscallarg(int) fd;
        !            28:        syscallarg(u_long) com;
        !            29:        syscallarg(caddr_t) data;
        !            30: };
        !            31:
        !            32: /*
        !            33:  * System call prototypes.
        !            34:  */
        !            35:
        !            36: int    sys_nosys(struct proc *, void *, register_t *);
        !            37: int    sys_exit(struct proc *, void *, register_t *);
        !            38: int    sys_fork(struct proc *, void *, register_t *);
        !            39: int    sys_read(struct proc *, void *, register_t *);
        !            40: int    sys_write(struct proc *, void *, register_t *);
        !            41: int    sys_open(struct proc *, void *, register_t *);
        !            42: int    sys_close(struct proc *, void *, register_t *);
        !            43: int    sys_wait4(struct proc *, void *, register_t *);
        !            44: int    compat_43_sys_creat(struct proc *, void *, register_t *);
        !            45: int    sys_link(struct proc *, void *, register_t *);
        !            46: int    sys_unlink(struct proc *, void *, register_t *);
        !            47: int    sys_chdir(struct proc *, void *, register_t *);
        !            48: int    sys_fchdir(struct proc *, void *, register_t *);
        !            49: int    sys_mknod(struct proc *, void *, register_t *);
        !            50: int    sys_chmod(struct proc *, void *, register_t *);
        !            51: int    sys_chown(struct proc *, void *, register_t *);
        !            52: int    sys_obreak(struct proc *, void *, register_t *);
        !            53: int    compat_25_sys_getfsstat(struct proc *, void *, register_t *);
        !            54: int    compat_43_sys_lseek(struct proc *, void *, register_t *);
        !            55: int    sys_getpid(struct proc *, void *, register_t *);
        !            56: int    sys_mount(struct proc *, void *, register_t *);
        !            57: int    sys_unmount(struct proc *, void *, register_t *);
        !            58: int    sys_setuid(struct proc *, void *, register_t *);
        !            59: int    sys_getuid(struct proc *, void *, register_t *);
        !            60: int    sys_geteuid(struct proc *, void *, register_t *);
        !            61: #ifdef PTRACE
        !            62: int    sys_ptrace(struct proc *, void *, register_t *);
        !            63: #else
        !            64: #endif
        !            65: int    sys_recvmsg(struct proc *, void *, register_t *);
        !            66: int    sys_sendmsg(struct proc *, void *, register_t *);
        !            67: int    sys_recvfrom(struct proc *, void *, register_t *);
        !            68: int    sys_accept(struct proc *, void *, register_t *);
        !            69: int    sys_getpeername(struct proc *, void *, register_t *);
        !            70: int    sys_getsockname(struct proc *, void *, register_t *);
        !            71: int    sys_access(struct proc *, void *, register_t *);
        !            72: int    sys_chflags(struct proc *, void *, register_t *);
        !            73: int    sys_fchflags(struct proc *, void *, register_t *);
        !            74: int    sys_sync(struct proc *, void *, register_t *);
        !            75: int    sys_kill(struct proc *, void *, register_t *);
        !            76: int    compat_43_sys_stat(struct proc *, void *, register_t *);
        !            77: int    sys_getppid(struct proc *, void *, register_t *);
        !            78: int    compat_43_sys_lstat(struct proc *, void *, register_t *);
        !            79: int    sys_dup(struct proc *, void *, register_t *);
        !            80: int    sys_opipe(struct proc *, void *, register_t *);
        !            81: int    sys_getegid(struct proc *, void *, register_t *);
        !            82: int    sys_profil(struct proc *, void *, register_t *);
        !            83: #ifdef KTRACE
        !            84: int    sys_ktrace(struct proc *, void *, register_t *);
        !            85: #else
        !            86: #endif
        !            87: int    sys_sigaction(struct proc *, void *, register_t *);
        !            88: int    sys_getgid(struct proc *, void *, register_t *);
        !            89: int    sys_sigprocmask(struct proc *, void *, register_t *);
        !            90: int    sys_getlogin(struct proc *, void *, register_t *);
        !            91: int    sys_setlogin(struct proc *, void *, register_t *);
        !            92: #ifdef ACCOUNTING
        !            93: int    sys_acct(struct proc *, void *, register_t *);
        !            94: #else
        !            95: #endif
        !            96: int    sys_sigpending(struct proc *, void *, register_t *);
        !            97: int    sys_osigaltstack(struct proc *, void *, register_t *);
        !            98: int    bsdos_sys_ioctl(struct proc *, void *, register_t *);
        !            99: int    sys_reboot(struct proc *, void *, register_t *);
        !           100: int    sys_revoke(struct proc *, void *, register_t *);
        !           101: int    sys_symlink(struct proc *, void *, register_t *);
        !           102: int    sys_readlink(struct proc *, void *, register_t *);
        !           103: int    sys_execve(struct proc *, void *, register_t *);
        !           104: int    sys_umask(struct proc *, void *, register_t *);
        !           105: int    sys_chroot(struct proc *, void *, register_t *);
        !           106: int    compat_43_sys_fstat(struct proc *, void *, register_t *);
        !           107: int    compat_43_sys_getkerninfo(struct proc *, void *, register_t *);
        !           108: int    compat_43_sys_getpagesize(struct proc *, void *, register_t *);
        !           109: int    sys_msync(struct proc *, void *, register_t *);
        !           110: int    sys_vfork(struct proc *, void *, register_t *);
        !           111: int    sys_sbrk(struct proc *, void *, register_t *);
        !           112: int    sys_sstk(struct proc *, void *, register_t *);
        !           113: int    compat_43_sys_mmap(struct proc *, void *, register_t *);
        !           114: int    sys_ovadvise(struct proc *, void *, register_t *);
        !           115: int    sys_munmap(struct proc *, void *, register_t *);
        !           116: int    sys_mprotect(struct proc *, void *, register_t *);
        !           117: int    sys_madvise(struct proc *, void *, register_t *);
        !           118: int    sys_mincore(struct proc *, void *, register_t *);
        !           119: int    sys_getgroups(struct proc *, void *, register_t *);
        !           120: int    sys_setgroups(struct proc *, void *, register_t *);
        !           121: int    sys_getpgrp(struct proc *, void *, register_t *);
        !           122: int    sys_setpgid(struct proc *, void *, register_t *);
        !           123: int    sys_setitimer(struct proc *, void *, register_t *);
        !           124: int    compat_43_sys_wait(struct proc *, void *, register_t *);
        !           125: int    compat_25_sys_swapon(struct proc *, void *, register_t *);
        !           126: int    sys_getitimer(struct proc *, void *, register_t *);
        !           127: int    compat_43_sys_gethostname(struct proc *, void *, register_t *);
        !           128: int    compat_43_sys_sethostname(struct proc *, void *, register_t *);
        !           129: int    compat_43_sys_getdtablesize(struct proc *, void *, register_t *);
        !           130: int    sys_dup2(struct proc *, void *, register_t *);
        !           131: int    sys_fcntl(struct proc *, void *, register_t *);
        !           132: int    sys_select(struct proc *, void *, register_t *);
        !           133: int    sys_fsync(struct proc *, void *, register_t *);
        !           134: int    sys_setpriority(struct proc *, void *, register_t *);
        !           135: int    sys_socket(struct proc *, void *, register_t *);
        !           136: int    sys_connect(struct proc *, void *, register_t *);
        !           137: int    compat_43_sys_accept(struct proc *, void *, register_t *);
        !           138: int    sys_getpriority(struct proc *, void *, register_t *);
        !           139: int    compat_43_sys_send(struct proc *, void *, register_t *);
        !           140: int    compat_43_sys_recv(struct proc *, void *, register_t *);
        !           141: int    sys_sigreturn(struct proc *, void *, register_t *);
        !           142: int    sys_bind(struct proc *, void *, register_t *);
        !           143: int    sys_setsockopt(struct proc *, void *, register_t *);
        !           144: int    sys_listen(struct proc *, void *, register_t *);
        !           145: int    compat_43_sys_sigvec(struct proc *, void *, register_t *);
        !           146: int    compat_43_sys_sigblock(struct proc *, void *, register_t *);
        !           147: int    compat_43_sys_sigsetmask(struct proc *, void *, register_t *);
        !           148: int    sys_sigsuspend(struct proc *, void *, register_t *);
        !           149: int    compat_43_sys_sigstack(struct proc *, void *, register_t *);
        !           150: int    compat_43_sys_recvmsg(struct proc *, void *, register_t *);
        !           151: int    compat_43_sys_sendmsg(struct proc *, void *, register_t *);
        !           152: #ifdef TRACE
        !           153: int    sys_vtrace(struct proc *, void *, register_t *);
        !           154: #else
        !           155: #endif
        !           156: int    sys_gettimeofday(struct proc *, void *, register_t *);
        !           157: int    sys_getrusage(struct proc *, void *, register_t *);
        !           158: int    sys_getsockopt(struct proc *, void *, register_t *);
        !           159: int    sys_readv(struct proc *, void *, register_t *);
        !           160: int    sys_writev(struct proc *, void *, register_t *);
        !           161: int    sys_settimeofday(struct proc *, void *, register_t *);
        !           162: int    sys_fchown(struct proc *, void *, register_t *);
        !           163: int    sys_fchmod(struct proc *, void *, register_t *);
        !           164: int    compat_43_sys_recvfrom(struct proc *, void *, register_t *);
        !           165: int    sys_setreuid(struct proc *, void *, register_t *);
        !           166: int    sys_setregid(struct proc *, void *, register_t *);
        !           167: int    sys_rename(struct proc *, void *, register_t *);
        !           168: int    compat_43_sys_truncate(struct proc *, void *, register_t *);
        !           169: int    compat_43_sys_ftruncate(struct proc *, void *, register_t *);
        !           170: int    sys_flock(struct proc *, void *, register_t *);
        !           171: int    sys_mkfifo(struct proc *, void *, register_t *);
        !           172: int    sys_sendto(struct proc *, void *, register_t *);
        !           173: int    sys_shutdown(struct proc *, void *, register_t *);
        !           174: int    sys_socketpair(struct proc *, void *, register_t *);
        !           175: int    sys_mkdir(struct proc *, void *, register_t *);
        !           176: int    sys_rmdir(struct proc *, void *, register_t *);
        !           177: int    sys_utimes(struct proc *, void *, register_t *);
        !           178: int    sys_adjtime(struct proc *, void *, register_t *);
        !           179: int    compat_43_sys_getpeername(struct proc *, void *, register_t *);
        !           180: int    compat_43_sys_gethostid(struct proc *, void *, register_t *);
        !           181: int    compat_43_sys_sethostid(struct proc *, void *, register_t *);
        !           182: int    compat_43_sys_getrlimit(struct proc *, void *, register_t *);
        !           183: int    compat_43_sys_setrlimit(struct proc *, void *, register_t *);
        !           184: int    compat_43_sys_killpg(struct proc *, void *, register_t *);
        !           185: int    sys_setsid(struct proc *, void *, register_t *);
        !           186: int    sys_quotactl(struct proc *, void *, register_t *);
        !           187: int    compat_43_sys_quota(struct proc *, void *, register_t *);
        !           188: int    compat_43_sys_getsockname(struct proc *, void *, register_t *);
        !           189: #if defined(NFSCLIENT) || defined(NFSSERVER)
        !           190: int    sys_nfssvc(struct proc *, void *, register_t *);
        !           191: #else
        !           192: #endif
        !           193: int    compat_43_sys_getdirentries(struct proc *, void *, register_t *);
        !           194: int    compat_25_sys_statfs(struct proc *, void *, register_t *);
        !           195: int    compat_25_sys_fstatfs(struct proc *, void *, register_t *);
        !           196: #ifdef NFSCLIENT
        !           197: int    sys_getfh(struct proc *, void *, register_t *);
        !           198: #else
        !           199: #endif
        !           200: #if defined(SYSVSHM) && !defined(alpha)
        !           201: int    compat_10_sys_shmsys(struct proc *, void *, register_t *);
        !           202: #else
        !           203: #endif
        !           204: int    sys_setgid(struct proc *, void *, register_t *);
        !           205: int    sys_setegid(struct proc *, void *, register_t *);
        !           206: int    sys_seteuid(struct proc *, void *, register_t *);
        !           207: int    compat_35_sys_stat(struct proc *, void *, register_t *);
        !           208: int    compat_35_sys_fstat(struct proc *, void *, register_t *);
        !           209: int    compat_35_sys_lstat(struct proc *, void *, register_t *);
        !           210: int    sys_pathconf(struct proc *, void *, register_t *);
        !           211: int    sys_fpathconf(struct proc *, void *, register_t *);
        !           212: int    sys_getrlimit(struct proc *, void *, register_t *);
        !           213: int    sys_setrlimit(struct proc *, void *, register_t *);
        !           214: int    sys_getdirentries(struct proc *, void *, register_t *);
        !           215: int    sys_mmap(struct proc *, void *, register_t *);
        !           216: int    sys_nosys(struct proc *, void *, register_t *);
        !           217: int    sys_lseek(struct proc *, void *, register_t *);
        !           218: int    sys_truncate(struct proc *, void *, register_t *);
        !           219: int    sys_ftruncate(struct proc *, void *, register_t *);
        !           220: int    sys___sysctl(struct proc *, void *, register_t *);
        !           221: int    sys_mlock(struct proc *, void *, register_t *);
        !           222: int    sys_munlock(struct proc *, void *, register_t *);
        !           223: #ifdef SYSVSEM
        !           224: int    sys___semctl(struct proc *, void *, register_t *);
        !           225: int    sys_semget(struct proc *, void *, register_t *);
        !           226: int    sys_semop(struct proc *, void *, register_t *);
        !           227: #else
        !           228: #endif
        !           229: #ifdef SYSVMSG
        !           230: int    sys_msgctl(struct proc *, void *, register_t *);
        !           231: int    sys_msgget(struct proc *, void *, register_t *);
        !           232: int    sys_msgsnd(struct proc *, void *, register_t *);
        !           233: int    sys_msgrcv(struct proc *, void *, register_t *);
        !           234: #else
        !           235: #endif
        !           236: #ifdef SYSVSHM
        !           237: int    sys_shmat(struct proc *, void *, register_t *);
        !           238: int    sys_shmctl(struct proc *, void *, register_t *);
        !           239: int    sys_shmdt(struct proc *, void *, register_t *);
        !           240: int    sys_shmget(struct proc *, void *, register_t *);
        !           241: #else
        !           242: #endif

CVSweb