makesyscalls.sh changed.

This commit is contained in:
thorpej 1995-09-19 22:13:07 +00:00
parent eecd40e854
commit d95577b1ce
2 changed files with 149 additions and 144 deletions

View File

@ -339,3 +339,152 @@ struct ibcs2_rename_args {
};
#undef syscallarg
/*
* System call prototypes.
*/
int nosys __P((struct proc *, void *, register_t *));
int exit __P((struct proc *, void *, register_t *));
int fork __P((struct proc *, void *, register_t *));
int ibcs2_read __P((struct proc *, void *, register_t *));
int write __P((struct proc *, void *, register_t *));
int ibcs2_open __P((struct proc *, void *, register_t *));
int close __P((struct proc *, void *, register_t *));
int ibcs2_waitsys __P((struct proc *, void *, register_t *));
int ibcs2_creat __P((struct proc *, void *, register_t *));
int link __P((struct proc *, void *, register_t *));
int ibcs2_unlink __P((struct proc *, void *, register_t *));
int ibcs2_execv __P((struct proc *, void *, register_t *));
int ibcs2_chdir __P((struct proc *, void *, register_t *));
int ibcs2_time __P((struct proc *, void *, register_t *));
int ibcs2_mknod __P((struct proc *, void *, register_t *));
int ibcs2_chmod __P((struct proc *, void *, register_t *));
int ibcs2_chown __P((struct proc *, void *, register_t *));
int obreak __P((struct proc *, void *, register_t *));
int ibcs2_stat __P((struct proc *, void *, register_t *));
int compat_43_lseek __P((struct proc *, void *, register_t *));
int getpid __P((struct proc *, void *, register_t *));
int ibcs2_mount __P((struct proc *, void *, register_t *));
int ibcs2_umount __P((struct proc *, void *, register_t *));
int ibcs2_setuid __P((struct proc *, void *, register_t *));
int getuid __P((struct proc *, void *, register_t *));
int ibcs2_stime __P((struct proc *, void *, register_t *));
int ibcs2_alarm __P((struct proc *, void *, register_t *));
int ibcs2_fstat __P((struct proc *, void *, register_t *));
int ibcs2_pause __P((struct proc *, void *, register_t *));
int ibcs2_utime __P((struct proc *, void *, register_t *));
int ibcs2_access __P((struct proc *, void *, register_t *));
int ibcs2_nice __P((struct proc *, void *, register_t *));
int ibcs2_statfs __P((struct proc *, void *, register_t *));
int sync __P((struct proc *, void *, register_t *));
int ibcs2_kill __P((struct proc *, void *, register_t *));
int ibcs2_fstatfs __P((struct proc *, void *, register_t *));
int ibcs2_pgrpsys __P((struct proc *, void *, register_t *));
int dup __P((struct proc *, void *, register_t *));
int pipe __P((struct proc *, void *, register_t *));
int ibcs2_times __P((struct proc *, void *, register_t *));
int ibcs2_plock __P((struct proc *, void *, register_t *));
int ibcs2_setgid __P((struct proc *, void *, register_t *));
int getgid __P((struct proc *, void *, register_t *));
int ibcs2_sigsys __P((struct proc *, void *, register_t *));
#ifdef SYSVMSG
int ibcs2_msgsys __P((struct proc *, void *, register_t *));
#else
#endif
#ifdef SYSVSHM
int ibcs2_shmsys __P((struct proc *, void *, register_t *));
#else
#endif
#ifdef SYSVSEM
int ibcs2_semsys __P((struct proc *, void *, register_t *));
#else
#endif
int ibcs2_ioctl __P((struct proc *, void *, register_t *));
int ibcs2_uadmin __P((struct proc *, void *, register_t *));
int ibcs2_utssys __P((struct proc *, void *, register_t *));
int ibcs2_execve __P((struct proc *, void *, register_t *));
int umask __P((struct proc *, void *, register_t *));
int chroot __P((struct proc *, void *, register_t *));
int ibcs2_fcntl __P((struct proc *, void *, register_t *));
int ibcs2_ulimit __P((struct proc *, void *, register_t *));
int ibcs2_rmdir __P((struct proc *, void *, register_t *));
int ibcs2_mkdir __P((struct proc *, void *, register_t *));
int ibcs2_getdents __P((struct proc *, void *, register_t *));
int ibcs2_sysfs __P((struct proc *, void *, register_t *));
int ibcs2_getmsg __P((struct proc *, void *, register_t *));
int ibcs2_putmsg __P((struct proc *, void *, register_t *));
int ibcs2_poll __P((struct proc *, void *, register_t *));
int ibcs2_symlink __P((struct proc *, void *, register_t *));
int ibcs2_lstat __P((struct proc *, void *, register_t *));
int ibcs2_readlink __P((struct proc *, void *, register_t *));
int sigreturn __P((struct proc *, void *, register_t *));
int xenix_rdchk __P((struct proc *, void *, register_t *));
int xenix_chsize __P((struct proc *, void *, register_t *));
int xenix_ftime __P((struct proc *, void *, register_t *));
int xenix_nap __P((struct proc *, void *, register_t *));
int select __P((struct proc *, void *, register_t *));
int ibcs2_sigaction __P((struct proc *, void *, register_t *));
int ibcs2_sigprocmask __P((struct proc *, void *, register_t *));
int ibcs2_sigpending __P((struct proc *, void *, register_t *));
int ibcs2_sigsuspend __P((struct proc *, void *, register_t *));
int ibcs2_getgroups __P((struct proc *, void *, register_t *));
int ibcs2_setgroups __P((struct proc *, void *, register_t *));
int ibcs2_sysconf __P((struct proc *, void *, register_t *));
int ibcs2_pathconf __P((struct proc *, void *, register_t *));
int ibcs2_fpathconf __P((struct proc *, void *, register_t *));
int ibcs2_rename __P((struct proc *, void *, register_t *));
#ifdef COMPAT_43
#define compat_43(func) __CONCAT(compat_43_,func)
#ifdef SYSVMSG
#else
#endif
#ifdef SYSVSHM
#else
#endif
#ifdef SYSVSEM
#else
#endif
#else /* COMPAT_43 */
#define compat_43(func) nosys
#endif /* COMPAT_43 */
#ifdef COMPAT_09
#define compat_09(func) __CONCAT(compat_09_,func)
#ifdef SYSVMSG
#else
#endif
#ifdef SYSVSHM
#else
#endif
#ifdef SYSVSEM
#else
#endif
#else /* COMPAT_09 */
#define compat_09(func) nosys
#endif /* COMPAT_09 */
#ifdef COMPAT_10
#define compat_10(func) __CONCAT(compat_10_,func)
#ifdef SYSVMSG
#else
#endif
#ifdef SYSVSHM
#else
#endif
#ifdef SYSVSEM
#else
#endif
#else /* COMPAT_10 */
#define compat_10(func) nosys
#endif /* COMPAT_10 */

View File

@ -14,150 +14,6 @@
#include <compat/ibcs2/ibcs2_signal.h>
#include <compat/ibcs2/ibcs2_syscallargs.h>
#include <compat/ibcs2/ibcs2_statfs.h>
int nosys();
int exit();
int fork();
int ibcs2_read();
int write();
int ibcs2_open();
int close();
int ibcs2_waitsys();
int ibcs2_creat();
int link();
int ibcs2_unlink();
int ibcs2_execv();
int ibcs2_chdir();
int ibcs2_time();
int ibcs2_mknod();
int ibcs2_chmod();
int ibcs2_chown();
int obreak();
int ibcs2_stat();
int compat_43_lseek();
int getpid();
int ibcs2_mount();
int ibcs2_umount();
int ibcs2_setuid();
int getuid();
int ibcs2_stime();
int ibcs2_alarm();
int ibcs2_fstat();
int ibcs2_pause();
int ibcs2_utime();
int ibcs2_access();
int ibcs2_nice();
int ibcs2_statfs();
int sync();
int ibcs2_kill();
int ibcs2_fstatfs();
int ibcs2_pgrpsys();
int dup();
int pipe();
int ibcs2_times();
int ibcs2_plock();
int ibcs2_setgid();
int getgid();
int ibcs2_sigsys();
#ifdef SYSVMSG
int ibcs2_msgsys();
#else
#endif
#ifdef SYSVSHM
int ibcs2_shmsys();
#else
#endif
#ifdef SYSVSEM
int ibcs2_semsys();
#else
#endif
int ibcs2_ioctl();
int ibcs2_uadmin();
int ibcs2_utssys();
int ibcs2_execve();
int umask();
int chroot();
int ibcs2_fcntl();
int ibcs2_ulimit();
int ibcs2_rmdir();
int ibcs2_mkdir();
int ibcs2_getdents();
int ibcs2_sysfs();
int ibcs2_getmsg();
int ibcs2_putmsg();
int ibcs2_poll();
int ibcs2_symlink();
int ibcs2_lstat();
int ibcs2_readlink();
int sigreturn();
int xenix_rdchk();
int xenix_chsize();
int xenix_ftime();
int xenix_nap();
int select();
int ibcs2_sigaction();
int ibcs2_sigprocmask();
int ibcs2_sigpending();
int ibcs2_sigsuspend();
int ibcs2_getgroups();
int ibcs2_setgroups();
int ibcs2_sysconf();
int ibcs2_pathconf();
int ibcs2_fpathconf();
int ibcs2_rename();
#ifdef COMPAT_43
#define compat_43(func) __CONCAT(compat_43_,func)
#ifdef SYSVMSG
#else
#endif
#ifdef SYSVSHM
#else
#endif
#ifdef SYSVSEM
#else
#endif
#else /* COMPAT_43 */
#define compat_43(func) nosys
#endif /* COMPAT_43 */
#ifdef COMPAT_09
#define compat_09(func) __CONCAT(compat_09_,func)
#ifdef SYSVMSG
#else
#endif
#ifdef SYSVSHM
#else
#endif
#ifdef SYSVSEM
#else
#endif
#else /* COMPAT_09 */
#define compat_09(func) nosys
#endif /* COMPAT_09 */
#ifdef COMPAT_10
#define compat_10(func) __CONCAT(compat_10_,func)
#ifdef SYSVMSG
#else
#endif
#ifdef SYSVSHM
#else
#endif
#ifdef SYSVSEM
#else
#endif
#else /* COMPAT_10 */
#define compat_10(func) nosys
#endif /* COMPAT_10 */
#define s(type) sizeof(type)
struct sysent ibcs2_sysent[] = {