ibcs2_isc_sysent.c revision 125457
187866Ssheldonh/* 287866Ssheldonh * System call switch table. 387866Ssheldonh * 487866Ssheldonh * DO NOT EDIT-- this file is automatically generated. 587866Ssheldonh * $FreeBSD: head/sys/i386/ibcs2/ibcs2_isc_sysent.c 125457 2004-02-04 22:00:44Z jhb $ 687866Ssheldonh * created from FreeBSD: src/sys/i386/ibcs2/syscalls.isc,v 1.7 2004/02/04 21:57:00 jhb Exp 787866Ssheldonh */ 887866Ssheldonh 987866Ssheldonh#include <sys/param.h> 1087866Ssheldonh#include <sys/sysent.h> 1187866Ssheldonh#include <sys/sysproto.h> 1287866Ssheldonh#include <i386/ibcs2/ibcs2_types.h> 1387866Ssheldonh#include <i386/ibcs2/ibcs2_signal.h> 1487866Ssheldonh#include <i386/ibcs2/ibcs2_proto.h> 1587866Ssheldonh#include <i386/ibcs2/ibcs2_xenix.h> 1687866Ssheldonh 1787866Ssheldonh#define AS(name) (sizeof(struct name) / sizeof(register_t)) 1887866Ssheldonh 1987866Ssheldonh/* The casts are bogus but will do for now. */ 2087866Ssheldonhstruct sysent isc_sysent[] = { 2187866Ssheldonh { 0, (sy_call_t *)nosys }, /* 0 = nosys */ 2287866Ssheldonh { 0, (sy_call_t *)nosys }, /* 1 = isc_setostype */ 2387866Ssheldonh { AS(ibcs2_rename_args), (sy_call_t *)ibcs2_rename }, /* 2 = ibcs2_rename */ 2487866Ssheldonh { AS(ibcs2_sigaction_args), (sy_call_t *)ibcs2_sigaction }, /* 3 = ibcs2_sigaction */ 2587866Ssheldonh { AS(ibcs2_sigprocmask_args), (sy_call_t *)ibcs2_sigprocmask }, /* 4 = ibcs2_sigprocmask */ 2687866Ssheldonh { AS(ibcs2_sigpending_args), (sy_call_t *)ibcs2_sigpending }, /* 5 = ibcs2_sigpending */ 2787866Ssheldonh { AS(getgroups_args), (sy_call_t *)getgroups }, /* 6 = getgroups */ 2887866Ssheldonh { AS(setgroups_args), (sy_call_t *)setgroups }, /* 7 = setgroups */ 2987866Ssheldonh { AS(ibcs2_pathconf_args), (sy_call_t *)ibcs2_pathconf }, /* 8 = ibcs2_pathconf */ 3087866Ssheldonh { AS(ibcs2_fpathconf_args), (sy_call_t *)ibcs2_fpathconf }, /* 9 = ibcs2_fpathconf */ 3187866Ssheldonh { 0, (sy_call_t *)nosys }, /* 10 = nosys */ 3287866Ssheldonh { AS(ibcs2_wait_args), (sy_call_t *)ibcs2_wait }, /* 11 = ibcs2_wait */ 33118041Speter { 0, (sy_call_t *)setsid }, /* 12 = setsid */ 3487866Ssheldonh { 0, (sy_call_t *)getpid }, /* 13 = getpid */ 3587866Ssheldonh { 0, (sy_call_t *)nosys }, /* 14 = isc_adduser */ 3687866Ssheldonh { 0, (sy_call_t *)nosys }, /* 15 = isc_setuser */ 3787866Ssheldonh { SYF_MPSAFE | AS(ibcs2_sysconf_args), (sy_call_t *)ibcs2_sysconf }, /* 16 = ibcs2_sysconf */ 38150312Simura { AS(ibcs2_sigsuspend_args), (sy_call_t *)ibcs2_sigsuspend }, /* 17 = ibcs2_sigsuspend */ 3987866Ssheldonh { AS(ibcs2_symlink_args), (sy_call_t *)ibcs2_symlink }, /* 18 = ibcs2_symlink */ 4087866Ssheldonh { AS(ibcs2_readlink_args), (sy_call_t *)ibcs2_readlink }, /* 19 = ibcs2_readlink */ 4187866Ssheldonh { 0, (sy_call_t *)nosys }, /* 20 = isc_getmajor */ 4287866Ssheldonh}; 4387866Ssheldonh