diff options
author | gallatin <gallatin@FreeBSD.org> | 1999-12-14 22:37:09 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 1999-12-14 22:37:09 +0000 |
commit | 47701a12905b0a8ccf943015f12b3f7771846e9a (patch) | |
tree | 742c66587df4db0278a9331daafcb785c0551d4e /sys/alpha | |
parent | b25aed7d4469bfafd51a1ff8f8b5a28d0db7b54f (diff) | |
download | FreeBSD-src-47701a12905b0a8ccf943015f12b3f7771846e9a.zip FreeBSD-src-47701a12905b0a8ccf943015f12b3f7771846e9a.tar.gz |
Add generated files
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/osf1/osf1_proto.h | 353 | ||||
-rw-r--r-- | sys/alpha/osf1/osf1_syscall.h | 160 | ||||
-rw-r--r-- | sys/alpha/osf1/osf1_sysent.c | 320 |
3 files changed, 833 insertions, 0 deletions
diff --git a/sys/alpha/osf1/osf1_proto.h b/sys/alpha/osf1/osf1_proto.h new file mode 100644 index 0000000..d588e67 --- /dev/null +++ b/sys/alpha/osf1/osf1_proto.h @@ -0,0 +1,353 @@ +/* + * System call prototypes. + * + * DO NOT EDIT-- this file is automatically generated. + * $FreeBSD$ + * created from; FreeBSD + */ + +#ifndef _OSF1_SYSPROTO_H_ +#define _OSF1_SYSPROTO_H_ + +#include <sys/signal.h> + +struct proc; + +#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ + 0 : sizeof(register_t) - sizeof(t)) + +struct osf1_wait4_args { + int pid; char pid_[PAD_(int)]; + int * status; char status_[PAD_(int *)]; + int options; char options_[PAD_(int)]; + struct osf1_rusage * rusage; char rusage_[PAD_(struct osf1_rusage *)]; +}; +struct osf1_mknod_args { + char * path; char path_[PAD_(char *)]; + int mode; char mode_[PAD_(int)]; + int dev; char dev_[PAD_(int)]; +}; +struct osf1_getfsstat_args { + struct osf1_statfs * buf; char buf_[PAD_(struct osf1_statfs *)]; + long bufsize; char bufsize_[PAD_(long)]; + int flags; char flags_[PAD_(int)]; +}; +struct osf1_lseek_args { + int fd; char fd_[PAD_(int)]; + off_t offset; char offset_[PAD_(off_t)]; + int whence; char whence_[PAD_(int)]; +}; +struct osf1_mount_args { + int type; char type_[PAD_(int)]; + char * path; char path_[PAD_(char *)]; + int flags; char flags_[PAD_(int)]; + caddr_t data; char data_[PAD_(caddr_t)]; +}; +struct osf1_unmount_args { + char * path; char path_[PAD_(char *)]; + int flags; char flags_[PAD_(int)]; +}; +struct osf1_setuid_args { + uid_t uid; char uid_[PAD_(uid_t)]; +}; +struct osf1_access_args { + char * path; char path_[PAD_(char *)]; + int flags; char flags_[PAD_(int)]; +}; +struct osf1_kill_args { + int pid; char pid_[PAD_(int)]; + int signum; char signum_[PAD_(int)]; +}; +struct osf1_set_program_attributes_args { + vm_offset_t text_start; char text_start_[PAD_(vm_offset_t)]; + vm_offset_t text_len; char text_len_[PAD_(vm_offset_t)]; + vm_offset_t bss_start; char bss_start_[PAD_(vm_offset_t)]; + vm_offset_t bss_len; char bss_len_[PAD_(vm_offset_t)]; +}; +struct osf1_open_args { + char * path; char path_[PAD_(char *)]; + int flags; char flags_[PAD_(int)]; + int mode; char mode_[PAD_(int)]; +}; +struct osf1_sigprocmask_args { + int how; char how_[PAD_(int)]; + osf1_sigset_t mask; char mask_[PAD_(osf1_sigset_t)]; +}; +struct osf1_sigpending_args { + struct proc * p; char p_[PAD_(struct proc *)]; + osf1_sigset_t * mask; char mask_[PAD_(osf1_sigset_t *)]; +}; +struct osf1_classcntl_args { + int opcode; char opcode_[PAD_(int)]; + int arg1; char arg1_[PAD_(int)]; + int arg2; char arg2_[PAD_(int)]; + int arg3; char arg3_[PAD_(int)]; +}; +struct osf1_ioctl_args { + int fd; char fd_[PAD_(int)]; + int com; char com_[PAD_(int)]; + caddr_t data; char data_[PAD_(caddr_t)]; +}; +struct osf1_reboot_args { + int opt; char opt_[PAD_(int)]; +}; +struct osf1_execve_args { + char * path; char path_[PAD_(char *)]; + char ** argp; char argp_[PAD_(char **)]; + char ** envp; char envp_[PAD_(char **)]; +}; +struct osf1_stat_args { + char * path; char path_[PAD_(char *)]; + struct osf1_stat * ub; char ub_[PAD_(struct osf1_stat *)]; +}; +struct osf1_lstat_args { + char * path; char path_[PAD_(char *)]; + struct osf1_stat * ub; char ub_[PAD_(struct osf1_stat *)]; +}; +struct osf1_mmap_args { + caddr_t addr; char addr_[PAD_(caddr_t)]; + size_t len; char len_[PAD_(size_t)]; + int prot; char prot_[PAD_(int)]; + int flags; char flags_[PAD_(int)]; + int fd; char fd_[PAD_(int)]; + off_t pos; char pos_[PAD_(off_t)]; +}; +struct osf1_madvise_args { + register_t dummy; +}; +struct osf1_setpgrp_args { + int pid; char pid_[PAD_(int)]; + int pgid; char pgid_[PAD_(int)]; +}; +struct osf1_setitimer_args { + u_int which; char which_[PAD_(u_int)]; + struct itimerval * itv; char itv_[PAD_(struct itimerval *)]; + struct itimerval * oitv; char oitv_[PAD_(struct itimerval *)]; +}; +struct osf1_table_args { + long id; char id_[PAD_(long)]; + long index; char index_[PAD_(long)]; + void * addr; char addr_[PAD_(void *)]; + long nel; char nel_[PAD_(long)]; + u_long lel; char lel_[PAD_(u_long)]; +}; +struct osf1_getitimer_args { + u_int which; char which_[PAD_(u_int)]; + struct itimerval * itv; char itv_[PAD_(struct itimerval *)]; +}; +struct osf1_fstat_args { + int fd; char fd_[PAD_(int)]; + void * sb; char sb_[PAD_(void *)]; +}; +struct osf1_fcntl_args { + int fd; char fd_[PAD_(int)]; + int cmd; char cmd_[PAD_(int)]; + void * arg; char arg_[PAD_(void *)]; +}; +struct osf1_select_args { + u_int nd; char nd_[PAD_(u_int)]; + fd_set * in; char in_[PAD_(fd_set *)]; + fd_set * ou; char ou_[PAD_(fd_set *)]; + fd_set * ex; char ex_[PAD_(fd_set *)]; + struct timeval * tv; char tv_[PAD_(struct timeval *)]; +}; +struct osf1_socket_args { + int domain; char domain_[PAD_(int)]; + int type; char type_[PAD_(int)]; + int protocol; char protocol_[PAD_(int)]; +}; +struct osf1_sigreturn_args { + struct osigcontext * sigcntxp; char sigcntxp_[PAD_(struct osigcontext *)]; +}; +struct osf1_sigsuspend_args { + osf1_sigset_t ss; char ss_[PAD_(osf1_sigset_t)]; +}; +struct osf1_osigstack_args { + struct sigstack * nss; char nss_[PAD_(struct sigstack *)]; + struct sigstack * oss; char oss_[PAD_(struct sigstack *)]; +}; +struct osf1_gettimeofday_args { + struct timeval * tp; char tp_[PAD_(struct timeval *)]; + struct timezone * tzp; char tzp_[PAD_(struct timezone *)]; +}; +struct osf1_getrusage_args { + long who; char who_[PAD_(long)]; + void * rusage; char rusage_[PAD_(void *)]; +}; +struct osf1_readv_args { + int fd; char fd_[PAD_(int)]; + struct osf1_iovec * iovp; char iovp_[PAD_(struct osf1_iovec *)]; + u_int iovcnt; char iovcnt_[PAD_(u_int)]; +}; +struct osf1_writev_args { + int fd; char fd_[PAD_(int)]; + struct osf1_iovec * iovp; char iovp_[PAD_(struct osf1_iovec *)]; + u_int iovcnt; char iovcnt_[PAD_(u_int)]; +}; +struct osf1_truncate_args { + char * path; char path_[PAD_(char *)]; + off_t length; char length_[PAD_(off_t)]; +}; +struct osf1_ftruncate_args { + int fd; char fd_[PAD_(int)]; + off_t length; char length_[PAD_(off_t)]; +}; +struct osf1_setgid_args { + gid_t gid; char gid_[PAD_(gid_t)]; +}; +struct osf1_sendto_args { + int s; char s_[PAD_(int)]; + caddr_t buf; char buf_[PAD_(caddr_t)]; + size_t len; char len_[PAD_(size_t)]; + int flags; char flags_[PAD_(int)]; + struct sockaddr * to; char to_[PAD_(struct sockaddr *)]; + int tolen; char tolen_[PAD_(int)]; +}; +struct osf1_getrlimit_args { + u_int which; char which_[PAD_(u_int)]; + struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)]; +}; +struct osf1_setrlimit_args { + u_int which; char which_[PAD_(u_int)]; + struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)]; +}; +struct osf1_sigaction_args { + long signum; char signum_[PAD_(long)]; + struct osf1_sigaction * nsa; char nsa_[PAD_(struct osf1_sigaction *)]; + struct osf1_sigaction * osa; char osa_[PAD_(struct osf1_sigaction *)]; + void * sigtramp; char sigtramp_[PAD_(void *)]; +}; +struct osf1_statfs_args { + char * path; char path_[PAD_(char *)]; + struct osf1_statfs * buf; char buf_[PAD_(struct osf1_statfs *)]; + int len; char len_[PAD_(int)]; +}; +struct osf1_fstatfs_args { + int fd; char fd_[PAD_(int)]; + struct osf1_statfs * buf; char buf_[PAD_(struct osf1_statfs *)]; + int len; char len_[PAD_(int)]; +}; +struct osf1_msync_args { + caddr_t addr; char addr_[PAD_(caddr_t)]; + size_t len; char len_[PAD_(size_t)]; + int flags; char flags_[PAD_(int)]; +}; +struct osf1_signal_args { + int signum; char signum_[PAD_(int)]; + void * handler; char handler_[PAD_(void *)]; +}; +struct osf1_sigaltstack_args { + struct osf1_sigaltstack * nss; char nss_[PAD_(struct osf1_sigaltstack *)]; + struct osf1_sigaltstack * oss; char oss_[PAD_(struct osf1_sigaltstack *)]; +}; +struct osf1_sysinfo_args { + int cmd; char cmd_[PAD_(int)]; + char * buf; char buf_[PAD_(char *)]; + long count; char count_[PAD_(long)]; +}; +struct osf1_proplist_syscall_args { + register_t dummy; +}; +struct osf1_ntpadjtime_args { + void * tp; char tp_[PAD_(void *)]; +}; +struct osf1_ntpgettime_args { + void * tp; char tp_[PAD_(void *)]; +}; +struct osf1_pathconf_args { + char * path; char path_[PAD_(char *)]; + int name; char name_[PAD_(int)]; +}; +struct osf1_fpathconf_args { + int fd; char fd_[PAD_(int)]; + int name; char name_[PAD_(int)]; +}; +struct osf1_uswitch_args { + long cmd; char cmd_[PAD_(long)]; + long mask; char mask_[PAD_(long)]; +}; +struct osf1_usleep_thread_args { + struct timeval * sleep; char sleep_[PAD_(struct timeval *)]; + struct timeval * slept; char slept_[PAD_(struct timeval *)]; +}; +struct osf1_getsysinfo_args { + u_long op; char op_[PAD_(u_long)]; + caddr_t buffer; char buffer_[PAD_(caddr_t)]; + u_long nbytes; char nbytes_[PAD_(u_long)]; + caddr_t arg; char arg_[PAD_(caddr_t)]; + u_long flag; char flag_[PAD_(u_long)]; +}; +struct osf1_setsysinfo_args { + u_long op; char op_[PAD_(u_long)]; + caddr_t buffer; char buffer_[PAD_(caddr_t)]; + u_long nbytes; char nbytes_[PAD_(u_long)]; + caddr_t arg; char arg_[PAD_(caddr_t)]; + u_long flag; char flag_[PAD_(u_long)]; +}; +int osf1_wait4 __P((struct proc *, struct osf1_wait4_args *)); +int osf1_mknod __P((struct proc *, struct osf1_mknod_args *)); +int osf1_getfsstat __P((struct proc *, struct osf1_getfsstat_args *)); +int osf1_lseek __P((struct proc *, struct osf1_lseek_args *)); +int osf1_mount __P((struct proc *, struct osf1_mount_args *)); +int osf1_unmount __P((struct proc *, struct osf1_unmount_args *)); +int osf1_setuid __P((struct proc *, struct osf1_setuid_args *)); +int osf1_access __P((struct proc *, struct osf1_access_args *)); +int osf1_kill __P((struct proc *, struct osf1_kill_args *)); +int osf1_set_program_attributes __P((struct proc *, struct osf1_set_program_attributes_args *)); +int osf1_open __P((struct proc *, struct osf1_open_args *)); +int osf1_sigprocmask __P((struct proc *, struct osf1_sigprocmask_args *)); +int osf1_sigpending __P((struct proc *, struct osf1_sigpending_args *)); +int osf1_classcntl __P((struct proc *, struct osf1_classcntl_args *)); +int osf1_ioctl __P((struct proc *, struct osf1_ioctl_args *)); +int osf1_reboot __P((struct proc *, struct osf1_reboot_args *)); +int osf1_execve __P((struct proc *, struct osf1_execve_args *)); +int osf1_stat __P((struct proc *, struct osf1_stat_args *)); +int osf1_lstat __P((struct proc *, struct osf1_lstat_args *)); +int osf1_mmap __P((struct proc *, struct osf1_mmap_args *)); +int osf1_madvise __P((struct proc *, struct osf1_madvise_args *)); +int osf1_setpgrp __P((struct proc *, struct osf1_setpgrp_args *)); +int osf1_setitimer __P((struct proc *, struct osf1_setitimer_args *)); +int osf1_table __P((struct proc *, struct osf1_table_args *)); +int osf1_getitimer __P((struct proc *, struct osf1_getitimer_args *)); +int osf1_fstat __P((struct proc *, struct osf1_fstat_args *)); +int osf1_fcntl __P((struct proc *, struct osf1_fcntl_args *)); +int osf1_select __P((struct proc *, struct osf1_select_args *)); +int osf1_socket __P((struct proc *, struct osf1_socket_args *)); +int osf1_sigreturn __P((struct proc *, struct osf1_sigreturn_args *)); +int osf1_sigsuspend __P((struct proc *, struct osf1_sigsuspend_args *)); +int osf1_osigstack __P((struct proc *, struct osf1_osigstack_args *)); +int osf1_gettimeofday __P((struct proc *, struct osf1_gettimeofday_args *)); +int osf1_getrusage __P((struct proc *, struct osf1_getrusage_args *)); +int osf1_readv __P((struct proc *, struct osf1_readv_args *)); +int osf1_writev __P((struct proc *, struct osf1_writev_args *)); +int osf1_truncate __P((struct proc *, struct osf1_truncate_args *)); +int osf1_ftruncate __P((struct proc *, struct osf1_ftruncate_args *)); +int osf1_setgid __P((struct proc *, struct osf1_setgid_args *)); +int osf1_sendto __P((struct proc *, struct osf1_sendto_args *)); +int osf1_getrlimit __P((struct proc *, struct osf1_getrlimit_args *)); +int osf1_setrlimit __P((struct proc *, struct osf1_setrlimit_args *)); +int osf1_sigaction __P((struct proc *, struct osf1_sigaction_args *)); +int osf1_statfs __P((struct proc *, struct osf1_statfs_args *)); +int osf1_fstatfs __P((struct proc *, struct osf1_fstatfs_args *)); +int osf1_msync __P((struct proc *, struct osf1_msync_args *)); +int osf1_signal __P((struct proc *, struct osf1_signal_args *)); +int osf1_sigaltstack __P((struct proc *, struct osf1_sigaltstack_args *)); +int osf1_sysinfo __P((struct proc *, struct osf1_sysinfo_args *)); +int osf1_proplist_syscall __P((struct proc *, struct osf1_proplist_syscall_args *)); +int osf1_ntpadjtime __P((struct proc *, struct osf1_ntpadjtime_args *)); +int osf1_ntpgettime __P((struct proc *, struct osf1_ntpgettime_args *)); +int osf1_pathconf __P((struct proc *, struct osf1_pathconf_args *)); +int osf1_fpathconf __P((struct proc *, struct osf1_fpathconf_args *)); +int osf1_uswitch __P((struct proc *, struct osf1_uswitch_args *)); +int osf1_usleep_thread __P((struct proc *, struct osf1_usleep_thread_args *)); +int osf1_getsysinfo __P((struct proc *, struct osf1_getsysinfo_args *)); +int osf1_setsysinfo __P((struct proc *, struct osf1_setsysinfo_args *)); + +#ifdef COMPAT_43 + + +#endif /* COMPAT_43 */ + +#undef PAD_ + +#endif /* !_OSF1_SYSPROTO_H_ */ diff --git a/sys/alpha/osf1/osf1_syscall.h b/sys/alpha/osf1/osf1_syscall.h new file mode 100644 index 0000000..70099ea --- /dev/null +++ b/sys/alpha/osf1/osf1_syscall.h @@ -0,0 +1,160 @@ +/* + * System call numbers. + * + * DO NOT EDIT-- this file is automatically generated. + * $FreeBSD$ + * created from; FreeBSD + */ + +#define OSF1_SYS_nosys 0 +#define OSF1_SYS_exit 1 +#define OSF1_SYS_fork 2 +#define OSF1_SYS_read 3 +#define OSF1_SYS_write 4 +#define OSF1_SYS_close 6 +#define OSF1_SYS_osf1_wait4 7 +#define OSF1_SYS_link 9 +#define OSF1_SYS_unlink 10 +#define OSF1_SYS_chdir 12 +#define OSF1_SYS_fchdir 13 +#define OSF1_SYS_osf1_mknod 14 +#define OSF1_SYS_chmod 15 +#define OSF1_SYS_chown 16 +#define OSF1_SYS_obreak 17 +#define OSF1_SYS_osf1_getfsstat 18 +#define OSF1_SYS_osf1_lseek 19 +#define OSF1_SYS_getpid 20 +#define OSF1_SYS_osf1_mount 21 +#define OSF1_SYS_osf1_unmount 22 +#define OSF1_SYS_osf1_setuid 23 +#define OSF1_SYS_getuid 24 +#define OSF1_SYS_recvfrom 29 +#define OSF1_SYS_accept 30 +#define OSF1_SYS_getpeername 31 +#define OSF1_SYS_getsockname 32 +#define OSF1_SYS_osf1_access 33 +#define OSF1_SYS_sync 36 +#define OSF1_SYS_osf1_kill 37 +#define OSF1_SYS_setpgid 39 +#define OSF1_SYS_dup 41 +#define OSF1_SYS_pipe 42 +#define OSF1_SYS_osf1_set_program_attributes 43 +#define OSF1_SYS_osf1_open 45 + /* 46 is obsolete sigaction */ +#define OSF1_SYS_getgid 47 +#define OSF1_SYS_osf1_sigprocmask 48 +#define OSF1_SYS_getlogin 49 +#define OSF1_SYS_setlogin 50 +#define OSF1_SYS_acct 51 +#define OSF1_SYS_osf1_sigpending 52 +#define OSF1_SYS_osf1_classcntl 53 +#define OSF1_SYS_osf1_ioctl 54 +#define OSF1_SYS_osf1_reboot 55 +#define OSF1_SYS_revoke 56 +#define OSF1_SYS_symlink 57 +#define OSF1_SYS_readlink 58 +#define OSF1_SYS_osf1_execve 59 +#define OSF1_SYS_umask 60 +#define OSF1_SYS_chroot 61 +#define OSF1_SYS_getpgrp 63 +#define OSF1_SYS_ogetpagesize 64 +#define OSF1_SYS_vfork 66 +#define OSF1_SYS_osf1_stat 67 +#define OSF1_SYS_osf1_lstat 68 +#define OSF1_SYS_osf1_mmap 71 +#define OSF1_SYS_munmap 73 +#define OSF1_SYS_mprotect 74 +#define OSF1_SYS_osf1_madvise 75 +#define OSF1_SYS_getgroups 79 +#define OSF1_SYS_setgroups 80 +#define OSF1_SYS_osf1_setpgrp 82 +#define OSF1_SYS_osf1_setitimer 83 +#define OSF1_SYS_osf1_table 85 +#define OSF1_SYS_osf1_getitimer 86 +#define OSF1_SYS_ogethostname 87 +#define OSF1_SYS_osethostname 88 +#define OSF1_SYS_getdtablesize 89 +#define OSF1_SYS_dup2 90 +#define OSF1_SYS_osf1_fstat 91 +#define OSF1_SYS_osf1_fcntl 92 +#define OSF1_SYS_osf1_select 93 +#define OSF1_SYS_poll 94 +#define OSF1_SYS_fsync 95 +#define OSF1_SYS_setpriority 96 +#define OSF1_SYS_osf1_socket 97 +#define OSF1_SYS_connect 98 +#define OSF1_SYS_oaccept 99 +#define OSF1_SYS_getpriority 100 +#define OSF1_SYS_osend 101 +#define OSF1_SYS_orecv 102 +#define OSF1_SYS_osf1_sigreturn 103 +#define OSF1_SYS_bind 104 +#define OSF1_SYS_setsockopt 105 +#define OSF1_SYS_listen 106 +#define OSF1_SYS_osf1_sigsuspend 111 +#define OSF1_SYS_osf1_osigstack 112 +#define OSF1_SYS_osf1_gettimeofday 116 +#define OSF1_SYS_osf1_getrusage 117 +#define OSF1_SYS_getsockopt 118 +#define OSF1_SYS_osf1_readv 120 +#define OSF1_SYS_osf1_writev 121 +#define OSF1_SYS_settimeofday 122 +#define OSF1_SYS_fchown 123 +#define OSF1_SYS_fchmod 124 +#define OSF1_SYS_orecvfrom 125 +#define OSF1_SYS_setreuid 126 +#define OSF1_SYS_setregid 127 +#define OSF1_SYS_rename 128 +#define OSF1_SYS_osf1_truncate 129 +#define OSF1_SYS_osf1_ftruncate 130 +#define OSF1_SYS_flock 131 +#define OSF1_SYS_osf1_setgid 132 +#define OSF1_SYS_osf1_sendto 133 +#define OSF1_SYS_shutdown 134 +#define OSF1_SYS_mkdir 136 +#define OSF1_SYS_rmdir 137 +#define OSF1_SYS_utimes 138 + /* 139 is obsolete 4.2 sigreturn */ +#define OSF1_SYS_ogetpeername 141 +#define OSF1_SYS_ogethostid 142 +#define OSF1_SYS_osethostid 143 +#define OSF1_SYS_osf1_getrlimit 144 +#define OSF1_SYS_osf1_setrlimit 145 +#define OSF1_SYS_setsid 147 +#define OSF1_SYS_oquota 149 +#define OSF1_SYS_ogetsockname 150 +#define OSF1_SYS_osf1_sigaction 156 +#define OSF1_SYS_ogetdirentries 159 +#define OSF1_SYS_osf1_statfs 160 +#define OSF1_SYS_osf1_fstatfs 161 +#define OSF1_SYS_getdomainname 165 +#define OSF1_SYS_setdomainname 166 +#define OSF1_SYS_msgctl 200 +#define OSF1_SYS_msgget 201 +#define OSF1_SYS_msgrcv 202 +#define OSF1_SYS_msgsnd 203 +#define OSF1_SYS___semctl 204 +#define OSF1_SYS_semget 205 +#define OSF1_SYS_semop 206 +#define OSF1_SYS_uname 207 +#define OSF1_SYS_lchown 208 +#define OSF1_SYS_shmat 209 +#define OSF1_SYS_shmctl 210 +#define OSF1_SYS_shmdt 211 +#define OSF1_SYS_shmget 212 +#define OSF1_SYS_osf1_msync 217 +#define OSF1_SYS_osf1_signal 218 +#define OSF1_SYS_getpgid 233 +#define OSF1_SYS_getsid 234 +#define OSF1_SYS_osf1_sigaltstack 235 +#define OSF1_SYS_osf1_sysinfo 241 +#define OSF1_SYS_osf1_proplist_syscall 244 +#define OSF1_SYS_osf1_ntpadjtime 245 +#define OSF1_SYS_osf1_ntpgettime 246 +#define OSF1_SYS_osf1_pathconf 247 +#define OSF1_SYS_osf1_fpathconf 248 +#define OSF1_SYS_osf1_uswitch 250 +#define OSF1_SYS_osf1_usleep_thread 251 +#define OSF1_SYS_osf1_getsysinfo 256 +#define OSF1_SYS_osf1_setsysinfo 257 +#define OSF1_SYS_MAXSYSCALL 301 diff --git a/sys/alpha/osf1/osf1_sysent.c b/sys/alpha/osf1/osf1_sysent.c new file mode 100644 index 0000000..c304174 --- /dev/null +++ b/sys/alpha/osf1/osf1_sysent.c @@ -0,0 +1,320 @@ +/* + * System call switch table. + * + * DO NOT EDIT-- this file is automatically generated. + * $FreeBSD$ + * created from; FreeBSD + */ + +#include "opt_compat.h" +#include <sys/param.h> +#include <sys/sysent.h> +#include <sys/sysproto.h> +#include <alpha/osf1/osf1.h> +#include <alpha/osf1/osf1_signal.h> +#include <alpha/osf1/osf1_proto.h> + +/* The casts are bogus but will do for now. */ +struct sysent osf1_sysent[] = { + { 0, (sy_call_t *)nosys }, /* 0 = nosys */ + { 1, (sy_call_t *)exit }, /* 1 = exit */ + { 0, (sy_call_t *)fork }, /* 2 = fork */ + { 3, (sy_call_t *)read }, /* 3 = read */ + { 3, (sy_call_t *)write }, /* 4 = write */ + { 0, (sy_call_t *)nosys }, /* 5 = old open */ + { 1, (sy_call_t *)close }, /* 6 = close */ + { 4, (sy_call_t *)osf1_wait4 }, /* 7 = osf1_wait4 */ + { 0, (sy_call_t *)nosys }, /* 8 = old creat */ + { 2, (sy_call_t *)link }, /* 9 = link */ + { 1, (sy_call_t *)unlink }, /* 10 = unlink */ + { 0, (sy_call_t *)nosys }, /* 11 = execv */ + { 1, (sy_call_t *)chdir }, /* 12 = chdir */ + { 1, (sy_call_t *)fchdir }, /* 13 = fchdir */ + { 3, (sy_call_t *)osf1_mknod }, /* 14 = osf1_mknod */ + { 2, (sy_call_t *)chmod }, /* 15 = chmod */ + { 3, (sy_call_t *)chown }, /* 16 = chown */ + { 1, (sy_call_t *)obreak }, /* 17 = obreak */ + { 3, (sy_call_t *)osf1_getfsstat }, /* 18 = osf1_getfsstat */ + { 4, (sy_call_t *)osf1_lseek }, /* 19 = osf1_lseek */ + { 0, (sy_call_t *)getpid }, /* 20 = getpid */ + { 4, (sy_call_t *)osf1_mount }, /* 21 = osf1_mount */ + { 2, (sy_call_t *)osf1_unmount }, /* 22 = osf1_unmount */ + { 1, (sy_call_t *)osf1_setuid }, /* 23 = osf1_setuid */ + { 0, (sy_call_t *)getuid }, /* 24 = getuid */ + { 0, (sy_call_t *)nosys }, /* 25 = exec_with_loader */ + { 0, (sy_call_t *)nosys }, /* 26 = ptrace */ + { 0, (sy_call_t *)nosys }, /* 27 = recvmsg */ + { 0, (sy_call_t *)nosys }, /* 28 = sendmsg */ + { 6, (sy_call_t *)recvfrom }, /* 29 = recvfrom */ + { 3, (sy_call_t *)accept }, /* 30 = accept */ + { 3, (sy_call_t *)getpeername }, /* 31 = getpeername */ + { 3, (sy_call_t *)getsockname }, /* 32 = getsockname */ + { 2, (sy_call_t *)osf1_access }, /* 33 = osf1_access */ + { 0, (sy_call_t *)nosys }, /* 34 = chflags */ + { 0, (sy_call_t *)nosys }, /* 35 = fchflags */ + { 0, (sy_call_t *)sync }, /* 36 = sync */ + { 2, (sy_call_t *)osf1_kill }, /* 37 = osf1_kill */ + { 0, (sy_call_t *)nosys }, /* 38 = old stat */ + { 2, (sy_call_t *)setpgid }, /* 39 = setpgid */ + { 0, (sy_call_t *)nosys }, /* 40 = old lstat */ + { 1, (sy_call_t *)dup }, /* 41 = dup */ + { 0, (sy_call_t *)pipe }, /* 42 = pipe */ + { 4, (sy_call_t *)osf1_set_program_attributes }, /* 43 = osf1_set_program_attributes */ + { 0, (sy_call_t *)nosys }, /* 44 = profil */ + { 3, (sy_call_t *)osf1_open }, /* 45 = osf1_open */ + { 0, (sy_call_t *)nosys }, /* 46 = obsolete sigaction */ + { 0, (sy_call_t *)getgid }, /* 47 = getgid */ + { 2, (sy_call_t *)osf1_sigprocmask }, /* 48 = osf1_sigprocmask */ + { 2, (sy_call_t *)getlogin }, /* 49 = getlogin */ + { 1, (sy_call_t *)setlogin }, /* 50 = setlogin */ + { 1, (sy_call_t *)acct }, /* 51 = acct */ + { 2, (sy_call_t *)osf1_sigpending }, /* 52 = osf1_sigpending */ + { 4, (sy_call_t *)osf1_classcntl }, /* 53 = osf1_classcntl */ + { 3, (sy_call_t *)osf1_ioctl }, /* 54 = osf1_ioctl */ + { 1, (sy_call_t *)osf1_reboot }, /* 55 = osf1_reboot */ + { 1, (sy_call_t *)revoke }, /* 56 = revoke */ + { 2, (sy_call_t *)symlink }, /* 57 = symlink */ + { 3, (sy_call_t *)readlink }, /* 58 = readlink */ + { 3, (sy_call_t *)osf1_execve }, /* 59 = osf1_execve */ + { 1, (sy_call_t *)umask }, /* 60 = umask */ + { 1, (sy_call_t *)chroot }, /* 61 = chroot */ + { 0, (sy_call_t *)nosys }, /* 62 = old fstat */ + { 0, (sy_call_t *)getpgrp }, /* 63 = getpgrp */ + { 0, (sy_call_t *)ogetpagesize }, /* 64 = ogetpagesize */ + { 0, (sy_call_t *)nosys }, /* 65 = mremap */ + { 0, (sy_call_t *)vfork }, /* 66 = vfork */ + { 2, (sy_call_t *)osf1_stat }, /* 67 = osf1_stat */ + { 2, (sy_call_t *)osf1_lstat }, /* 68 = osf1_lstat */ + { 0, (sy_call_t *)nosys }, /* 69 = sbrk */ + { 0, (sy_call_t *)nosys }, /* 70 = sstk */ + { 7, (sy_call_t *)osf1_mmap }, /* 71 = osf1_mmap */ + { 0, (sy_call_t *)nosys }, /* 72 = ovadvise */ + { 2, (sy_call_t *)munmap }, /* 73 = munmap */ + { 3, (sy_call_t *)mprotect }, /* 74 = mprotect */ + { 0, (sy_call_t *)osf1_madvise }, /* 75 = osf1_madvise */ + { 0, (sy_call_t *)nosys }, /* 76 = old vhangup */ + { 0, (sy_call_t *)nosys }, /* 77 = kmodcall */ + { 0, (sy_call_t *)nosys }, /* 78 = mincore */ + { 2, (sy_call_t *)getgroups }, /* 79 = getgroups */ + { 2, (sy_call_t *)setgroups }, /* 80 = setgroups */ + { 0, (sy_call_t *)nosys }, /* 81 = old getpgrp */ + { 2, (sy_call_t *)osf1_setpgrp }, /* 82 = osf1_setpgrp */ + { 3, (sy_call_t *)osf1_setitimer }, /* 83 = osf1_setitimer */ + { 0, (sy_call_t *)nosys }, /* 84 = old wait */ + { 5, (sy_call_t *)osf1_table }, /* 85 = osf1_table */ + { 2, (sy_call_t *)osf1_getitimer }, /* 86 = osf1_getitimer */ + { 2, (sy_call_t *)ogethostname }, /* 87 = ogethostname */ + { 2, (sy_call_t *)osethostname }, /* 88 = osethostname */ + { 0, (sy_call_t *)getdtablesize }, /* 89 = getdtablesize */ + { 2, (sy_call_t *)dup2 }, /* 90 = dup2 */ + { 2, (sy_call_t *)osf1_fstat }, /* 91 = osf1_fstat */ + { 3, (sy_call_t *)osf1_fcntl }, /* 92 = osf1_fcntl */ + { 5, (sy_call_t *)osf1_select }, /* 93 = osf1_select */ + { 3, (sy_call_t *)poll }, /* 94 = poll */ + { 1, (sy_call_t *)fsync }, /* 95 = fsync */ + { 3, (sy_call_t *)setpriority }, /* 96 = setpriority */ + { 3, (sy_call_t *)osf1_socket }, /* 97 = osf1_socket */ + { 3, (sy_call_t *)connect }, /* 98 = connect */ + { 3, (sy_call_t *)oaccept }, /* 99 = oaccept */ + { 2, (sy_call_t *)getpriority }, /* 100 = getpriority */ + { 4, (sy_call_t *)osend }, /* 101 = osend */ + { 4, (sy_call_t *)orecv }, /* 102 = orecv */ + { 1, (sy_call_t *)osf1_sigreturn }, /* 103 = osf1_sigreturn */ + { 3, (sy_call_t *)bind }, /* 104 = bind */ + { 5, (sy_call_t *)setsockopt }, /* 105 = setsockopt */ + { 2, (sy_call_t *)listen }, /* 106 = listen */ + { 0, (sy_call_t *)nosys }, /* 107 = plock */ + { 0, (sy_call_t *)nosys }, /* 108 = old sigvec */ + { 0, (sy_call_t *)nosys }, /* 109 = old sigblock */ + { 0, (sy_call_t *)nosys }, /* 110 = old sigsetmask */ + { 1, (sy_call_t *)osf1_sigsuspend }, /* 111 = osf1_sigsuspend */ + { 2, (sy_call_t *)osf1_osigstack }, /* 112 = osf1_osigstack */ + { 0, (sy_call_t *)nosys }, /* 113 = old recvmsg */ + { 0, (sy_call_t *)nosys }, /* 114 = old sendmsg */ + { 0, (sy_call_t *)nosys }, /* 115 = vtrace */ + { 2, (sy_call_t *)osf1_gettimeofday }, /* 116 = osf1_gettimeofday */ + { 2, (sy_call_t *)osf1_getrusage }, /* 117 = osf1_getrusage */ + { 5, (sy_call_t *)getsockopt }, /* 118 = getsockopt */ + { 0, (sy_call_t *)nosys }, /* 119 = */ + { 3, (sy_call_t *)osf1_readv }, /* 120 = osf1_readv */ + { 3, (sy_call_t *)osf1_writev }, /* 121 = osf1_writev */ + { 2, (sy_call_t *)settimeofday }, /* 122 = settimeofday */ + { 3, (sy_call_t *)fchown }, /* 123 = fchown */ + { 2, (sy_call_t *)fchmod }, /* 124 = fchmod */ + { 6, (sy_call_t *)orecvfrom }, /* 125 = orecvfrom */ + { 2, (sy_call_t *)setreuid }, /* 126 = setreuid */ + { 2, (sy_call_t *)setregid }, /* 127 = setregid */ + { 2, (sy_call_t *)rename }, /* 128 = rename */ + { 3, (sy_call_t *)osf1_truncate }, /* 129 = osf1_truncate */ + { 3, (sy_call_t *)osf1_ftruncate }, /* 130 = osf1_ftruncate */ + { 2, (sy_call_t *)flock }, /* 131 = flock */ + { 1, (sy_call_t *)osf1_setgid }, /* 132 = osf1_setgid */ + { 6, (sy_call_t *)osf1_sendto }, /* 133 = osf1_sendto */ + { 2, (sy_call_t *)shutdown }, /* 134 = shutdown */ + { 0, (sy_call_t *)nosys }, /* 135 = socketpair */ + { 2, (sy_call_t *)mkdir }, /* 136 = mkdir */ + { 1, (sy_call_t *)rmdir }, /* 137 = rmdir */ + { 2, (sy_call_t *)utimes }, /* 138 = utimes */ + { 0, (sy_call_t *)nosys }, /* 139 = obsolete 4.2 sigreturn */ + { 0, (sy_call_t *)nosys }, /* 140 = adjtime */ + { 3, (sy_call_t *)ogetpeername }, /* 141 = ogetpeername */ + { 0, (sy_call_t *)ogethostid }, /* 142 = ogethostid */ + { 1, (sy_call_t *)osethostid }, /* 143 = osethostid */ + { 2, (sy_call_t *)osf1_getrlimit }, /* 144 = osf1_getrlimit */ + { 2, (sy_call_t *)osf1_setrlimit }, /* 145 = osf1_setrlimit */ + { 0, (sy_call_t *)nosys }, /* 146 = old killpg */ + { 0, (sy_call_t *)setsid }, /* 147 = setsid */ + { 0, (sy_call_t *)nosys }, /* 148 = quotactl */ + { 0, (sy_call_t *)oquota }, /* 149 = oquota */ + { 3, (sy_call_t *)ogetsockname }, /* 150 = ogetsockname */ + { 0, (sy_call_t *)nosys }, /* 151 = */ + { 0, (sy_call_t *)nosys }, /* 152 = */ + { 0, (sy_call_t *)nosys }, /* 153 = */ + { 0, (sy_call_t *)nosys }, /* 154 = */ + { 0, (sy_call_t *)nosys }, /* 155 = */ + { 4, (sy_call_t *)osf1_sigaction }, /* 156 = osf1_sigaction */ + { 0, (sy_call_t *)nosys }, /* 157 = */ + { 0, (sy_call_t *)nosys }, /* 158 = nfssvc */ + { 4, (sy_call_t *)ogetdirentries }, /* 159 = ogetdirentries */ + { 3, (sy_call_t *)osf1_statfs }, /* 160 = osf1_statfs */ + { 3, (sy_call_t *)osf1_fstatfs }, /* 161 = osf1_fstatfs */ + { 0, (sy_call_t *)nosys }, /* 162 = */ + { 0, (sy_call_t *)nosys }, /* 163 = async_daemon */ + { 0, (sy_call_t *)nosys }, /* 164 = getfh */ + { 2, (sy_call_t *)getdomainname }, /* 165 = getdomainname */ + { 2, (sy_call_t *)setdomainname }, /* 166 = setdomainname */ + { 0, (sy_call_t *)nosys }, /* 167 = */ + { 0, (sy_call_t *)nosys }, /* 168 = */ + { 0, (sy_call_t *)nosys }, /* 169 = exportfs */ + { 0, (sy_call_t *)nosys }, /* 170 = */ + { 0, (sy_call_t *)nosys }, /* 171 = */ + { 0, (sy_call_t *)nosys }, /* 172 = alt msgctl */ + { 0, (sy_call_t *)nosys }, /* 173 = alt msgget */ + { 0, (sy_call_t *)nosys }, /* 174 = alt msgrcv */ + { 0, (sy_call_t *)nosys }, /* 175 = alt msgsnd */ + { 0, (sy_call_t *)nosys }, /* 176 = alt semctl */ + { 0, (sy_call_t *)nosys }, /* 177 = alt semget */ + { 0, (sy_call_t *)nosys }, /* 178 = alt semop */ + { 0, (sy_call_t *)nosys }, /* 179 = alt uname */ + { 0, (sy_call_t *)nosys }, /* 180 = */ + { 0, (sy_call_t *)nosys }, /* 181 = alt plock */ + { 0, (sy_call_t *)nosys }, /* 182 = lockf */ + { 0, (sy_call_t *)nosys }, /* 183 = */ + { 0, (sy_call_t *)nosys }, /* 184 = getmnt */ + { 0, (sy_call_t *)nosys }, /* 185 = */ + { 0, (sy_call_t *)nosys }, /* 186 = unmount */ + { 0, (sy_call_t *)nosys }, /* 187 = alt sigpending */ + { 0, (sy_call_t *)nosys }, /* 188 = alt setsid */ + { 0, (sy_call_t *)nosys }, /* 189 = */ + { 0, (sy_call_t *)nosys }, /* 190 = */ + { 0, (sy_call_t *)nosys }, /* 191 = */ + { 0, (sy_call_t *)nosys }, /* 192 = */ + { 0, (sy_call_t *)nosys }, /* 193 = */ + { 0, (sy_call_t *)nosys }, /* 194 = */ + { 0, (sy_call_t *)nosys }, /* 195 = */ + { 0, (sy_call_t *)nosys }, /* 196 = */ + { 0, (sy_call_t *)nosys }, /* 197 = */ + { 0, (sy_call_t *)nosys }, /* 198 = */ + { 0, (sy_call_t *)nosys }, /* 199 = swapon */ + { 3, (sy_call_t *)msgctl }, /* 200 = msgctl */ + { 2, (sy_call_t *)msgget }, /* 201 = msgget */ + { 5, (sy_call_t *)msgrcv }, /* 202 = msgrcv */ + { 4, (sy_call_t *)msgsnd }, /* 203 = msgsnd */ + { 4, (sy_call_t *)__semctl }, /* 204 = __semctl */ + { 3, (sy_call_t *)semget }, /* 205 = semget */ + { 3, (sy_call_t *)semop }, /* 206 = semop */ + { 1, (sy_call_t *)uname }, /* 207 = uname */ + { 3, (sy_call_t *)lchown }, /* 208 = lchown */ + { 3, (sy_call_t *)shmat }, /* 209 = shmat */ + { 3, (sy_call_t *)shmctl }, /* 210 = shmctl */ + { 1, (sy_call_t *)shmdt }, /* 211 = shmdt */ + { 3, (sy_call_t *)shmget }, /* 212 = shmget */ + { 0, (sy_call_t *)nosys }, /* 213 = mvalid */ + { 0, (sy_call_t *)nosys }, /* 214 = getaddressconf */ + { 0, (sy_call_t *)nosys }, /* 215 = msleep */ + { 0, (sy_call_t *)nosys }, /* 216 = mwakeup */ + { 3, (sy_call_t *)osf1_msync }, /* 217 = osf1_msync */ + { 2, (sy_call_t *)osf1_signal }, /* 218 = osf1_signal */ + { 0, (sy_call_t *)nosys }, /* 219 = utc gettime */ + { 0, (sy_call_t *)nosys }, /* 220 = utc adjtime */ + { 0, (sy_call_t *)nosys }, /* 221 = */ + { 0, (sy_call_t *)nosys }, /* 222 = security */ + { 0, (sy_call_t *)nosys }, /* 223 = kloadcall */ + { 0, (sy_call_t *)nosys }, /* 224 = */ + { 0, (sy_call_t *)nosys }, /* 225 = */ + { 0, (sy_call_t *)nosys }, /* 226 = */ + { 0, (sy_call_t *)nosys }, /* 227 = */ + { 0, (sy_call_t *)nosys }, /* 228 = */ + { 0, (sy_call_t *)nosys }, /* 229 = */ + { 0, (sy_call_t *)nosys }, /* 230 = */ + { 0, (sy_call_t *)nosys }, /* 231 = */ + { 0, (sy_call_t *)nosys }, /* 232 = */ + { 1, (sy_call_t *)getpgid }, /* 233 = getpgid */ + { 1, (sy_call_t *)getsid }, /* 234 = getsid */ + { 2, (sy_call_t *)osf1_sigaltstack }, /* 235 = osf1_sigaltstack */ + { 0, (sy_call_t *)nosys }, /* 236 = waitid */ + { 0, (sy_call_t *)nosys }, /* 237 = priocntlset */ + { 0, (sy_call_t *)nosys }, /* 238 = sigsendset */ + { 0, (sy_call_t *)nosys }, /* 239 = */ + { 0, (sy_call_t *)nosys }, /* 240 = msfs_syscall */ + { 3, (sy_call_t *)osf1_sysinfo }, /* 241 = osf1_sysinfo */ + { 0, (sy_call_t *)nosys }, /* 242 = uadmin */ + { 0, (sy_call_t *)nosys }, /* 243 = fuser */ + { 0, (sy_call_t *)osf1_proplist_syscall }, /* 244 = osf1_proplist_syscall */ + { 1, (sy_call_t *)osf1_ntpadjtime }, /* 245 = osf1_ntpadjtime */ + { 1, (sy_call_t *)osf1_ntpgettime }, /* 246 = osf1_ntpgettime */ + { 2, (sy_call_t *)osf1_pathconf }, /* 247 = osf1_pathconf */ + { 2, (sy_call_t *)osf1_fpathconf }, /* 248 = osf1_fpathconf */ + { 0, (sy_call_t *)nosys }, /* 249 = */ + { 2, (sy_call_t *)osf1_uswitch }, /* 250 = osf1_uswitch */ + { 2, (sy_call_t *)osf1_usleep_thread }, /* 251 = osf1_usleep_thread */ + { 0, (sy_call_t *)nosys }, /* 252 = audcntl */ + { 0, (sy_call_t *)nosys }, /* 253 = audgen */ + { 0, (sy_call_t *)nosys }, /* 254 = sysfs */ + { 0, (sy_call_t *)nosys }, /* 255 = */ + { 5, (sy_call_t *)osf1_getsysinfo }, /* 256 = osf1_getsysinfo */ + { 5, (sy_call_t *)osf1_setsysinfo }, /* 257 = osf1_setsysinfo */ + { 0, (sy_call_t *)nosys }, /* 258 = afs_syscall */ + { 0, (sy_call_t *)nosys }, /* 259 = swapctl */ + { 0, (sy_call_t *)nosys }, /* 260 = memcntl */ + { 0, (sy_call_t *)nosys }, /* 261 = */ + { 0, (sy_call_t *)nosys }, /* 262 = */ + { 0, (sy_call_t *)nosys }, /* 263 = */ + { 0, (sy_call_t *)nosys }, /* 264 = */ + { 0, (sy_call_t *)nosys }, /* 265 = */ + { 0, (sy_call_t *)nosys }, /* 266 = */ + { 0, (sy_call_t *)nosys }, /* 267 = */ + { 0, (sy_call_t *)nosys }, /* 268 = */ + { 0, (sy_call_t *)nosys }, /* 269 = */ + { 0, (sy_call_t *)nosys }, /* 270 = */ + { 0, (sy_call_t *)nosys }, /* 271 = */ + { 0, (sy_call_t *)nosys }, /* 272 = */ + { 0, (sy_call_t *)nosys }, /* 273 = */ + { 0, (sy_call_t *)nosys }, /* 274 = */ + { 0, (sy_call_t *)nosys }, /* 275 = */ + { 0, (sy_call_t *)nosys }, /* 276 = */ + { 0, (sy_call_t *)nosys }, /* 277 = */ + { 0, (sy_call_t *)nosys }, /* 278 = */ + { 0, (sy_call_t *)nosys }, /* 279 = */ + { 0, (sy_call_t *)nosys }, /* 280 = */ + { 0, (sy_call_t *)nosys }, /* 281 = */ + { 0, (sy_call_t *)nosys }, /* 282 = */ + { 0, (sy_call_t *)nosys }, /* 283 = */ + { 0, (sy_call_t *)nosys }, /* 284 = */ + { 0, (sy_call_t *)nosys }, /* 285 = */ + { 0, (sy_call_t *)nosys }, /* 286 = */ + { 0, (sy_call_t *)nosys }, /* 287 = */ + { 0, (sy_call_t *)nosys }, /* 288 = */ + { 0, (sy_call_t *)nosys }, /* 289 = */ + { 0, (sy_call_t *)nosys }, /* 290 = */ + { 0, (sy_call_t *)nosys }, /* 291 = */ + { 0, (sy_call_t *)nosys }, /* 292 = */ + { 0, (sy_call_t *)nosys }, /* 293 = */ + { 0, (sy_call_t *)nosys }, /* 294 = */ + { 0, (sy_call_t *)nosys }, /* 295 = */ + { 0, (sy_call_t *)nosys }, /* 296 = */ + { 0, (sy_call_t *)nosys }, /* 297 = */ + { 0, (sy_call_t *)nosys }, /* 298 = */ + { 0, (sy_call_t *)nosys }, /* 299 = */ + { 0, (sy_call_t *)nosys }, /* 300 = */ +}; |