1/* 2 * System call switch table. 3 * 4 * DO NOT EDIT-- this file is automatically generated.
| 1/* 2 * System call switch table. 3 * 4 * DO NOT EDIT-- this file is automatically generated.
|
| 5 * $FreeBSD: head/sys/i386/ibcs2/ibcs2_isc_sysent.c 60290 2000-05-09 21:52:02Z bde $
|
5 * created from FreeBSD: src/sys/i386/ibcs2/syscalls.isc,v 1.5 1999/08/28 00:44:01 peter Exp 6 */ 7 8#include <sys/param.h> 9#include <sys/sysent.h> 10#include <sys/sysproto.h> 11#include <i386/ibcs2/ibcs2_types.h> 12#include <i386/ibcs2/ibcs2_signal.h> 13#include <i386/ibcs2/ibcs2_proto.h> 14#include <i386/ibcs2/ibcs2_xenix.h> 15
| 6 * created from FreeBSD: src/sys/i386/ibcs2/syscalls.isc,v 1.5 1999/08/28 00:44:01 peter Exp 7 */ 8 9#include <sys/param.h> 10#include <sys/sysent.h> 11#include <sys/sysproto.h> 12#include <i386/ibcs2/ibcs2_types.h> 13#include <i386/ibcs2/ibcs2_signal.h> 14#include <i386/ibcs2/ibcs2_proto.h> 15#include <i386/ibcs2/ibcs2_xenix.h> 16
|
| 17#define AS(name) (sizeof(struct name) / sizeof(register_t)) 18
|
16/* The casts are bogus but will do for now. */ 17struct sysent isc_sysent[] = { 18 { 0, (sy_call_t *)nosys }, /* 0 = nosys */ 19 { 0, (sy_call_t *)nosys }, /* 1 = isc_setostype */
| 19/* The casts are bogus but will do for now. */ 20struct sysent isc_sysent[] = { 21 { 0, (sy_call_t *)nosys }, /* 0 = nosys */ 22 { 0, (sy_call_t *)nosys }, /* 1 = isc_setostype */
|
20 { 2, (sy_call_t *)ibcs2_rename }, /* 2 = ibcs2_rename */ 21 { 3, (sy_call_t *)ibcs2_sigaction }, /* 3 = ibcs2_sigaction */ 22 { 3, (sy_call_t *)ibcs2_sigprocmask }, /* 4 = ibcs2_sigprocmask */ 23 { 1, (sy_call_t *)ibcs2_sigpending }, /* 5 = ibcs2_sigpending */ 24 { 2, (sy_call_t *)getgroups }, /* 6 = getgroups */ 25 { 2, (sy_call_t *)setgroups }, /* 7 = setgroups */ 26 { 2, (sy_call_t *)ibcs2_pathconf }, /* 8 = ibcs2_pathconf */ 27 { 2, (sy_call_t *)ibcs2_fpathconf }, /* 9 = ibcs2_fpathconf */
| 23 { AS(ibcs2_rename_args), (sy_call_t *)ibcs2_rename }, /* 2 = ibcs2_rename */ 24 { AS(ibcs2_sigaction_args), (sy_call_t *)ibcs2_sigaction }, /* 3 = ibcs2_sigaction */ 25 { AS(ibcs2_sigprocmask_args), (sy_call_t *)ibcs2_sigprocmask }, /* 4 = ibcs2_sigprocmask */ 26 { AS(ibcs2_sigpending_args), (sy_call_t *)ibcs2_sigpending }, /* 5 = ibcs2_sigpending */ 27 { AS(getgroups_args), (sy_call_t *)getgroups }, /* 6 = getgroups */ 28 { AS(setgroups_args), (sy_call_t *)setgroups }, /* 7 = setgroups */ 29 { AS(ibcs2_pathconf_args), (sy_call_t *)ibcs2_pathconf }, /* 8 = ibcs2_pathconf */ 30 { AS(ibcs2_fpathconf_args), (sy_call_t *)ibcs2_fpathconf }, /* 9 = ibcs2_fpathconf */
|
28 { 0, (sy_call_t *)nosys }, /* 10 = nosys */
| 31 { 0, (sy_call_t *)nosys }, /* 10 = nosys */
|
29 { 3, (sy_call_t *)ibcs2_wait }, /* 11 = ibcs2_wait */
| 32 { AS(ibcs2_wait_args), (sy_call_t *)ibcs2_wait }, /* 11 = ibcs2_wait */
|
30 { 0, (sy_call_t *)setsid }, /* 12 = setsid */ 31 { 0, (sy_call_t *)getpid }, /* 13 = getpid */ 32 { 0, (sy_call_t *)nosys }, /* 14 = isc_adduser */ 33 { 0, (sy_call_t *)nosys }, /* 15 = isc_setuser */
| 33 { 0, (sy_call_t *)setsid }, /* 12 = setsid */ 34 { 0, (sy_call_t *)getpid }, /* 13 = getpid */ 35 { 0, (sy_call_t *)nosys }, /* 14 = isc_adduser */ 36 { 0, (sy_call_t *)nosys }, /* 15 = isc_setuser */
|
34 { 1, (sy_call_t *)ibcs2_sysconf }, /* 16 = ibcs2_sysconf */ 35 { 1, (sy_call_t *)ibcs2_sigsuspend }, /* 17 = ibcs2_sigsuspend */ 36 { 2, (sy_call_t *)ibcs2_symlink }, /* 18 = ibcs2_symlink */ 37 { 3, (sy_call_t *)ibcs2_readlink }, /* 19 = ibcs2_readlink */
| 37 { AS(ibcs2_sysconf_args), (sy_call_t *)ibcs2_sysconf }, /* 16 = ibcs2_sysconf */ 38 { AS(ibcs2_sigsuspend_args), (sy_call_t *)ibcs2_sigsuspend }, /* 17 = ibcs2_sigsuspend */ 39 { AS(ibcs2_symlink_args), (sy_call_t *)ibcs2_symlink }, /* 18 = ibcs2_symlink */ 40 { AS(ibcs2_readlink_args), (sy_call_t *)ibcs2_readlink }, /* 19 = ibcs2_readlink */
|
38 { 0, (sy_call_t *)nosys }, /* 20 = isc_getmajor */ 39};
| 41 { 0, (sy_call_t *)nosys }, /* 20 = isc_getmajor */ 42};
|