freebsd-src/sys/i386/ibcs2/syscalls.isc
Steven Wallace 9e03db613c 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.
1995-10-10 07:59:30 +00:00

37 lines
1.5 KiB
Plaintext

$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