ibcs2_isc_sysent.c revision 123786
111397Sswallace/* 211397Sswallace * System call switch table. 311397Sswallace * 411397Sswallace * DO NOT EDIT-- this file is automatically generated. 5123786Speter * $FreeBSD: head/sys/i386/ibcs2/ibcs2_isc_sysent.c 123786 2003-12-24 00:15:20Z peter $ 6123786Speter * created from FreeBSD: src/sys/i386/ibcs2/syscalls.isc,v 1.6 2003/12/24 00:14:08 peter Exp 711397Sswallace */ 811397Sswallace 911397Sswallace#include <sys/param.h> 1011397Sswallace#include <sys/sysent.h> 1111397Sswallace#include <sys/sysproto.h> 1211397Sswallace#include <i386/ibcs2/ibcs2_types.h> 1311397Sswallace#include <i386/ibcs2/ibcs2_signal.h> 1411397Sswallace#include <i386/ibcs2/ibcs2_proto.h> 1511397Sswallace#include <i386/ibcs2/ibcs2_xenix.h> 1611397Sswallace 1760290Sbde#define AS(name) (sizeof(struct name) / sizeof(register_t)) 1860290Sbde 1911397Sswallace/* The casts are bogus but will do for now. */ 2011397Sswallacestruct sysent isc_sysent[] = { 2111397Sswallace { 0, (sy_call_t *)nosys }, /* 0 = nosys */ 2211397Sswallace { 0, (sy_call_t *)nosys }, /* 1 = isc_setostype */ 2360290Sbde { AS(ibcs2_rename_args), (sy_call_t *)ibcs2_rename }, /* 2 = ibcs2_rename */ 2460290Sbde { AS(ibcs2_sigaction_args), (sy_call_t *)ibcs2_sigaction }, /* 3 = ibcs2_sigaction */ 2560290Sbde { AS(ibcs2_sigprocmask_args), (sy_call_t *)ibcs2_sigprocmask }, /* 4 = ibcs2_sigprocmask */ 2660290Sbde { AS(ibcs2_sigpending_args), (sy_call_t *)ibcs2_sigpending }, /* 5 = ibcs2_sigpending */ 2760290Sbde { AS(getgroups_args), (sy_call_t *)getgroups }, /* 6 = getgroups */ 2860290Sbde { AS(setgroups_args), (sy_call_t *)setgroups }, /* 7 = setgroups */ 2960290Sbde { AS(ibcs2_pathconf_args), (sy_call_t *)ibcs2_pathconf }, /* 8 = ibcs2_pathconf */ 3060290Sbde { AS(ibcs2_fpathconf_args), (sy_call_t *)ibcs2_fpathconf }, /* 9 = ibcs2_fpathconf */ 3111397Sswallace { 0, (sy_call_t *)nosys }, /* 10 = nosys */ 3260290Sbde { AS(ibcs2_wait_args), (sy_call_t *)ibcs2_wait }, /* 11 = ibcs2_wait */ 3311397Sswallace { 0, (sy_call_t *)setsid }, /* 12 = setsid */ 3411397Sswallace { 0, (sy_call_t *)getpid }, /* 13 = getpid */ 3511397Sswallace { 0, (sy_call_t *)nosys }, /* 14 = isc_adduser */ 3611397Sswallace { 0, (sy_call_t *)nosys }, /* 15 = isc_setuser */ 3760290Sbde { AS(ibcs2_sysconf_args), (sy_call_t *)ibcs2_sysconf }, /* 16 = ibcs2_sysconf */ 3860290Sbde { AS(ibcs2_sigsuspend_args), (sy_call_t *)ibcs2_sigsuspend }, /* 17 = ibcs2_sigsuspend */ 3960290Sbde { AS(ibcs2_symlink_args), (sy_call_t *)ibcs2_symlink }, /* 18 = ibcs2_symlink */ 4060290Sbde { AS(ibcs2_readlink_args), (sy_call_t *)ibcs2_readlink }, /* 19 = ibcs2_readlink */ 4111397Sswallace { 0, (sy_call_t *)nosys }, /* 20 = isc_getmajor */ 4211397Sswallace}; 43