ibcs2_isc_sysent.c revision 60290
11541Srgrimes/*
21541Srgrimes * System call switch table.
31541Srgrimes *
41541Srgrimes * DO NOT EDIT-- this file is automatically generated.
51541Srgrimes * $FreeBSD: head/sys/i386/ibcs2/ibcs2_isc_sysent.c 60290 2000-05-09 21:52:02Z bde $
61541Srgrimes * created from FreeBSD: src/sys/i386/ibcs2/syscalls.isc,v 1.5 1999/08/28 00:44:01 peter Exp
71541Srgrimes */
81541Srgrimes
91541Srgrimes#include <sys/param.h>
101541Srgrimes#include <sys/sysent.h>
111541Srgrimes#include <sys/sysproto.h>
121541Srgrimes#include <i386/ibcs2/ibcs2_types.h>
131541Srgrimes#include <i386/ibcs2/ibcs2_signal.h>
141541Srgrimes#include <i386/ibcs2/ibcs2_proto.h>
151541Srgrimes#include <i386/ibcs2/ibcs2_xenix.h>
161541Srgrimes
171541Srgrimes#define AS(name) (sizeof(struct name) / sizeof(register_t))
181541Srgrimes
191541Srgrimes/* The casts are bogus but will do for now. */
201541Srgrimesstruct sysent isc_sysent[] = {
211541Srgrimes	{ 0, (sy_call_t *)nosys },			/* 0 = nosys */
221541Srgrimes	{ 0, (sy_call_t *)nosys },			/* 1 = isc_setostype */
231541Srgrimes	{ AS(ibcs2_rename_args), (sy_call_t *)ibcs2_rename },	/* 2 = ibcs2_rename */
241541Srgrimes	{ AS(ibcs2_sigaction_args), (sy_call_t *)ibcs2_sigaction },	/* 3 = ibcs2_sigaction */
251541Srgrimes	{ AS(ibcs2_sigprocmask_args), (sy_call_t *)ibcs2_sigprocmask },	/* 4 = ibcs2_sigprocmask */
261541Srgrimes	{ AS(ibcs2_sigpending_args), (sy_call_t *)ibcs2_sigpending },	/* 5 = ibcs2_sigpending */
271541Srgrimes	{ AS(getgroups_args), (sy_call_t *)getgroups },	/* 6 = getgroups */
281541Srgrimes	{ AS(setgroups_args), (sy_call_t *)setgroups },	/* 7 = setgroups */
291541Srgrimes	{ AS(ibcs2_pathconf_args), (sy_call_t *)ibcs2_pathconf },	/* 8 = ibcs2_pathconf */
301541Srgrimes	{ AS(ibcs2_fpathconf_args), (sy_call_t *)ibcs2_fpathconf },	/* 9 = ibcs2_fpathconf */
311541Srgrimes	{ 0, (sy_call_t *)nosys },			/* 10 = nosys */
321817Sdg	{ AS(ibcs2_wait_args), (sy_call_t *)ibcs2_wait },	/* 11 = ibcs2_wait */
3350477Speter	{ 0, (sy_call_t *)setsid },			/* 12 = setsid */
341541Srgrimes	{ 0, (sy_call_t *)getpid },			/* 13 = getpid */
351541Srgrimes	{ 0, (sy_call_t *)nosys },			/* 14 = isc_adduser */
36102281Sjhb	{ 0, (sy_call_t *)nosys },			/* 15 = isc_setuser */
371541Srgrimes	{ AS(ibcs2_sysconf_args), (sy_call_t *)ibcs2_sysconf },	/* 16 = ibcs2_sysconf */
381541Srgrimes	{ AS(ibcs2_sigsuspend_args), (sy_call_t *)ibcs2_sigsuspend },	/* 17 = ibcs2_sigsuspend */
39110605Shsu	{ AS(ibcs2_symlink_args), (sy_call_t *)ibcs2_symlink },	/* 18 = ibcs2_symlink */
401541Srgrimes	{ AS(ibcs2_readlink_args), (sy_call_t *)ibcs2_readlink },	/* 19 = ibcs2_readlink */
411541Srgrimes	{ 0, (sy_call_t *)nosys },			/* 20 = isc_getmajor */
421541Srgrimes};
431541Srgrimes