diff --git a/sys/i386/ibcs2/ibcs2_proto.h b/sys/i386/ibcs2/ibcs2_proto.h index 4521e741a87f..a747cb5a40d9 100644 --- a/sys/i386/ibcs2/ibcs2_proto.h +++ b/sys/i386/ibcs2/ibcs2_proto.h @@ -1,356 +1,356 @@ /* * System call prototypes. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/ibcs2/syscalls.master,v 1.26 2006/07/14 15:30:50 jhb Exp + * created from FreeBSD: src/sys/i386/ibcs2/syscalls.master,v 1.27 2006/07/14 15:42:21 jhb Exp */ #ifndef _IBCS2_SYSPROTO_H_ #define _IBCS2_SYSPROTO_H_ #include #include #include #include #include #include struct proc; struct thread; #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ 0 : sizeof(register_t) - sizeof(t)) #if BYTE_ORDER == LITTLE_ENDIAN #define PADL_(t) 0 #define PADR_(t) PAD_(t) #else #define PADL_(t) PAD_(t) #define PADR_(t) 0 #endif struct ibcs2_read_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; char nbytes_l_[PADL_(u_int)]; u_int nbytes; char nbytes_r_[PADR_(u_int)]; }; struct ibcs2_open_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; }; struct ibcs2_wait_args { char a1_l_[PADL_(int)]; int a1; char a1_r_[PADR_(int)]; char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; }; struct ibcs2_creat_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; }; struct ibcs2_unlink_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; }; struct ibcs2_execv_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char argp_l_[PADL_(char **)]; char ** argp; char argp_r_[PADR_(char **)]; }; struct ibcs2_chdir_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; }; struct ibcs2_time_args { char tp_l_[PADL_(ibcs2_time_t *)]; ibcs2_time_t * tp; char tp_r_[PADR_(ibcs2_time_t *)]; }; struct ibcs2_mknod_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; char dev_l_[PADL_(int)]; int dev; char dev_r_[PADR_(int)]; }; struct ibcs2_chmod_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; }; struct ibcs2_chown_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)]; char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)]; }; struct ibcs2_stat_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char st_l_[PADL_(struct ibcs2_stat *)]; struct ibcs2_stat * st; char st_r_[PADR_(struct ibcs2_stat *)]; }; struct ibcs2_lseek_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char offset_l_[PADL_(long)]; long offset; char offset_r_[PADR_(long)]; char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; }; struct ibcs2_mount_args { char special_l_[PADL_(char *)]; char * special; char special_r_[PADR_(char *)]; char dir_l_[PADL_(char *)]; char * dir; char dir_r_[PADR_(char *)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; char fstype_l_[PADL_(int)]; int fstype; char fstype_r_[PADR_(int)]; char data_l_[PADL_(char *)]; char * data; char data_r_[PADR_(char *)]; char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)]; }; struct ibcs2_umount_args { char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)]; }; struct ibcs2_setuid_args { char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)]; }; struct ibcs2_stime_args { char timep_l_[PADL_(long *)]; long * timep; char timep_r_[PADR_(long *)]; }; struct ibcs2_alarm_args { char sec_l_[PADL_(unsigned)]; unsigned sec; char sec_r_[PADR_(unsigned)]; }; struct ibcs2_fstat_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char st_l_[PADL_(struct ibcs2_stat *)]; struct ibcs2_stat * st; char st_r_[PADR_(struct ibcs2_stat *)]; }; struct ibcs2_pause_args { register_t dummy; }; struct ibcs2_utime_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char buf_l_[PADL_(struct ibcs2_utimbuf *)]; struct ibcs2_utimbuf * buf; char buf_r_[PADR_(struct ibcs2_utimbuf *)]; }; struct ibcs2_stty_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char buf_l_[PADL_(struct sgttyb *)]; struct sgttyb * buf; char buf_r_[PADR_(struct sgttyb *)]; }; struct ibcs2_gtty_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char buf_l_[PADL_(struct sgttyb *)]; struct sgttyb * buf; char buf_r_[PADR_(struct sgttyb *)]; }; struct ibcs2_access_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; }; struct ibcs2_nice_args { char incr_l_[PADL_(int)]; int incr; char incr_r_[PADR_(int)]; }; struct ibcs2_statfs_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char buf_l_[PADL_(struct ibcs2_statfs *)]; struct ibcs2_statfs * buf; char buf_r_[PADR_(struct ibcs2_statfs *)]; char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)]; char fstype_l_[PADL_(int)]; int fstype; char fstype_r_[PADR_(int)]; }; struct ibcs2_kill_args { char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; char signo_l_[PADL_(int)]; int signo; char signo_r_[PADR_(int)]; }; struct ibcs2_fstatfs_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char buf_l_[PADL_(struct ibcs2_statfs *)]; struct ibcs2_statfs * buf; char buf_r_[PADR_(struct ibcs2_statfs *)]; char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)]; char fstype_l_[PADL_(int)]; int fstype; char fstype_r_[PADR_(int)]; }; struct ibcs2_pgrpsys_args { char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)]; char dummy_l_[PADL_(caddr_t)]; caddr_t dummy; char dummy_r_[PADR_(caddr_t)]; char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; char pgid_l_[PADL_(int)]; int pgid; char pgid_r_[PADR_(int)]; }; struct ibcs2_xenix_args { char a1_l_[PADL_(int)]; int a1; char a1_r_[PADR_(int)]; char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; }; struct ibcs2_times_args { char tp_l_[PADL_(struct tms *)]; struct tms * tp; char tp_r_[PADR_(struct tms *)]; }; struct ibcs2_plock_args { char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; }; struct ibcs2_setgid_args { char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)]; }; struct ibcs2_sigsys_args { char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)]; char fp_l_[PADL_(ibcs2_sig_t)]; ibcs2_sig_t fp; char fp_r_[PADR_(ibcs2_sig_t)]; }; struct ibcs2_msgsys_args { char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; char a6_l_[PADL_(int)]; int a6; char a6_r_[PADR_(int)]; }; struct ibcs2_sysi86_args { char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; char arg_l_[PADL_(int *)]; int * arg; char arg_r_[PADR_(int *)]; }; struct ibcs2_shmsys_args { char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; }; struct ibcs2_semsys_args { char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; }; struct ibcs2_ioctl_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; char data_l_[PADL_(caddr_t)]; caddr_t data; char data_r_[PADR_(caddr_t)]; }; struct ibcs2_uadmin_args { char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; char func_l_[PADL_(int)]; int func; char func_r_[PADR_(int)]; char data_l_[PADL_(caddr_t)]; caddr_t data; char data_r_[PADR_(caddr_t)]; }; struct ibcs2_utssys_args { char a1_l_[PADL_(int)]; int a1; char a1_r_[PADR_(int)]; char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; }; struct ibcs2_execve_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char argp_l_[PADL_(char **)]; char ** argp; char argp_r_[PADR_(char **)]; char envp_l_[PADL_(char **)]; char ** envp; char envp_r_[PADR_(char **)]; }; struct ibcs2_fcntl_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; char arg_l_[PADL_(char *)]; char * arg; char arg_r_[PADR_(char *)]; }; struct ibcs2_ulimit_args { char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; char newlimit_l_[PADL_(int)]; int newlimit; char newlimit_r_[PADR_(int)]; }; struct ibcs2_rmdir_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; }; struct ibcs2_mkdir_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; }; struct ibcs2_getdents_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; char nbytes_l_[PADL_(int)]; int nbytes; char nbytes_r_[PADR_(int)]; }; struct ibcs2_sysfs_args { char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; char d1_l_[PADL_(caddr_t)]; caddr_t d1; char d1_r_[PADR_(caddr_t)]; char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; }; struct ibcs2_getmsg_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char ctl_l_[PADL_(struct ibcs2_stropts *)]; struct ibcs2_stropts * ctl; char ctl_r_[PADR_(struct ibcs2_stropts *)]; char dat_l_[PADL_(struct ibcs2_stropts *)]; struct ibcs2_stropts * dat; char dat_r_[PADR_(struct ibcs2_stropts *)]; char flags_l_[PADL_(int *)]; int * flags; char flags_r_[PADR_(int *)]; }; struct ibcs2_putmsg_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char ctl_l_[PADL_(struct ibcs2_stropts *)]; struct ibcs2_stropts * ctl; char ctl_r_[PADR_(struct ibcs2_stropts *)]; char dat_l_[PADL_(struct ibcs2_stropts *)]; struct ibcs2_stropts * dat; char dat_r_[PADR_(struct ibcs2_stropts *)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; }; struct ibcs2_secure_args { char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; char a1_l_[PADL_(int)]; int a1; char a1_r_[PADR_(int)]; char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; }; struct ibcs2_symlink_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char link_l_[PADL_(char *)]; char * link; char link_r_[PADR_(char *)]; }; struct ibcs2_lstat_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char st_l_[PADL_(struct ibcs2_stat *)]; struct ibcs2_stat * st; char st_r_[PADR_(struct ibcs2_stat *)]; }; struct ibcs2_readlink_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; char count_l_[PADL_(int)]; int count; char count_r_[PADR_(int)]; }; struct ibcs2_isc_args { register_t dummy; }; int ibcs2_read(struct thread *, struct ibcs2_read_args *); int ibcs2_open(struct thread *, struct ibcs2_open_args *); int ibcs2_wait(struct thread *, struct ibcs2_wait_args *); int ibcs2_creat(struct thread *, struct ibcs2_creat_args *); int ibcs2_unlink(struct thread *, struct ibcs2_unlink_args *); int ibcs2_execv(struct thread *, struct ibcs2_execv_args *); int ibcs2_chdir(struct thread *, struct ibcs2_chdir_args *); int ibcs2_time(struct thread *, struct ibcs2_time_args *); int ibcs2_mknod(struct thread *, struct ibcs2_mknod_args *); int ibcs2_chmod(struct thread *, struct ibcs2_chmod_args *); int ibcs2_chown(struct thread *, struct ibcs2_chown_args *); int ibcs2_stat(struct thread *, struct ibcs2_stat_args *); int ibcs2_lseek(struct thread *, struct ibcs2_lseek_args *); int ibcs2_mount(struct thread *, struct ibcs2_mount_args *); int ibcs2_umount(struct thread *, struct ibcs2_umount_args *); int ibcs2_setuid(struct thread *, struct ibcs2_setuid_args *); int ibcs2_stime(struct thread *, struct ibcs2_stime_args *); int ibcs2_alarm(struct thread *, struct ibcs2_alarm_args *); int ibcs2_fstat(struct thread *, struct ibcs2_fstat_args *); int ibcs2_pause(struct thread *, struct ibcs2_pause_args *); int ibcs2_utime(struct thread *, struct ibcs2_utime_args *); int ibcs2_stty(struct thread *, struct ibcs2_stty_args *); int ibcs2_gtty(struct thread *, struct ibcs2_gtty_args *); int ibcs2_access(struct thread *, struct ibcs2_access_args *); int ibcs2_nice(struct thread *, struct ibcs2_nice_args *); int ibcs2_statfs(struct thread *, struct ibcs2_statfs_args *); int ibcs2_kill(struct thread *, struct ibcs2_kill_args *); int ibcs2_fstatfs(struct thread *, struct ibcs2_fstatfs_args *); int ibcs2_pgrpsys(struct thread *, struct ibcs2_pgrpsys_args *); int ibcs2_xenix(struct thread *, struct ibcs2_xenix_args *); int ibcs2_times(struct thread *, struct ibcs2_times_args *); int ibcs2_plock(struct thread *, struct ibcs2_plock_args *); int ibcs2_setgid(struct thread *, struct ibcs2_setgid_args *); int ibcs2_sigsys(struct thread *, struct ibcs2_sigsys_args *); int ibcs2_msgsys(struct thread *, struct ibcs2_msgsys_args *); int ibcs2_sysi86(struct thread *, struct ibcs2_sysi86_args *); int ibcs2_shmsys(struct thread *, struct ibcs2_shmsys_args *); int ibcs2_semsys(struct thread *, struct ibcs2_semsys_args *); int ibcs2_ioctl(struct thread *, struct ibcs2_ioctl_args *); int ibcs2_uadmin(struct thread *, struct ibcs2_uadmin_args *); int ibcs2_utssys(struct thread *, struct ibcs2_utssys_args *); int ibcs2_execve(struct thread *, struct ibcs2_execve_args *); int ibcs2_fcntl(struct thread *, struct ibcs2_fcntl_args *); int ibcs2_ulimit(struct thread *, struct ibcs2_ulimit_args *); int ibcs2_rmdir(struct thread *, struct ibcs2_rmdir_args *); int ibcs2_mkdir(struct thread *, struct ibcs2_mkdir_args *); int ibcs2_getdents(struct thread *, struct ibcs2_getdents_args *); int ibcs2_sysfs(struct thread *, struct ibcs2_sysfs_args *); int ibcs2_getmsg(struct thread *, struct ibcs2_getmsg_args *); int ibcs2_putmsg(struct thread *, struct ibcs2_putmsg_args *); int ibcs2_secure(struct thread *, struct ibcs2_secure_args *); int ibcs2_symlink(struct thread *, struct ibcs2_symlink_args *); int ibcs2_lstat(struct thread *, struct ibcs2_lstat_args *); int ibcs2_readlink(struct thread *, struct ibcs2_readlink_args *); int ibcs2_isc(struct thread *, struct ibcs2_isc_args *); #ifdef COMPAT_43 #endif /* COMPAT_43 */ #ifdef COMPAT_FREEBSD4 #endif /* COMPAT_FREEBSD4 */ #undef PAD_ #undef PADL_ #undef PADR_ #endif /* !_IBCS2_SYSPROTO_H_ */ diff --git a/sys/i386/ibcs2/ibcs2_syscall.h b/sys/i386/ibcs2/ibcs2_syscall.h index 8decee793d7f..9cc4ad38af8c 100644 --- a/sys/i386/ibcs2/ibcs2_syscall.h +++ b/sys/i386/ibcs2/ibcs2_syscall.h @@ -1,92 +1,92 @@ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/ibcs2/syscalls.master,v 1.26 2006/07/14 15:30:50 jhb Exp + * created from FreeBSD: src/sys/i386/ibcs2/syscalls.master,v 1.27 2006/07/14 15:42:21 jhb Exp */ #define IBCS2_SYS_syscall 0 #define IBCS2_SYS_exit 1 #define IBCS2_SYS_fork 2 #define IBCS2_SYS_ibcs2_read 3 #define IBCS2_SYS_write 4 #define IBCS2_SYS_ibcs2_open 5 #define IBCS2_SYS_close 6 #define IBCS2_SYS_ibcs2_wait 7 #define IBCS2_SYS_ibcs2_creat 8 #define IBCS2_SYS_link 9 #define IBCS2_SYS_ibcs2_unlink 10 #define IBCS2_SYS_ibcs2_execv 11 #define IBCS2_SYS_ibcs2_chdir 12 #define IBCS2_SYS_ibcs2_time 13 #define IBCS2_SYS_ibcs2_mknod 14 #define IBCS2_SYS_ibcs2_chmod 15 #define IBCS2_SYS_ibcs2_chown 16 #define IBCS2_SYS_obreak 17 #define IBCS2_SYS_ibcs2_stat 18 #define IBCS2_SYS_ibcs2_lseek 19 #define IBCS2_SYS_getpid 20 #define IBCS2_SYS_ibcs2_mount 21 #define IBCS2_SYS_ibcs2_umount 22 #define IBCS2_SYS_ibcs2_setuid 23 #define IBCS2_SYS_getuid 24 #define IBCS2_SYS_ibcs2_stime 25 #define IBCS2_SYS_ptrace 26 #define IBCS2_SYS_ibcs2_alarm 27 #define IBCS2_SYS_ibcs2_fstat 28 #define IBCS2_SYS_ibcs2_pause 29 #define IBCS2_SYS_ibcs2_utime 30 #define IBCS2_SYS_ibcs2_stty 31 #define IBCS2_SYS_ibcs2_gtty 32 #define IBCS2_SYS_ibcs2_access 33 #define IBCS2_SYS_ibcs2_nice 34 #define IBCS2_SYS_ibcs2_statfs 35 #define IBCS2_SYS_sync 36 #define IBCS2_SYS_ibcs2_kill 37 #define IBCS2_SYS_ibcs2_fstatfs 38 #define IBCS2_SYS_ibcs2_pgrpsys 39 #define IBCS2_SYS_ibcs2_xenix 40 #define IBCS2_SYS_dup 41 #define IBCS2_SYS_pipe 42 #define IBCS2_SYS_ibcs2_times 43 #define IBCS2_SYS_profil 44 #define IBCS2_SYS_ibcs2_plock 45 #define IBCS2_SYS_ibcs2_setgid 46 #define IBCS2_SYS_getgid 47 #define IBCS2_SYS_ibcs2_sigsys 48 #define IBCS2_SYS_ibcs2_msgsys 49 #define IBCS2_SYS_ibcs2_sysi86 50 #define IBCS2_SYS_ibcs2_shmsys 52 #define IBCS2_SYS_ibcs2_semsys 53 #define IBCS2_SYS_ibcs2_ioctl 54 #define IBCS2_SYS_ibcs2_uadmin 55 #define IBCS2_SYS_ibcs2_utssys 57 #define IBCS2_SYS_fsync 58 #define IBCS2_SYS_ibcs2_execve 59 #define IBCS2_SYS_umask 60 #define IBCS2_SYS_chroot 61 #define IBCS2_SYS_ibcs2_fcntl 62 #define IBCS2_SYS_ibcs2_ulimit 63 /* 70 is obsolete rfs_advfs */ /* 71 is obsolete rfs_unadvfs */ /* 72 is obsolete rfs_rmount */ /* 73 is obsolete rfs_rumount */ /* 74 is obsolete rfs_rfstart */ /* 75 is obsolete rfs_sigret */ /* 76 is obsolete rfs_rdebug */ /* 77 is obsolete rfs_rfstop */ #define IBCS2_SYS_ibcs2_rmdir 79 #define IBCS2_SYS_ibcs2_mkdir 80 #define IBCS2_SYS_ibcs2_getdents 81 #define IBCS2_SYS_ibcs2_sysfs 84 #define IBCS2_SYS_ibcs2_getmsg 85 #define IBCS2_SYS_ibcs2_putmsg 86 #define IBCS2_SYS_poll 87 #define IBCS2_SYS_ibcs2_secure 89 #define IBCS2_SYS_ibcs2_symlink 90 #define IBCS2_SYS_ibcs2_lstat 91 #define IBCS2_SYS_ibcs2_readlink 92 #define IBCS2_SYS_sigreturn 103 #define IBCS2_SYS_ibcs2_isc 105 #define IBCS2_SYS_MAXSYSCALL 128 diff --git a/sys/i386/ibcs2/ibcs2_sysent.c b/sys/i386/ibcs2/ibcs2_sysent.c index 3bd103a78a98..66806ed9877f 100644 --- a/sys/i386/ibcs2/ibcs2_sysent.c +++ b/sys/i386/ibcs2/ibcs2_sysent.c @@ -1,149 +1,149 @@ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/ibcs2/syscalls.master,v 1.26 2006/07/14 15:30:50 jhb Exp + * created from FreeBSD: src/sys/i386/ibcs2/syscalls.master,v 1.27 2006/07/14 15:42:21 jhb Exp */ #include #include #include #include #include #include #include #define AS(name) (sizeof(struct name) / sizeof(register_t)) /* The casts are bogus but will do for now. */ struct sysent ibcs2_sysent[] = { { SYF_MPSAFE | 0, (sy_call_t *)nosys, AUE_NULL }, /* 0 = syscall */ { SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit, AUE_EXIT }, /* 1 = exit */ { SYF_MPSAFE | 0, (sy_call_t *)fork, AUE_FORK }, /* 2 = fork */ { SYF_MPSAFE | AS(ibcs2_read_args), (sy_call_t *)ibcs2_read, AUE_NULL }, /* 3 = ibcs2_read */ { SYF_MPSAFE | AS(write_args), (sy_call_t *)write, AUE_NULL }, /* 4 = write */ { SYF_MPSAFE | AS(ibcs2_open_args), (sy_call_t *)ibcs2_open, AUE_OPEN_RWTC }, /* 5 = ibcs2_open */ { SYF_MPSAFE | AS(close_args), (sy_call_t *)close, AUE_CLOSE }, /* 6 = close */ { SYF_MPSAFE | AS(ibcs2_wait_args), (sy_call_t *)ibcs2_wait, AUE_WAIT4 }, /* 7 = ibcs2_wait */ { SYF_MPSAFE | AS(ibcs2_creat_args), (sy_call_t *)ibcs2_creat, AUE_CREAT }, /* 8 = ibcs2_creat */ { SYF_MPSAFE | AS(link_args), (sy_call_t *)link, AUE_LINK }, /* 9 = link */ { SYF_MPSAFE | AS(ibcs2_unlink_args), (sy_call_t *)ibcs2_unlink, AUE_UNLINK }, /* 10 = ibcs2_unlink */ { SYF_MPSAFE | AS(ibcs2_execv_args), (sy_call_t *)ibcs2_execv, AUE_EXECVE }, /* 11 = ibcs2_execv */ { SYF_MPSAFE | AS(ibcs2_chdir_args), (sy_call_t *)ibcs2_chdir, AUE_CHDIR }, /* 12 = ibcs2_chdir */ { SYF_MPSAFE | AS(ibcs2_time_args), (sy_call_t *)ibcs2_time, AUE_NULL }, /* 13 = ibcs2_time */ { SYF_MPSAFE | AS(ibcs2_mknod_args), (sy_call_t *)ibcs2_mknod, AUE_MKNOD }, /* 14 = ibcs2_mknod */ { SYF_MPSAFE | AS(ibcs2_chmod_args), (sy_call_t *)ibcs2_chmod, AUE_CHMOD }, /* 15 = ibcs2_chmod */ { SYF_MPSAFE | AS(ibcs2_chown_args), (sy_call_t *)ibcs2_chown, AUE_CHOWN }, /* 16 = ibcs2_chown */ { SYF_MPSAFE | AS(obreak_args), (sy_call_t *)obreak, AUE_NULL }, /* 17 = obreak */ { SYF_MPSAFE | AS(ibcs2_stat_args), (sy_call_t *)ibcs2_stat, AUE_STAT }, /* 18 = ibcs2_stat */ { SYF_MPSAFE | AS(ibcs2_lseek_args), (sy_call_t *)ibcs2_lseek, AUE_LSEEK }, /* 19 = ibcs2_lseek */ { SYF_MPSAFE | 0, (sy_call_t *)getpid, AUE_NULL }, /* 20 = getpid */ { SYF_MPSAFE | AS(ibcs2_mount_args), (sy_call_t *)ibcs2_mount, AUE_MOUNT }, /* 21 = ibcs2_mount */ { SYF_MPSAFE | AS(ibcs2_umount_args), (sy_call_t *)ibcs2_umount, AUE_UMOUNT }, /* 22 = ibcs2_umount */ { SYF_MPSAFE | AS(ibcs2_setuid_args), (sy_call_t *)ibcs2_setuid, AUE_SETUID }, /* 23 = ibcs2_setuid */ { SYF_MPSAFE | 0, (sy_call_t *)getuid, AUE_GETUID }, /* 24 = getuid */ { SYF_MPSAFE | AS(ibcs2_stime_args), (sy_call_t *)ibcs2_stime, AUE_SETTIMEOFDAY }, /* 25 = ibcs2_stime */ { SYF_MPSAFE | AS(ptrace_args), (sy_call_t *)ptrace, AUE_PTRACE }, /* 26 = ptrace */ { SYF_MPSAFE | AS(ibcs2_alarm_args), (sy_call_t *)ibcs2_alarm, AUE_NULL }, /* 27 = ibcs2_alarm */ { SYF_MPSAFE | AS(ibcs2_fstat_args), (sy_call_t *)ibcs2_fstat, AUE_FSTAT }, /* 28 = ibcs2_fstat */ { SYF_MPSAFE | 0, (sy_call_t *)ibcs2_pause, AUE_NULL }, /* 29 = ibcs2_pause */ { SYF_MPSAFE | AS(ibcs2_utime_args), (sy_call_t *)ibcs2_utime, AUE_NULL }, /* 30 = ibcs2_utime */ { SYF_MPSAFE | AS(ibcs2_stty_args), (sy_call_t *)ibcs2_stty, AUE_NULL }, /* 31 = ibcs2_stty */ { SYF_MPSAFE | AS(ibcs2_gtty_args), (sy_call_t *)ibcs2_gtty, AUE_NULL }, /* 32 = ibcs2_gtty */ { SYF_MPSAFE | AS(ibcs2_access_args), (sy_call_t *)ibcs2_access, AUE_ACCESS }, /* 33 = ibcs2_access */ { SYF_MPSAFE | AS(ibcs2_nice_args), (sy_call_t *)ibcs2_nice, AUE_NICE }, /* 34 = ibcs2_nice */ { SYF_MPSAFE | AS(ibcs2_statfs_args), (sy_call_t *)ibcs2_statfs, AUE_STATFS }, /* 35 = ibcs2_statfs */ { SYF_MPSAFE | 0, (sy_call_t *)sync, AUE_NULL }, /* 36 = sync */ { SYF_MPSAFE | AS(ibcs2_kill_args), (sy_call_t *)ibcs2_kill, AUE_KILL }, /* 37 = ibcs2_kill */ { SYF_MPSAFE | AS(ibcs2_fstatfs_args), (sy_call_t *)ibcs2_fstatfs, AUE_FSTATFS }, /* 38 = ibcs2_fstatfs */ { SYF_MPSAFE | AS(ibcs2_pgrpsys_args), (sy_call_t *)ibcs2_pgrpsys, AUE_NULL }, /* 39 = ibcs2_pgrpsys */ { SYF_MPSAFE | AS(ibcs2_xenix_args), (sy_call_t *)ibcs2_xenix, AUE_NULL }, /* 40 = ibcs2_xenix */ { SYF_MPSAFE | AS(dup_args), (sy_call_t *)dup, AUE_NULL }, /* 41 = dup */ { SYF_MPSAFE | 0, (sy_call_t *)pipe, AUE_PIPE }, /* 42 = pipe */ { SYF_MPSAFE | AS(ibcs2_times_args), (sy_call_t *)ibcs2_times, AUE_NULL }, /* 43 = ibcs2_times */ { SYF_MPSAFE | AS(profil_args), (sy_call_t *)profil, AUE_PROFILE }, /* 44 = profil */ { SYF_MPSAFE | AS(ibcs2_plock_args), (sy_call_t *)ibcs2_plock, AUE_NULL }, /* 45 = ibcs2_plock */ { SYF_MPSAFE | AS(ibcs2_setgid_args), (sy_call_t *)ibcs2_setgid, AUE_SETGID }, /* 46 = ibcs2_setgid */ { SYF_MPSAFE | 0, (sy_call_t *)getgid, AUE_GETGID }, /* 47 = getgid */ { SYF_MPSAFE | AS(ibcs2_sigsys_args), (sy_call_t *)ibcs2_sigsys, AUE_NULL }, /* 48 = ibcs2_sigsys */ { SYF_MPSAFE | AS(ibcs2_msgsys_args), (sy_call_t *)ibcs2_msgsys, AUE_MSGSYS }, /* 49 = ibcs2_msgsys */ { SYF_MPSAFE | AS(ibcs2_sysi86_args), (sy_call_t *)ibcs2_sysi86, AUE_NULL }, /* 50 = ibcs2_sysi86 */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 51 = ibcs2_acct */ { SYF_MPSAFE | AS(ibcs2_shmsys_args), (sy_call_t *)ibcs2_shmsys, AUE_SHMSYS }, /* 52 = ibcs2_shmsys */ { SYF_MPSAFE | AS(ibcs2_semsys_args), (sy_call_t *)ibcs2_semsys, AUE_SEMSYS }, /* 53 = ibcs2_semsys */ - { AS(ibcs2_ioctl_args), (sy_call_t *)ibcs2_ioctl, AUE_IOCTL }, /* 54 = ibcs2_ioctl */ + { SYF_MPSAFE | AS(ibcs2_ioctl_args), (sy_call_t *)ibcs2_ioctl, AUE_IOCTL }, /* 54 = ibcs2_ioctl */ { SYF_MPSAFE | AS(ibcs2_uadmin_args), (sy_call_t *)ibcs2_uadmin, AUE_NULL }, /* 55 = ibcs2_uadmin */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 56 = nosys */ { SYF_MPSAFE | AS(ibcs2_utssys_args), (sy_call_t *)ibcs2_utssys, AUE_NULL }, /* 57 = ibcs2_utssys */ { SYF_MPSAFE | AS(fsync_args), (sy_call_t *)fsync, AUE_FSYNC }, /* 58 = fsync */ { SYF_MPSAFE | AS(ibcs2_execve_args), (sy_call_t *)ibcs2_execve, AUE_EXECVE }, /* 59 = ibcs2_execve */ { SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask, AUE_UMASK }, /* 60 = umask */ { SYF_MPSAFE | AS(chroot_args), (sy_call_t *)chroot, AUE_CHROOT }, /* 61 = chroot */ { SYF_MPSAFE | AS(ibcs2_fcntl_args), (sy_call_t *)ibcs2_fcntl, AUE_FCNTL }, /* 62 = ibcs2_fcntl */ { SYF_MPSAFE | AS(ibcs2_ulimit_args), (sy_call_t *)ibcs2_ulimit, AUE_NULL }, /* 63 = ibcs2_ulimit */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 64 = reserved for unix/pc */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 65 = reserved for unix/pc */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 66 = reserved for unix/pc */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 67 = reserved for unix/pc */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 68 = reserved for unix/pc */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 69 = reserved for unix/pc */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 70 = obsolete rfs_advfs */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 71 = obsolete rfs_unadvfs */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 72 = obsolete rfs_rmount */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 73 = obsolete rfs_rumount */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 74 = obsolete rfs_rfstart */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 75 = obsolete rfs_sigret */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 76 = obsolete rfs_rdebug */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 77 = obsolete rfs_rfstop */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 78 = rfs_rfsys */ { SYF_MPSAFE | AS(ibcs2_rmdir_args), (sy_call_t *)ibcs2_rmdir, AUE_RMDIR }, /* 79 = ibcs2_rmdir */ { SYF_MPSAFE | AS(ibcs2_mkdir_args), (sy_call_t *)ibcs2_mkdir, AUE_MKDIR }, /* 80 = ibcs2_mkdir */ { SYF_MPSAFE | AS(ibcs2_getdents_args), (sy_call_t *)ibcs2_getdents, AUE_GETDIRENTRIES }, /* 81 = ibcs2_getdents */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 82 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 83 = nosys */ { SYF_MPSAFE | AS(ibcs2_sysfs_args), (sy_call_t *)ibcs2_sysfs, AUE_NULL }, /* 84 = ibcs2_sysfs */ { SYF_MPSAFE | AS(ibcs2_getmsg_args), (sy_call_t *)ibcs2_getmsg, AUE_GETMSG }, /* 85 = ibcs2_getmsg */ { SYF_MPSAFE | AS(ibcs2_putmsg_args), (sy_call_t *)ibcs2_putmsg, AUE_PUTMSG }, /* 86 = ibcs2_putmsg */ { SYF_MPSAFE | AS(poll_args), (sy_call_t *)poll, AUE_POLL }, /* 87 = poll */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 88 = nosys */ { SYF_MPSAFE | AS(ibcs2_secure_args), (sy_call_t *)ibcs2_secure, AUE_NULL }, /* 89 = ibcs2_secure */ { SYF_MPSAFE | AS(ibcs2_symlink_args), (sy_call_t *)ibcs2_symlink, AUE_SYMLINK }, /* 90 = ibcs2_symlink */ { SYF_MPSAFE | AS(ibcs2_lstat_args), (sy_call_t *)ibcs2_lstat, AUE_LSTAT }, /* 91 = ibcs2_lstat */ { SYF_MPSAFE | AS(ibcs2_readlink_args), (sy_call_t *)ibcs2_readlink, AUE_READLINK }, /* 92 = ibcs2_readlink */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 93 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 94 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 95 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 96 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 97 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 98 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 99 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 100 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 101 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 102 = nosys */ { SYF_MPSAFE | AS(sigreturn_args), (sy_call_t *)sigreturn, AUE_NULL }, /* 103 = sigreturn */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 104 = nosys */ { SYF_MPSAFE | 0, (sy_call_t *)ibcs2_isc, AUE_NULL }, /* 105 = ibcs2_isc */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 106 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 107 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 108 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 109 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 110 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 111 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 112 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 113 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 114 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 115 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 116 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 117 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 118 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 119 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 120 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 121 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 122 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 123 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 124 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 125 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 126 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 127 = nosys */ };