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/syscalls.isc | |
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/syscalls.isc')
-rw-r--r-- | sys/i386/ibcs2/syscalls.isc | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sys/i386/ibcs2/syscalls.isc b/sys/i386/ibcs2/syscalls.isc new file mode 100644 index 0000000..149285f --- /dev/null +++ b/sys/i386/ibcs2/syscalls.isc @@ -0,0 +1,36 @@ + $Id: syscalls.isc,v 1.1 1995/10/06 15:12:52 swallace Exp $ + +#include <sys/types.h> +#include <sys/param.h> +#include <sys/sysent.h> +#include <sys/sysproto.h> +#include <i386/ibcs2/ibcs2_types.h> +#include <i386/ibcs2/ibcs2_signal.h> +#include <i386/ibcs2/ibcs2_statfs.h> +#include <i386/ibcs2/ibcs2_proto.h> +#include <i386/ibcs2/ibcs2_xenix.h> + +0 UNIMPL ISC nosys +1 UNIMPL ISC isc_setostype +2 NOPROTO ISC { int ibcs2_rename(char *from, char *to); } +3 NOPROTO ISC { int ibcs2_sigaction(int sig, \ + struct ibcs2_sigaction *act, \ + struct ibcs2_sigaction *oact); } +4 NOPROTO ISC { int ibcs2_sigprocmask(int how, ibcs2_sigset_t *set, \ + ibcs2_sigset_t *oset); } +5 NOPROTO ISC { int ibcs2_sigpending(ibcs2_sigset_t *mask); } +6 NOPROTO POSIX { int getgroups(u_int gidsetsize, gid_t *gidset); } +7 NOPROTO POSIX { int setgroups(u_int gidsetsize, gid_t *gidset); } +8 NOPROTO ISC { int ibcs2_pathconf(char *path, int name); } +9 NOPROTO ISC { int ibcs2_fpathconf(int fd, int name); } +10 UNIMPL ISC nosys +11 NOPROTO SVR3 { int ibcs2_wait(int a1, int a2, int a3); } +12 NOPROTO POSIX { int setsid(void); } +13 NOPROTO POSIX { pid_t getpid(void); } +14 UNIMPL ISC isc_adduser +15 UNIMPL ISC isc_setuser +16 NOPROTO ISC { int ibcs2_sysconf(int name); } +17 NOPROTO ISC { int ibcs2_sigsuspend(ibcs2_sigset_t *mask); } +18 NOPROTO SVR3 { int ibcs2_symlink(char *path, char *link); } +19 NOPROTO SVR3 { int ibcs2_readlink(char *path, char *buf, int count); } +20 UNIMPL ISC isc_getmajor |