diff options
author | bde <bde@FreeBSD.org> | 2000-05-09 21:52:02 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2000-05-09 21:52:02 +0000 |
commit | 9bb1617433495d432c109d90e229bb800b7bc9d7 (patch) | |
tree | 77d87d31f1378b2335d75c16c780ae87c1474327 /sys/i386/ibcs2/ibcs2_xenix_sysent.c | |
parent | ef5a12c723153da3f2cbffa00326911c9c02e6de (diff) | |
download | FreeBSD-src-9bb1617433495d432c109d90e229bb800b7bc9d7.zip FreeBSD-src-9bb1617433495d432c109d90e229bb800b7bc9d7.tar.gz |
Regenerated (fixed the calculation of sy_nargs in sysent tables).
Diffstat (limited to 'sys/i386/ibcs2/ibcs2_xenix_sysent.c')
-rw-r--r-- | sys/i386/ibcs2/ibcs2_xenix_sysent.c | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/sys/i386/ibcs2/ibcs2_xenix_sysent.c b/sys/i386/ibcs2/ibcs2_xenix_sysent.c index 66da25a..4cb37b5 100644 --- a/sys/i386/ibcs2/ibcs2_xenix_sysent.c +++ b/sys/i386/ibcs2/ibcs2_xenix_sysent.c @@ -2,6 +2,7 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. + * $FreeBSD$ * created from FreeBSD: src/sys/i386/ibcs2/syscalls.xenix,v 1.6 1999/08/28 00:44:02 peter Exp */ @@ -12,6 +13,8 @@ #include <i386/ibcs2/ibcs2_signal.h> #include <i386/ibcs2/ibcs2_xenix.h> +#define AS(name) (sizeof(struct name) / sizeof(register_t)) + /* The casts are bogus but will do for now. */ struct sysent xenix_sysent[] = { { 0, (sy_call_t *)nosys }, /* 0 = nosys */ @@ -21,12 +24,12 @@ struct sysent xenix_sysent[] = { { 0, (sy_call_t *)nosys }, /* 4 = xenix_sigsem */ { 0, (sy_call_t *)nosys }, /* 5 = xenix_waitsem */ { 0, (sy_call_t *)nosys }, /* 6 = xenix_nbwaitsem */ - { 1, (sy_call_t *)xenix_rdchk }, /* 7 = xenix_rdchk */ + { AS(xenix_rdchk_args), (sy_call_t *)xenix_rdchk }, /* 7 = xenix_rdchk */ { 0, (sy_call_t *)nosys }, /* 8 = nosys */ { 0, (sy_call_t *)nosys }, /* 9 = nosys */ - { 2, (sy_call_t *)xenix_chsize }, /* 10 = xenix_chsize */ - { 1, (sy_call_t *)xenix_ftime }, /* 11 = xenix_ftime */ - { 1, (sy_call_t *)xenix_nap }, /* 12 = xenix_nap */ + { AS(xenix_chsize_args), (sy_call_t *)xenix_chsize }, /* 10 = xenix_chsize */ + { AS(xenix_ftime_args), (sy_call_t *)xenix_ftime }, /* 11 = xenix_ftime */ + { AS(xenix_nap_args), (sy_call_t *)xenix_nap }, /* 12 = xenix_nap */ { 0, (sy_call_t *)nosys }, /* 13 = xenix_sdget */ { 0, (sy_call_t *)nosys }, /* 14 = xenix_sdfree */ { 0, (sy_call_t *)nosys }, /* 15 = xenix_sdenter */ @@ -50,25 +53,25 @@ struct sysent xenix_sysent[] = { { 0, (sy_call_t *)nosys }, /* 33 = xenix_execseg */ { 0, (sy_call_t *)nosys }, /* 34 = xenix_unexecseg */ { 0, (sy_call_t *)nosys }, /* 35 = nosys */ - { 5, (sy_call_t *)select }, /* 36 = select */ - { 2, (sy_call_t *)xenix_eaccess }, /* 37 = xenix_eaccess */ + { AS(select_args), (sy_call_t *)select }, /* 36 = select */ + { AS(xenix_eaccess_args), (sy_call_t *)xenix_eaccess }, /* 37 = xenix_eaccess */ { 0, (sy_call_t *)nosys }, /* 38 = xenix_paccess */ - { 3, (sy_call_t *)ibcs2_sigaction }, /* 39 = ibcs2_sigaction */ - { 3, (sy_call_t *)ibcs2_sigprocmask }, /* 40 = ibcs2_sigprocmask */ - { 1, (sy_call_t *)ibcs2_sigpending }, /* 41 = ibcs2_sigpending */ - { 1, (sy_call_t *)ibcs2_sigsuspend }, /* 42 = ibcs2_sigsuspend */ - { 2, (sy_call_t *)ibcs2_getgroups }, /* 43 = ibcs2_getgroups */ - { 2, (sy_call_t *)ibcs2_setgroups }, /* 44 = ibcs2_setgroups */ - { 1, (sy_call_t *)ibcs2_sysconf }, /* 45 = ibcs2_sysconf */ - { 2, (sy_call_t *)ibcs2_pathconf }, /* 46 = ibcs2_pathconf */ - { 2, (sy_call_t *)ibcs2_fpathconf }, /* 47 = ibcs2_fpathconf */ - { 2, (sy_call_t *)ibcs2_rename }, /* 48 = ibcs2_rename */ + { AS(ibcs2_sigaction_args), (sy_call_t *)ibcs2_sigaction }, /* 39 = ibcs2_sigaction */ + { AS(ibcs2_sigprocmask_args), (sy_call_t *)ibcs2_sigprocmask }, /* 40 = ibcs2_sigprocmask */ + { AS(ibcs2_sigpending_args), (sy_call_t *)ibcs2_sigpending }, /* 41 = ibcs2_sigpending */ + { AS(ibcs2_sigsuspend_args), (sy_call_t *)ibcs2_sigsuspend }, /* 42 = ibcs2_sigsuspend */ + { AS(ibcs2_getgroups_args), (sy_call_t *)ibcs2_getgroups }, /* 43 = ibcs2_getgroups */ + { AS(ibcs2_setgroups_args), (sy_call_t *)ibcs2_setgroups }, /* 44 = ibcs2_setgroups */ + { AS(ibcs2_sysconf_args), (sy_call_t *)ibcs2_sysconf }, /* 45 = ibcs2_sysconf */ + { AS(ibcs2_pathconf_args), (sy_call_t *)ibcs2_pathconf }, /* 46 = ibcs2_pathconf */ + { AS(ibcs2_fpathconf_args), (sy_call_t *)ibcs2_fpathconf }, /* 47 = ibcs2_fpathconf */ + { AS(ibcs2_rename_args), (sy_call_t *)ibcs2_rename }, /* 48 = ibcs2_rename */ { 0, (sy_call_t *)nosys }, /* 49 = nosys */ - { 1, (sy_call_t *)xenix_utsname }, /* 50 = xenix_utsname */ + { AS(xenix_utsname_args), (sy_call_t *)xenix_utsname }, /* 50 = xenix_utsname */ { 0, (sy_call_t *)nosys }, /* 51 = nosys */ { 0, (sy_call_t *)nosys }, /* 52 = nosys */ { 0, (sy_call_t *)nosys }, /* 53 = nosys */ { 0, (sy_call_t *)nosys }, /* 54 = nosys */ - { 2, (sy_call_t *)getitimer }, /* 55 = getitimer */ - { 3, (sy_call_t *)setitimer }, /* 56 = setitimer */ + { AS(getitimer_args), (sy_call_t *)getitimer }, /* 55 = getitimer */ + { AS(setitimer_args), (sy_call_t *)setitimer }, /* 56 = setitimer */ }; |