diff options
author | swallace <swallace@FreeBSD.org> | 1995-10-10 07:59:30 +0000 |
---|---|---|
committer | swallace <swallace@FreeBSD.org> | 1995-10-10 07:59:30 +0000 |
commit | 20f13c7a7ed3183879431f56c3761a1c7914af8a (patch) | |
tree | 81a969abda60acfc5b1785850773a90772c8c462 /sys/i386/ibcs2/ibcs2_xenix.h | |
parent | 6c1c648223be1d6caaddff391d1d2946ebc316a2 (diff) | |
download | FreeBSD-src-20f13c7a7ed3183879431f56c3761a1c7914af8a.zip FreeBSD-src-20f13c7a7ed3183879431f56c3761a1c7914af8a.tar.gz |
Remove old files no longer needed.
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.
Diffstat (limited to 'sys/i386/ibcs2/ibcs2_xenix.h')
-rw-r--r-- | sys/i386/ibcs2/ibcs2_xenix.h | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/sys/i386/ibcs2/ibcs2_xenix.h b/sys/i386/ibcs2/ibcs2_xenix.h new file mode 100644 index 0000000..45f0085 --- /dev/null +++ b/sys/i386/ibcs2/ibcs2_xenix.h @@ -0,0 +1,95 @@ +/* + * 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_ */ |