summaryrefslogtreecommitdiffstats
path: root/sys/i386/ibcs2/ibcs2_isc_sysent.c
diff options
context:
space:
mode:
authorswallace <swallace@FreeBSD.org>1995-10-10 07:59:30 +0000
committerswallace <swallace@FreeBSD.org>1995-10-10 07:59:30 +0000
commit20f13c7a7ed3183879431f56c3761a1c7914af8a (patch)
tree81a969abda60acfc5b1785850773a90772c8c462 /sys/i386/ibcs2/ibcs2_isc_sysent.c
parent6c1c648223be1d6caaddff391d1d2946ebc316a2 (diff)
downloadFreeBSD-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_isc_sysent.c')
-rw-r--r--sys/i386/ibcs2/ibcs2_isc_sysent.c49
1 files changed, 49 insertions, 0 deletions
diff --git a/sys/i386/ibcs2/ibcs2_isc_sysent.c b/sys/i386/ibcs2/ibcs2_isc_sysent.c
new file mode 100644
index 0000000..39a9e8a
--- /dev/null
+++ b/sys/i386/ibcs2/ibcs2_isc_sysent.c
@@ -0,0 +1,49 @@
+/*
+ * System call switch table.
+ *
+ * DO NOT EDIT-- this file is automatically generated.
+ * created from 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>
+
+#ifdef COMPAT_43
+#define compat(n, name) n, (sy_call_t *)__CONCAT(o,name)
+#else
+#define compat(n, name) 0, (sy_call_t *)nosys
+#endif
+
+/* The casts are bogus but will do for now. */
+struct sysent isc_sysent[] = {
+ { 0, (sy_call_t *)nosys }, /* 0 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 1 = isc_setostype */
+ { 2, (sy_call_t *)ibcs2_rename }, /* 2 = ibcs2_rename */
+ { 3, (sy_call_t *)ibcs2_sigaction }, /* 3 = ibcs2_sigaction */
+ { 3, (sy_call_t *)ibcs2_sigprocmask }, /* 4 = ibcs2_sigprocmask */
+ { 1, (sy_call_t *)ibcs2_sigpending }, /* 5 = ibcs2_sigpending */
+ { 2, (sy_call_t *)getgroups }, /* 6 = getgroups */
+ { 2, (sy_call_t *)setgroups }, /* 7 = setgroups */
+ { 2, (sy_call_t *)ibcs2_pathconf }, /* 8 = ibcs2_pathconf */
+ { 2, (sy_call_t *)ibcs2_fpathconf }, /* 9 = ibcs2_fpathconf */
+ { 0, (sy_call_t *)nosys }, /* 10 = nosys */
+ { 3, (sy_call_t *)ibcs2_wait }, /* 11 = ibcs2_wait */
+ { 0, (sy_call_t *)setsid }, /* 12 = setsid */
+ { 0, (sy_call_t *)getpid }, /* 13 = getpid */
+ { 0, (sy_call_t *)nosys }, /* 14 = isc_adduser */
+ { 0, (sy_call_t *)nosys }, /* 15 = isc_setuser */
+ { 1, (sy_call_t *)ibcs2_sysconf }, /* 16 = ibcs2_sysconf */
+ { 1, (sy_call_t *)ibcs2_sigsuspend }, /* 17 = ibcs2_sigsuspend */
+ { 2, (sy_call_t *)ibcs2_symlink }, /* 18 = ibcs2_symlink */
+ { 3, (sy_call_t *)ibcs2_readlink }, /* 19 = ibcs2_readlink */
+ { 0, (sy_call_t *)nosys }, /* 20 = isc_getmajor */
+};
+
+
OpenPOWER on IntegriCloud