makesyscalls.sh changed

This commit is contained in:
thorpej 1995-09-19 22:50:38 +00:00
parent 78f7651c91
commit d4153ed512
2 changed files with 193 additions and 188 deletions

View File

@ -309,3 +309,196 @@ struct hpux_nshmctl_args {
};
#undef syscallarg
/*
* System call prototypes.
*/
int nosys __P((struct proc *, void *, register_t *));
int exit __P((struct proc *, void *, register_t *));
int hpux_fork __P((struct proc *, void *, register_t *));
int hpux_read __P((struct proc *, void *, register_t *));
int hpux_write __P((struct proc *, void *, register_t *));
int hpux_open __P((struct proc *, void *, register_t *));
int close __P((struct proc *, void *, register_t *));
int hpux_wait __P((struct proc *, void *, register_t *));
int hpux_creat __P((struct proc *, void *, register_t *));
int link __P((struct proc *, void *, register_t *));
int unlink __P((struct proc *, void *, register_t *));
int hpux_execv __P((struct proc *, void *, register_t *));
int chdir __P((struct proc *, void *, register_t *));
int mknod __P((struct proc *, void *, register_t *));
int chmod __P((struct proc *, void *, register_t *));
int chown __P((struct proc *, void *, register_t *));
int obreak __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 setuid __P((struct proc *, void *, register_t *));
int getuid __P((struct proc *, void *, register_t *));
int hpux_ptrace __P((struct proc *, void *, register_t *));
int access __P((struct proc *, void *, register_t *));
int sync __P((struct proc *, void *, register_t *));
int hpux_kill __P((struct proc *, void *, register_t *));
int hpux_stat __P((struct proc *, void *, register_t *));
int hpux_lstat __P((struct proc *, void *, register_t *));
int hpux_dup __P((struct proc *, void *, register_t *));
int pipe __P((struct proc *, void *, register_t *));
int profil __P((struct proc *, void *, register_t *));
int setgid __P((struct proc *, void *, register_t *));
int getgid __P((struct proc *, void *, register_t *));
int hpux_ioctl __P((struct proc *, void *, register_t *));
int symlink __P((struct proc *, void *, register_t *));
int hpux_utssys __P((struct proc *, void *, register_t *));
int readlink __P((struct proc *, void *, register_t *));
int execve __P((struct proc *, void *, register_t *));
int umask __P((struct proc *, void *, register_t *));
int chroot __P((struct proc *, void *, register_t *));
int hpux_fcntl __P((struct proc *, void *, register_t *));
int hpux_ulimit __P((struct proc *, void *, register_t *));
int hpux_vfork __P((struct proc *, void *, register_t *));
int hpux_read __P((struct proc *, void *, register_t *));
int hpux_write __P((struct proc *, void *, register_t *));
int hpux_mmap __P((struct proc *, void *, register_t *));
int munmap __P((struct proc *, void *, register_t *));
int mprotect __P((struct proc *, void *, register_t *));
int getgroups __P((struct proc *, void *, register_t *));
int setgroups __P((struct proc *, void *, register_t *));
int hpux_getpgrp2 __P((struct proc *, void *, register_t *));
int hpux_setpgrp2 __P((struct proc *, void *, register_t *));
int setitimer __P((struct proc *, void *, register_t *));
int hpux_wait3 __P((struct proc *, void *, register_t *));
int getitimer __P((struct proc *, void *, register_t *));
int dup2 __P((struct proc *, void *, register_t *));
int hpux_fstat __P((struct proc *, void *, register_t *));
int select __P((struct proc *, void *, register_t *));
int fsync __P((struct proc *, void *, register_t *));
int sigreturn __P((struct proc *, void *, register_t *));
int hpux_sigvec __P((struct proc *, void *, register_t *));
int hpux_sigblock __P((struct proc *, void *, register_t *));
int hpux_sigsetmask __P((struct proc *, void *, register_t *));
int hpux_sigpause __P((struct proc *, void *, register_t *));
int compat_43_sigstack __P((struct proc *, void *, register_t *));
int gettimeofday __P((struct proc *, void *, register_t *));
int hpux_readv __P((struct proc *, void *, register_t *));
int hpux_writev __P((struct proc *, void *, register_t *));
int settimeofday __P((struct proc *, void *, register_t *));
int fchown __P((struct proc *, void *, register_t *));
int fchmod __P((struct proc *, void *, register_t *));
int hpux_setresuid __P((struct proc *, void *, register_t *));
int hpux_setresgid __P((struct proc *, void *, register_t *));
int rename __P((struct proc *, void *, register_t *));
int compat_43_truncate __P((struct proc *, void *, register_t *));
int compat_43_ftruncate __P((struct proc *, void *, register_t *));
int hpux_sysconf __P((struct proc *, void *, register_t *));
int mkdir __P((struct proc *, void *, register_t *));
int rmdir __P((struct proc *, void *, register_t *));
int hpux_getrlimit __P((struct proc *, void *, register_t *));
int hpux_setrlimit __P((struct proc *, void *, register_t *));
int hpux_rtprio __P((struct proc *, void *, register_t *));
int hpux_netioctl __P((struct proc *, void *, register_t *));
int hpux_lockf __P((struct proc *, void *, register_t *));
#ifdef SYSVSEM
int semget __P((struct proc *, void *, register_t *));
int __semctl __P((struct proc *, void *, register_t *));
int semop __P((struct proc *, void *, register_t *));
#else
#endif
#ifdef SYSVMSG
int msgget __P((struct proc *, void *, register_t *));
int msgctl __P((struct proc *, void *, register_t *));
int msgsnd __P((struct proc *, void *, register_t *));
int msgrcv __P((struct proc *, void *, register_t *));
#else
#endif
#ifdef SYSVSHM
int shmget __P((struct proc *, void *, register_t *));
int hpux_shmctl __P((struct proc *, void *, register_t *));
int shmat __P((struct proc *, void *, register_t *));
int shmdt __P((struct proc *, void *, register_t *));
#else
#endif
int hpux_advise __P((struct proc *, void *, register_t *));
int hpux_getcontext __P((struct proc *, void *, register_t *));
int hpux_getaccess __P((struct proc *, void *, register_t *));
int hpux_waitpid __P((struct proc *, void *, register_t *));
int pathconf __P((struct proc *, void *, register_t *));
int fpathconf __P((struct proc *, void *, register_t *));
int compat_43_getdirentries __P((struct proc *, void *, register_t *));
int compat_09_getdomainname __P((struct proc *, void *, register_t *));
int compat_09_setdomainname __P((struct proc *, void *, register_t *));
int hpux_sigaction __P((struct proc *, void *, register_t *));
int hpux_sigprocmask __P((struct proc *, void *, register_t *));
int hpux_sigpending __P((struct proc *, void *, register_t *));
int hpux_sigsuspend __P((struct proc *, void *, register_t *));
int compat_43_getdtablesize __P((struct proc *, void *, register_t *));
int fchdir __P((struct proc *, void *, register_t *));
int compat_43_accept __P((struct proc *, void *, register_t *));
int bind __P((struct proc *, void *, register_t *));
int connect __P((struct proc *, void *, register_t *));
int compat_43_getpeername __P((struct proc *, void *, register_t *));
int compat_43_getsockname __P((struct proc *, void *, register_t *));
int getsockopt __P((struct proc *, void *, register_t *));
int listen __P((struct proc *, void *, register_t *));
int compat_43_recv __P((struct proc *, void *, register_t *));
int compat_43_recvfrom __P((struct proc *, void *, register_t *));
int compat_43_recvmsg __P((struct proc *, void *, register_t *));
int compat_43_send __P((struct proc *, void *, register_t *));
int compat_43_sendmsg __P((struct proc *, void *, register_t *));
int sendto __P((struct proc *, void *, register_t *));
int hpux_setsockopt2 __P((struct proc *, void *, register_t *));
int shutdown __P((struct proc *, void *, register_t *));
int socket __P((struct proc *, void *, register_t *));
int socketpair __P((struct proc *, void *, register_t *));
#ifdef SYSVSEM
int __semctl __P((struct proc *, void *, register_t *));
#else
#endif
#ifdef SYSVMSG
int msgctl __P((struct proc *, void *, register_t *));
#else
#endif
#ifdef SYSVSHM
int hpux_nshmctl __P((struct proc *, void *, register_t *));
#else
#endif
#ifdef COMPAT_HPUX_6X
#define compat_hpux_6x(func) __CONCAT(compat_hpux_6x_,func)
int compat_hpux_6x(time) __P((struct proc *, void *, register_t *));
int compat_hpux_6x(stat) __P((struct proc *, void *, register_t *));
int compat_hpux_6x(stime) __P((struct proc *, void *, register_t *));
int compat_hpux_6x(alarm) __P((struct proc *, void *, register_t *));
int compat_hpux_6x(fstat) __P((struct proc *, void *, register_t *));
int compat_hpux_6x(pause) __P((struct proc *, void *, register_t *));
int compat_hpux_6x(utime) __P((struct proc *, void *, register_t *));
int compat_hpux_6x(stty) __P((struct proc *, void *, register_t *));
int compat_hpux_6x(gtty) __P((struct proc *, void *, register_t *));
int compat_hpux_6x(nice) __P((struct proc *, void *, register_t *));
int compat_hpux_6x(ftime) __P((struct proc *, void *, register_t *));
int compat_hpux_6x(setpgrp) __P((struct proc *, void *, register_t *));
int compat_hpux_6x(times) __P((struct proc *, void *, register_t *));
int compat_hpux_6x(ssig) __P((struct proc *, void *, register_t *));
#ifdef SYSVSEM
#else
#endif
#ifdef SYSVMSG
#else
#endif
#ifdef SYSVSHM
#else
#endif
#ifdef SYSVSEM
#else
#endif
#ifdef SYSVMSG
#else
#endif
#ifdef SYSVSHM
#else
#endif
#else /* COMPAT_HPUX_6X */
#define compat_hpux_6x(func) nosys
#endif /* COMPAT_HPUX_6X */

View File

@ -12,194 +12,6 @@
#include <sys/mount.h>
#include <sys/syscallargs.h>
#include <compat/hpux/hpux_syscallargs.h>
int nosys();
int exit();
int hpux_fork();
int hpux_read();
int hpux_write();
int hpux_open();
int close();
int hpux_wait();
int hpux_creat();
int link();
int unlink();
int hpux_execv();
int chdir();
int mknod();
int chmod();
int chown();
int obreak();
int compat_43_lseek();
int getpid();
int setuid();
int getuid();
int hpux_ptrace();
int access();
int sync();
int hpux_kill();
int hpux_stat();
int hpux_lstat();
int hpux_dup();
int pipe();
int profil();
int setgid();
int getgid();
int hpux_ioctl();
int symlink();
int hpux_utssys();
int readlink();
int execve();
int umask();
int chroot();
int hpux_fcntl();
int hpux_ulimit();
int hpux_vfork();
int hpux_read();
int hpux_write();
int hpux_mmap();
int munmap();
int mprotect();
int getgroups();
int setgroups();
int hpux_getpgrp2();
int hpux_setpgrp2();
int setitimer();
int hpux_wait3();
int getitimer();
int dup2();
int hpux_fstat();
int select();
int fsync();
int sigreturn();
int hpux_sigvec();
int hpux_sigblock();
int hpux_sigsetmask();
int hpux_sigpause();
int compat_43_sigstack();
int gettimeofday();
int hpux_readv();
int hpux_writev();
int settimeofday();
int fchown();
int fchmod();
int hpux_setresuid();
int hpux_setresgid();
int rename();
int compat_43_truncate();
int compat_43_ftruncate();
int hpux_sysconf();
int mkdir();
int rmdir();
int hpux_getrlimit();
int hpux_setrlimit();
int hpux_rtprio();
int hpux_netioctl();
int hpux_lockf();
#ifdef SYSVSEM
int semget();
int __semctl();
int semop();
#else
#endif
#ifdef SYSVMSG
int msgget();
int msgctl();
int msgsnd();
int msgrcv();
#else
#endif
#ifdef SYSVSHM
int shmget();
int hpux_shmctl();
int shmat();
int shmdt();
#else
#endif
int hpux_advise();
int hpux_getcontext();
int hpux_getaccess();
int hpux_waitpid();
int pathconf();
int fpathconf();
int compat_43_getdirentries();
int compat_09_getdomainname();
int compat_09_setdomainname();
int hpux_sigaction();
int hpux_sigprocmask();
int hpux_sigpending();
int hpux_sigsuspend();
int compat_43_getdtablesize();
int fchdir();
int compat_43_accept();
int bind();
int connect();
int compat_43_getpeername();
int compat_43_getsockname();
int getsockopt();
int listen();
int compat_43_recv();
int compat_43_recvfrom();
int compat_43_recvmsg();
int compat_43_send();
int compat_43_sendmsg();
int sendto();
int hpux_setsockopt2();
int shutdown();
int socket();
int socketpair();
#ifdef SYSVSEM
int __semctl();
#else
#endif
#ifdef SYSVMSG
int msgctl();
#else
#endif
#ifdef SYSVSHM
int hpux_nshmctl();
#else
#endif
#ifdef COMPAT_HPUX_6X
#define compat_hpux_6x(func) __CONCAT(compat_hpux_6x_,func)
int compat_hpux_6x(time)();
int compat_hpux_6x(stat)();
int compat_hpux_6x(stime)();
int compat_hpux_6x(alarm)();
int compat_hpux_6x(fstat)();
int compat_hpux_6x(pause)();
int compat_hpux_6x(utime)();
int compat_hpux_6x(stty)();
int compat_hpux_6x(gtty)();
int compat_hpux_6x(nice)();
int compat_hpux_6x(ftime)();
int compat_hpux_6x(setpgrp)();
int compat_hpux_6x(times)();
int compat_hpux_6x(ssig)();
#ifdef SYSVSEM
#else
#endif
#ifdef SYSVMSG
#else
#endif
#ifdef SYSVSHM
#else
#endif
#ifdef SYSVSEM
#else
#endif
#ifdef SYSVMSG
#else
#endif
#ifdef SYSVSHM
#else
#endif
#else /* COMPAT_HPUX_6X */
#define compat_hpux_6x(func) nosys
#endif /* COMPAT_HPUX_6X */
#define s(type) sizeof(type)
struct sysent hpux_sysent[] = {