9e03db613c
Add new files created for emulator. Modify NetBSD import to work with FreeBSD and add new features and code. The complete emulator is essentially a combination of work/code implemented by Sean Eric Fagan, Soren Schmidt, Scott Bartram, and myself, Steven Wallace. Features of this new emulator system include: o "clean" code, including strict prototyping. o Auto-generation of ibcs2 system calls, xenix system calls, isc system calls. Generation includes system tables, structure definitions, and prototyping of function calls. o ibcs2 emulator does not rely on any COMPAT_43 system calls. o embedded socksys support o ibcs2 msgsys, semsys, shmsys calls supported if supported in kernel o alternate /emul/ibcs2 namespace searched first for files in ibcs2 system. Usefull to keep sysv libraries, binaries in /emul/ibcs2. o many other finer details and functions fixed or implemented.
96 lines
2.5 KiB
C
96 lines
2.5 KiB
C
/*
|
|
* System call prototypes.
|
|
*
|
|
* DO NOT EDIT-- this file is automatically generated.
|
|
* created from Id: syscalls.xenix,v 1.1 1995/10/06 15:12:52 swallace Exp
|
|
*/
|
|
|
|
#ifndef _IBCS2_XENIX_H_
|
|
#define _IBCS2_XENIX_H_
|
|
|
|
#include <sys/types.h>
|
|
#include <sys/param.h>
|
|
#include <sys/mount.h>
|
|
|
|
struct xenix_rdchk_args {
|
|
int fd;
|
|
};
|
|
struct xenix_chsize_args {
|
|
int fd;
|
|
long size;
|
|
};
|
|
struct xenix_ftime_args {
|
|
struct timeb * tp;
|
|
};
|
|
struct xenix_nap_args {
|
|
int millisec;
|
|
};
|
|
struct xenix_scoinfo_args {
|
|
int dummy;
|
|
};
|
|
struct ibcs2_sigaction_args {
|
|
int sig;
|
|
struct ibcs2_sigaction * act;
|
|
struct ibcs2_sigaction * oact;
|
|
};
|
|
struct ibcs2_sigprocmask_args {
|
|
int how;
|
|
ibcs2_sigset_t * set;
|
|
ibcs2_sigset_t * oset;
|
|
};
|
|
struct ibcs2_sigpending_args {
|
|
ibcs2_sigset_t * mask;
|
|
};
|
|
struct ibcs2_sigsuspend_args {
|
|
ibcs2_sigset_t * mask;
|
|
};
|
|
struct ibcs2_getgroups_args {
|
|
int gidsetsize;
|
|
ibcs2_gid_t * gidset;
|
|
};
|
|
struct ibcs2_setgroups_args {
|
|
int gidsetsize;
|
|
ibcs2_gid_t * gidset;
|
|
};
|
|
struct ibcs2_sysconf_args {
|
|
int name;
|
|
};
|
|
struct ibcs2_pathconf_args {
|
|
char * path;
|
|
int name;
|
|
};
|
|
struct ibcs2_fpathconf_args {
|
|
int fd;
|
|
int name;
|
|
};
|
|
struct ibcs2_rename_args {
|
|
char * from;
|
|
char * to;
|
|
};
|
|
struct xenix_utsname_args {
|
|
long addr;
|
|
};
|
|
int xenix_rdchk __P((struct proc *, struct xenix_rdchk_args *, int []));
|
|
int xenix_chsize __P((struct proc *, struct xenix_chsize_args *, int []));
|
|
int xenix_ftime __P((struct proc *, struct xenix_ftime_args *, int []));
|
|
int xenix_nap __P((struct proc *, struct xenix_nap_args *, int []));
|
|
int xenix_scoinfo __P((struct proc *, struct xenix_scoinfo_args *, int []));
|
|
int ibcs2_sigaction __P((struct proc *, struct ibcs2_sigaction_args *, int []));
|
|
int ibcs2_sigprocmask __P((struct proc *, struct ibcs2_sigprocmask_args *, int []));
|
|
int ibcs2_sigpending __P((struct proc *, struct ibcs2_sigpending_args *, int []));
|
|
int ibcs2_sigsuspend __P((struct proc *, struct ibcs2_sigsuspend_args *, int []));
|
|
int ibcs2_getgroups __P((struct proc *, struct ibcs2_getgroups_args *, int []));
|
|
int ibcs2_setgroups __P((struct proc *, struct ibcs2_setgroups_args *, int []));
|
|
int ibcs2_sysconf __P((struct proc *, struct ibcs2_sysconf_args *, int []));
|
|
int ibcs2_pathconf __P((struct proc *, struct ibcs2_pathconf_args *, int []));
|
|
int ibcs2_fpathconf __P((struct proc *, struct ibcs2_fpathconf_args *, int []));
|
|
int ibcs2_rename __P((struct proc *, struct ibcs2_rename_args *, int []));
|
|
int xenix_utsname __P((struct proc *, struct xenix_utsname_args *, int []));
|
|
|
|
#ifdef COMPAT_43
|
|
|
|
|
|
#endif /* COMPAT_43 */
|
|
|
|
#endif /* !_IBCS2_XENIX_H_ */
|