makesyscalls.sh changed.
This commit is contained in:
parent
e1da0d5390
commit
6d91dd5b49
|
@ -2,7 +2,7 @@
|
|||
* System call numbers.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.30 1995/06/25 14:58:22 briggs Exp
|
||||
* created from NetBSD: syscalls.master,v 1.31 1995/07/05 13:14:17 pk Exp
|
||||
*/
|
||||
|
||||
#define SUNOS_SYS_syscall 0
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* System call argument lists.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.30 1995/06/25 14:58:22 briggs Exp
|
||||
* created from NetBSD: syscalls.master,v 1.31 1995/07/05 13:14:17 pk Exp
|
||||
*/
|
||||
|
||||
#define syscallarg(x) union { x datum; register_t pad; }
|
||||
|
@ -201,3 +201,237 @@ struct sunos_uname_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 read __P((struct proc *, void *, register_t *));
|
||||
int write __P((struct proc *, void *, register_t *));
|
||||
int sunos_open __P((struct proc *, void *, register_t *));
|
||||
int close __P((struct proc *, void *, register_t *));
|
||||
int sunos_wait4 __P((struct proc *, void *, register_t *));
|
||||
int sunos_creat __P((struct proc *, void *, register_t *));
|
||||
int link __P((struct proc *, void *, register_t *));
|
||||
int unlink __P((struct proc *, void *, register_t *));
|
||||
int sunos_execv __P((struct proc *, void *, register_t *));
|
||||
int chdir __P((struct proc *, void *, register_t *));
|
||||
int sunos_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 sunos_ptrace __P((struct proc *, void *, register_t *));
|
||||
int sunos_access __P((struct proc *, void *, register_t *));
|
||||
int sync __P((struct proc *, void *, register_t *));
|
||||
int kill __P((struct proc *, void *, register_t *));
|
||||
int sunos_stat __P((struct proc *, void *, register_t *));
|
||||
int sunos_lstat __P((struct proc *, void *, register_t *));
|
||||
int 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 acct __P((struct proc *, void *, register_t *));
|
||||
int sunos_mctl __P((struct proc *, void *, register_t *));
|
||||
int sunos_ioctl __P((struct proc *, void *, register_t *));
|
||||
int sunos_reboot __P((struct proc *, void *, register_t *));
|
||||
int symlink __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 compat_43_fstat __P((struct proc *, void *, register_t *));
|
||||
int compat_43_getpagesize __P((struct proc *, void *, register_t *));
|
||||
int sunos_omsync __P((struct proc *, void *, register_t *));
|
||||
int vfork __P((struct proc *, void *, register_t *));
|
||||
int sbrk __P((struct proc *, void *, register_t *));
|
||||
int sstk __P((struct proc *, void *, register_t *));
|
||||
int sunos_mmap __P((struct proc *, void *, register_t *));
|
||||
int ovadvise __P((struct proc *, void *, register_t *));
|
||||
int munmap __P((struct proc *, void *, register_t *));
|
||||
int mprotect __P((struct proc *, void *, register_t *));
|
||||
int madvise __P((struct proc *, void *, register_t *));
|
||||
int sunos_vhangup __P((struct proc *, void *, register_t *));
|
||||
int mincore __P((struct proc *, void *, register_t *));
|
||||
int getgroups __P((struct proc *, void *, register_t *));
|
||||
int setgroups __P((struct proc *, void *, register_t *));
|
||||
int getpgrp __P((struct proc *, void *, register_t *));
|
||||
int sunos_setpgid __P((struct proc *, void *, register_t *));
|
||||
int setitimer __P((struct proc *, void *, register_t *));
|
||||
int swapon __P((struct proc *, void *, register_t *));
|
||||
int getitimer __P((struct proc *, void *, register_t *));
|
||||
int compat_43_gethostname __P((struct proc *, void *, register_t *));
|
||||
int compat_43_sethostname __P((struct proc *, void *, register_t *));
|
||||
int compat_43_getdtablesize __P((struct proc *, void *, register_t *));
|
||||
int dup2 __P((struct proc *, void *, register_t *));
|
||||
int fcntl __P((struct proc *, void *, register_t *));
|
||||
int select __P((struct proc *, void *, register_t *));
|
||||
int fsync __P((struct proc *, void *, register_t *));
|
||||
int setpriority __P((struct proc *, void *, register_t *));
|
||||
int socket __P((struct proc *, void *, register_t *));
|
||||
int connect __P((struct proc *, void *, register_t *));
|
||||
int compat_43_accept __P((struct proc *, void *, register_t *));
|
||||
int getpriority __P((struct proc *, void *, register_t *));
|
||||
int compat_43_send __P((struct proc *, void *, register_t *));
|
||||
int compat_43_recv __P((struct proc *, void *, register_t *));
|
||||
int bind __P((struct proc *, void *, register_t *));
|
||||
int sunos_setsockopt __P((struct proc *, void *, register_t *));
|
||||
int listen __P((struct proc *, void *, register_t *));
|
||||
int sunos_sigvec __P((struct proc *, void *, register_t *));
|
||||
int compat_43_sigblock __P((struct proc *, void *, register_t *));
|
||||
int compat_43_sigsetmask __P((struct proc *, void *, register_t *));
|
||||
int sigsuspend __P((struct proc *, void *, register_t *));
|
||||
int compat_43_sigstack __P((struct proc *, void *, register_t *));
|
||||
int compat_43_recvmsg __P((struct proc *, void *, register_t *));
|
||||
int compat_43_sendmsg __P((struct proc *, void *, register_t *));
|
||||
int gettimeofday __P((struct proc *, void *, register_t *));
|
||||
int getrusage __P((struct proc *, void *, register_t *));
|
||||
int getsockopt __P((struct proc *, void *, register_t *));
|
||||
int readv __P((struct proc *, void *, register_t *));
|
||||
int 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 compat_43_recvfrom __P((struct proc *, void *, register_t *));
|
||||
int compat_43_setreuid __P((struct proc *, void *, register_t *));
|
||||
int compat_43_setregid __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 flock __P((struct proc *, void *, register_t *));
|
||||
int sendto __P((struct proc *, void *, register_t *));
|
||||
int shutdown __P((struct proc *, void *, register_t *));
|
||||
int socketpair __P((struct proc *, void *, register_t *));
|
||||
int mkdir __P((struct proc *, void *, register_t *));
|
||||
int rmdir __P((struct proc *, void *, register_t *));
|
||||
int utimes __P((struct proc *, void *, register_t *));
|
||||
int sunos_sigreturn __P((struct proc *, void *, register_t *));
|
||||
int adjtime __P((struct proc *, void *, register_t *));
|
||||
int compat_43_getpeername __P((struct proc *, void *, register_t *));
|
||||
int compat_43_gethostid __P((struct proc *, void *, register_t *));
|
||||
int sunos_getrlimit __P((struct proc *, void *, register_t *));
|
||||
int sunos_setrlimit __P((struct proc *, void *, register_t *));
|
||||
int compat_43_killpg __P((struct proc *, void *, register_t *));
|
||||
int compat_43_getsockname __P((struct proc *, void *, register_t *));
|
||||
int sunos_poll __P((struct proc *, void *, register_t *));
|
||||
#ifdef NFSSERVER
|
||||
int sunos_nfssvc __P((struct proc *, void *, register_t *));
|
||||
#else
|
||||
#endif
|
||||
int getdirentries __P((struct proc *, void *, register_t *));
|
||||
int sunos_statfs __P((struct proc *, void *, register_t *));
|
||||
int sunos_fstatfs __P((struct proc *, void *, register_t *));
|
||||
int sunos_unmount __P((struct proc *, void *, register_t *));
|
||||
#ifdef NFSCLIENT
|
||||
int async_daemon __P((struct proc *, void *, register_t *));
|
||||
int getfh __P((struct proc *, void *, register_t *));
|
||||
#else
|
||||
#endif
|
||||
int compat_09_getdomainname __P((struct proc *, void *, register_t *));
|
||||
int compat_09_setdomainname __P((struct proc *, void *, register_t *));
|
||||
int sunos_quotactl __P((struct proc *, void *, register_t *));
|
||||
int sunos_exportfs __P((struct proc *, void *, register_t *));
|
||||
int sunos_mount __P((struct proc *, void *, register_t *));
|
||||
int sunos_ustat __P((struct proc *, void *, register_t *));
|
||||
#ifdef SYSVSEM
|
||||
int compat_10_semsys __P((struct proc *, void *, register_t *));
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVMSG
|
||||
int compat_10_msgsys __P((struct proc *, void *, register_t *));
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVSHM
|
||||
int compat_10_shmsys __P((struct proc *, void *, register_t *));
|
||||
#else
|
||||
#endif
|
||||
int sunos_auditsys __P((struct proc *, void *, register_t *));
|
||||
int sunos_getdents __P((struct proc *, void *, register_t *));
|
||||
int setsid __P((struct proc *, void *, register_t *));
|
||||
int fchdir __P((struct proc *, void *, register_t *));
|
||||
int sunos_fchroot __P((struct proc *, void *, register_t *));
|
||||
int sunos_sigpending __P((struct proc *, void *, register_t *));
|
||||
int setpgid __P((struct proc *, void *, register_t *));
|
||||
int pathconf __P((struct proc *, void *, register_t *));
|
||||
int fpathconf __P((struct proc *, void *, register_t *));
|
||||
int sunos_sysconf __P((struct proc *, void *, register_t *));
|
||||
int sunos_uname __P((struct proc *, void *, register_t *));
|
||||
|
||||
#ifdef COMPAT_43
|
||||
#define compat_43(func) __CONCAT(compat_43_,func)
|
||||
|
||||
#ifdef NFSSERVER
|
||||
#else
|
||||
#endif
|
||||
#ifdef NFSCLIENT
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVSEM
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVMSG
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVSHM
|
||||
#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 NFSSERVER
|
||||
#else
|
||||
#endif
|
||||
#ifdef NFSCLIENT
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVSEM
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVMSG
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVSHM
|
||||
#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 NFSSERVER
|
||||
#else
|
||||
#endif
|
||||
#ifdef NFSCLIENT
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVSEM
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVMSG
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVSHM
|
||||
#else
|
||||
#endif
|
||||
|
||||
#else /* COMPAT_10 */
|
||||
#define compat_10(func) nosys
|
||||
#endif /* COMPAT_10 */
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* System call names.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.30 1995/06/25 14:58:22 briggs Exp
|
||||
* created from NetBSD: syscalls.master,v 1.31 1995/07/05 13:14:17 pk Exp
|
||||
*/
|
||||
|
||||
char *sunos_syscallnames[] = {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* System call switch table.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.30 1995/06/25 14:58:22 briggs Exp
|
||||
* created from NetBSD: syscalls.master,v 1.31 1995/07/05 13:14:17 pk Exp
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -12,235 +12,6 @@
|
|||
#include <sys/syscallargs.h>
|
||||
#include <compat/sunos/sunos.h>
|
||||
#include <compat/sunos/sunos_syscallargs.h>
|
||||
int nosys();
|
||||
int exit();
|
||||
int fork();
|
||||
int read();
|
||||
int write();
|
||||
int sunos_open();
|
||||
int close();
|
||||
int sunos_wait4();
|
||||
int sunos_creat();
|
||||
int link();
|
||||
int unlink();
|
||||
int sunos_execv();
|
||||
int chdir();
|
||||
int sunos_mknod();
|
||||
int chmod();
|
||||
int chown();
|
||||
int obreak();
|
||||
int compat_43_lseek();
|
||||
int getpid();
|
||||
int setuid();
|
||||
int getuid();
|
||||
int sunos_ptrace();
|
||||
int sunos_access();
|
||||
int sync();
|
||||
int kill();
|
||||
int sunos_stat();
|
||||
int sunos_lstat();
|
||||
int dup();
|
||||
int pipe();
|
||||
int profil();
|
||||
int setgid();
|
||||
int getgid();
|
||||
int acct();
|
||||
int sunos_mctl();
|
||||
int sunos_ioctl();
|
||||
int sunos_reboot();
|
||||
int symlink();
|
||||
int readlink();
|
||||
int execve();
|
||||
int umask();
|
||||
int chroot();
|
||||
int compat_43_fstat();
|
||||
int compat_43_getpagesize();
|
||||
int sunos_omsync();
|
||||
int vfork();
|
||||
int sbrk();
|
||||
int sstk();
|
||||
int sunos_mmap();
|
||||
int ovadvise();
|
||||
int munmap();
|
||||
int mprotect();
|
||||
int madvise();
|
||||
int sunos_vhangup();
|
||||
int mincore();
|
||||
int getgroups();
|
||||
int setgroups();
|
||||
int getpgrp();
|
||||
int sunos_setpgid();
|
||||
int setitimer();
|
||||
int swapon();
|
||||
int getitimer();
|
||||
int compat_43_gethostname();
|
||||
int compat_43_sethostname();
|
||||
int compat_43_getdtablesize();
|
||||
int dup2();
|
||||
int fcntl();
|
||||
int select();
|
||||
int fsync();
|
||||
int setpriority();
|
||||
int socket();
|
||||
int connect();
|
||||
int compat_43_accept();
|
||||
int getpriority();
|
||||
int compat_43_send();
|
||||
int compat_43_recv();
|
||||
int bind();
|
||||
int sunos_setsockopt();
|
||||
int listen();
|
||||
int sunos_sigvec();
|
||||
int compat_43_sigblock();
|
||||
int compat_43_sigsetmask();
|
||||
int sigsuspend();
|
||||
int compat_43_sigstack();
|
||||
int compat_43_recvmsg();
|
||||
int compat_43_sendmsg();
|
||||
int gettimeofday();
|
||||
int getrusage();
|
||||
int getsockopt();
|
||||
int readv();
|
||||
int writev();
|
||||
int settimeofday();
|
||||
int fchown();
|
||||
int fchmod();
|
||||
int compat_43_recvfrom();
|
||||
int compat_43_setreuid();
|
||||
int compat_43_setregid();
|
||||
int rename();
|
||||
int compat_43_truncate();
|
||||
int compat_43_ftruncate();
|
||||
int flock();
|
||||
int sendto();
|
||||
int shutdown();
|
||||
int socketpair();
|
||||
int mkdir();
|
||||
int rmdir();
|
||||
int utimes();
|
||||
int sunos_sigreturn();
|
||||
int adjtime();
|
||||
int compat_43_getpeername();
|
||||
int compat_43_gethostid();
|
||||
int sunos_getrlimit();
|
||||
int sunos_setrlimit();
|
||||
int compat_43_killpg();
|
||||
int compat_43_getsockname();
|
||||
int sunos_poll();
|
||||
#ifdef NFSSERVER
|
||||
int sunos_nfssvc();
|
||||
#else
|
||||
#endif
|
||||
int getdirentries();
|
||||
int sunos_statfs();
|
||||
int sunos_fstatfs();
|
||||
int sunos_unmount();
|
||||
#ifdef NFSCLIENT
|
||||
int async_daemon();
|
||||
int getfh();
|
||||
#else
|
||||
#endif
|
||||
int compat_09_getdomainname();
|
||||
int compat_09_setdomainname();
|
||||
int sunos_quotactl();
|
||||
int sunos_exportfs();
|
||||
int sunos_mount();
|
||||
int sunos_ustat();
|
||||
#ifdef SYSVSEM
|
||||
int compat_10_semsys();
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVMSG
|
||||
int compat_10_msgsys();
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVSHM
|
||||
int compat_10_shmsys();
|
||||
#else
|
||||
#endif
|
||||
int sunos_auditsys();
|
||||
int sunos_getdents();
|
||||
int setsid();
|
||||
int fchdir();
|
||||
int sunos_fchroot();
|
||||
int sunos_sigpending();
|
||||
int setpgid();
|
||||
int pathconf();
|
||||
int fpathconf();
|
||||
int sunos_sysconf();
|
||||
int sunos_uname();
|
||||
|
||||
#ifdef COMPAT_43
|
||||
#define compat_43(func) __CONCAT(compat_43_,func)
|
||||
|
||||
#ifdef NFSSERVER
|
||||
#else
|
||||
#endif
|
||||
#ifdef NFSCLIENT
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVSEM
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVMSG
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVSHM
|
||||
#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 NFSSERVER
|
||||
#else
|
||||
#endif
|
||||
#ifdef NFSCLIENT
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVSEM
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVMSG
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVSHM
|
||||
#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 NFSSERVER
|
||||
#else
|
||||
#endif
|
||||
#ifdef NFSCLIENT
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVSEM
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVMSG
|
||||
#else
|
||||
#endif
|
||||
#ifdef SYSVSHM
|
||||
#else
|
||||
#endif
|
||||
|
||||
#else /* COMPAT_10 */
|
||||
#define compat_10(func) nosys
|
||||
#endif /* COMPAT_10 */
|
||||
|
||||
#define s(type) sizeof(type)
|
||||
|
||||
struct sysent sunos_sysent[] = {
|
||||
|
|
Loading…
Reference in New Issue