ibcs2_xenix_sysent.c (50482) | ibcs2_xenix_sysent.c (60290) |
---|---|
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_xenix_sysent.c 60290 2000-05-09 21:52:02Z bde $ |
|
5 * created from FreeBSD: src/sys/i386/ibcs2/syscalls.xenix,v 1.6 1999/08/28 00:44:02 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_xenix.h> 14 | 6 * created from FreeBSD: src/sys/i386/ibcs2/syscalls.xenix,v 1.6 1999/08/28 00:44:02 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_xenix.h> 15 |
16#define AS(name) (sizeof(struct name) / sizeof(register_t)) 17 |
|
15/* The casts are bogus but will do for now. */ 16struct sysent xenix_sysent[] = { 17 { 0, (sy_call_t *)nosys }, /* 0 = nosys */ 18 { 0, (sy_call_t *)nosys }, /* 1 = xenix_xlocking */ 19 { 0, (sy_call_t *)nosys }, /* 2 = xenix_creatsem */ 20 { 0, (sy_call_t *)nosys }, /* 3 = xenix_opensem */ 21 { 0, (sy_call_t *)nosys }, /* 4 = xenix_sigsem */ 22 { 0, (sy_call_t *)nosys }, /* 5 = xenix_waitsem */ 23 { 0, (sy_call_t *)nosys }, /* 6 = xenix_nbwaitsem */ | 18/* The casts are bogus but will do for now. */ 19struct sysent xenix_sysent[] = { 20 { 0, (sy_call_t *)nosys }, /* 0 = nosys */ 21 { 0, (sy_call_t *)nosys }, /* 1 = xenix_xlocking */ 22 { 0, (sy_call_t *)nosys }, /* 2 = xenix_creatsem */ 23 { 0, (sy_call_t *)nosys }, /* 3 = xenix_opensem */ 24 { 0, (sy_call_t *)nosys }, /* 4 = xenix_sigsem */ 25 { 0, (sy_call_t *)nosys }, /* 5 = xenix_waitsem */ 26 { 0, (sy_call_t *)nosys }, /* 6 = xenix_nbwaitsem */ |
24 { 1, (sy_call_t *)xenix_rdchk }, /* 7 = xenix_rdchk */ | 27 { AS(xenix_rdchk_args), (sy_call_t *)xenix_rdchk }, /* 7 = xenix_rdchk */ |
25 { 0, (sy_call_t *)nosys }, /* 8 = nosys */ 26 { 0, (sy_call_t *)nosys }, /* 9 = nosys */ | 28 { 0, (sy_call_t *)nosys }, /* 8 = nosys */ 29 { 0, (sy_call_t *)nosys }, /* 9 = nosys */ |
27 { 2, (sy_call_t *)xenix_chsize }, /* 10 = xenix_chsize */ 28 { 1, (sy_call_t *)xenix_ftime }, /* 11 = xenix_ftime */ 29 { 1, (sy_call_t *)xenix_nap }, /* 12 = xenix_nap */ | 30 { AS(xenix_chsize_args), (sy_call_t *)xenix_chsize }, /* 10 = xenix_chsize */ 31 { AS(xenix_ftime_args), (sy_call_t *)xenix_ftime }, /* 11 = xenix_ftime */ 32 { AS(xenix_nap_args), (sy_call_t *)xenix_nap }, /* 12 = xenix_nap */ |
30 { 0, (sy_call_t *)nosys }, /* 13 = xenix_sdget */ 31 { 0, (sy_call_t *)nosys }, /* 14 = xenix_sdfree */ 32 { 0, (sy_call_t *)nosys }, /* 15 = xenix_sdenter */ 33 { 0, (sy_call_t *)nosys }, /* 16 = xenix_sdleave */ 34 { 0, (sy_call_t *)nosys }, /* 17 = xenix_sdgetv */ 35 { 0, (sy_call_t *)nosys }, /* 18 = xenix_sdwaitv */ 36 { 0, (sy_call_t *)nosys }, /* 19 = nosys */ 37 { 0, (sy_call_t *)nosys }, /* 20 = nosys */ --- 7 unchanged lines hidden (view full) --- 45 { 0, (sy_call_t *)nosys }, /* 28 = nosys */ 46 { 0, (sy_call_t *)nosys }, /* 29 = nosys */ 47 { 0, (sy_call_t *)nosys }, /* 30 = nosys */ 48 { 0, (sy_call_t *)nosys }, /* 31 = nosys */ 49 { 0, (sy_call_t *)nosys }, /* 32 = xenix_proctl */ 50 { 0, (sy_call_t *)nosys }, /* 33 = xenix_execseg */ 51 { 0, (sy_call_t *)nosys }, /* 34 = xenix_unexecseg */ 52 { 0, (sy_call_t *)nosys }, /* 35 = nosys */ | 33 { 0, (sy_call_t *)nosys }, /* 13 = xenix_sdget */ 34 { 0, (sy_call_t *)nosys }, /* 14 = xenix_sdfree */ 35 { 0, (sy_call_t *)nosys }, /* 15 = xenix_sdenter */ 36 { 0, (sy_call_t *)nosys }, /* 16 = xenix_sdleave */ 37 { 0, (sy_call_t *)nosys }, /* 17 = xenix_sdgetv */ 38 { 0, (sy_call_t *)nosys }, /* 18 = xenix_sdwaitv */ 39 { 0, (sy_call_t *)nosys }, /* 19 = nosys */ 40 { 0, (sy_call_t *)nosys }, /* 20 = nosys */ --- 7 unchanged lines hidden (view full) --- 48 { 0, (sy_call_t *)nosys }, /* 28 = nosys */ 49 { 0, (sy_call_t *)nosys }, /* 29 = nosys */ 50 { 0, (sy_call_t *)nosys }, /* 30 = nosys */ 51 { 0, (sy_call_t *)nosys }, /* 31 = nosys */ 52 { 0, (sy_call_t *)nosys }, /* 32 = xenix_proctl */ 53 { 0, (sy_call_t *)nosys }, /* 33 = xenix_execseg */ 54 { 0, (sy_call_t *)nosys }, /* 34 = xenix_unexecseg */ 55 { 0, (sy_call_t *)nosys }, /* 35 = nosys */ |
53 { 5, (sy_call_t *)select }, /* 36 = select */ 54 { 2, (sy_call_t *)xenix_eaccess }, /* 37 = xenix_eaccess */ | 56 { AS(select_args), (sy_call_t *)select }, /* 36 = select */ 57 { AS(xenix_eaccess_args), (sy_call_t *)xenix_eaccess }, /* 37 = xenix_eaccess */ |
55 { 0, (sy_call_t *)nosys }, /* 38 = xenix_paccess */ | 58 { 0, (sy_call_t *)nosys }, /* 38 = xenix_paccess */ |
56 { 3, (sy_call_t *)ibcs2_sigaction }, /* 39 = ibcs2_sigaction */ 57 { 3, (sy_call_t *)ibcs2_sigprocmask }, /* 40 = ibcs2_sigprocmask */ 58 { 1, (sy_call_t *)ibcs2_sigpending }, /* 41 = ibcs2_sigpending */ 59 { 1, (sy_call_t *)ibcs2_sigsuspend }, /* 42 = ibcs2_sigsuspend */ 60 { 2, (sy_call_t *)ibcs2_getgroups }, /* 43 = ibcs2_getgroups */ 61 { 2, (sy_call_t *)ibcs2_setgroups }, /* 44 = ibcs2_setgroups */ 62 { 1, (sy_call_t *)ibcs2_sysconf }, /* 45 = ibcs2_sysconf */ 63 { 2, (sy_call_t *)ibcs2_pathconf }, /* 46 = ibcs2_pathconf */ 64 { 2, (sy_call_t *)ibcs2_fpathconf }, /* 47 = ibcs2_fpathconf */ 65 { 2, (sy_call_t *)ibcs2_rename }, /* 48 = ibcs2_rename */ | 59 { AS(ibcs2_sigaction_args), (sy_call_t *)ibcs2_sigaction }, /* 39 = ibcs2_sigaction */ 60 { AS(ibcs2_sigprocmask_args), (sy_call_t *)ibcs2_sigprocmask }, /* 40 = ibcs2_sigprocmask */ 61 { AS(ibcs2_sigpending_args), (sy_call_t *)ibcs2_sigpending }, /* 41 = ibcs2_sigpending */ 62 { AS(ibcs2_sigsuspend_args), (sy_call_t *)ibcs2_sigsuspend }, /* 42 = ibcs2_sigsuspend */ 63 { AS(ibcs2_getgroups_args), (sy_call_t *)ibcs2_getgroups }, /* 43 = ibcs2_getgroups */ 64 { AS(ibcs2_setgroups_args), (sy_call_t *)ibcs2_setgroups }, /* 44 = ibcs2_setgroups */ 65 { AS(ibcs2_sysconf_args), (sy_call_t *)ibcs2_sysconf }, /* 45 = ibcs2_sysconf */ 66 { AS(ibcs2_pathconf_args), (sy_call_t *)ibcs2_pathconf }, /* 46 = ibcs2_pathconf */ 67 { AS(ibcs2_fpathconf_args), (sy_call_t *)ibcs2_fpathconf }, /* 47 = ibcs2_fpathconf */ 68 { AS(ibcs2_rename_args), (sy_call_t *)ibcs2_rename }, /* 48 = ibcs2_rename */ |
66 { 0, (sy_call_t *)nosys }, /* 49 = nosys */ | 69 { 0, (sy_call_t *)nosys }, /* 49 = nosys */ |
67 { 1, (sy_call_t *)xenix_utsname }, /* 50 = xenix_utsname */ | 70 { AS(xenix_utsname_args), (sy_call_t *)xenix_utsname }, /* 50 = xenix_utsname */ |
68 { 0, (sy_call_t *)nosys }, /* 51 = nosys */ 69 { 0, (sy_call_t *)nosys }, /* 52 = nosys */ 70 { 0, (sy_call_t *)nosys }, /* 53 = nosys */ 71 { 0, (sy_call_t *)nosys }, /* 54 = nosys */ | 71 { 0, (sy_call_t *)nosys }, /* 51 = nosys */ 72 { 0, (sy_call_t *)nosys }, /* 52 = nosys */ 73 { 0, (sy_call_t *)nosys }, /* 53 = nosys */ 74 { 0, (sy_call_t *)nosys }, /* 54 = nosys */ |
72 { 2, (sy_call_t *)getitimer }, /* 55 = getitimer */ 73 { 3, (sy_call_t *)setitimer }, /* 56 = setitimer */ | 75 { AS(getitimer_args), (sy_call_t *)getitimer }, /* 55 = getitimer */ 76 { AS(setitimer_args), (sy_call_t *)setitimer }, /* 56 = setitimer */ |
74}; | 77}; |