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_isc_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_isc_sysent.c')
-rw-r--r-- | sys/i386/ibcs2/ibcs2_isc_sysent.c | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/sys/i386/ibcs2/ibcs2_isc_sysent.c b/sys/i386/ibcs2/ibcs2_isc_sysent.c index 2eead68..b20b63c 100644 --- a/sys/i386/ibcs2/ibcs2_isc_sysent.c +++ b/sys/i386/ibcs2/ibcs2_isc_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.isc,v 1.5 1999/08/28 00:44:01 peter Exp */ @@ -13,27 +14,29 @@ #include <i386/ibcs2/ibcs2_proto.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 isc_sysent[] = { { 0, (sy_call_t *)nosys }, /* 0 = nosys */ { 0, (sy_call_t *)nosys }, /* 1 = isc_setostype */ - { 2, (sy_call_t *)ibcs2_rename }, /* 2 = ibcs2_rename */ - { 3, (sy_call_t *)ibcs2_sigaction }, /* 3 = ibcs2_sigaction */ - { 3, (sy_call_t *)ibcs2_sigprocmask }, /* 4 = ibcs2_sigprocmask */ - { 1, (sy_call_t *)ibcs2_sigpending }, /* 5 = ibcs2_sigpending */ - { 2, (sy_call_t *)getgroups }, /* 6 = getgroups */ - { 2, (sy_call_t *)setgroups }, /* 7 = setgroups */ - { 2, (sy_call_t *)ibcs2_pathconf }, /* 8 = ibcs2_pathconf */ - { 2, (sy_call_t *)ibcs2_fpathconf }, /* 9 = ibcs2_fpathconf */ + { AS(ibcs2_rename_args), (sy_call_t *)ibcs2_rename }, /* 2 = ibcs2_rename */ + { AS(ibcs2_sigaction_args), (sy_call_t *)ibcs2_sigaction }, /* 3 = ibcs2_sigaction */ + { AS(ibcs2_sigprocmask_args), (sy_call_t *)ibcs2_sigprocmask }, /* 4 = ibcs2_sigprocmask */ + { AS(ibcs2_sigpending_args), (sy_call_t *)ibcs2_sigpending }, /* 5 = ibcs2_sigpending */ + { AS(getgroups_args), (sy_call_t *)getgroups }, /* 6 = getgroups */ + { AS(setgroups_args), (sy_call_t *)setgroups }, /* 7 = setgroups */ + { AS(ibcs2_pathconf_args), (sy_call_t *)ibcs2_pathconf }, /* 8 = ibcs2_pathconf */ + { AS(ibcs2_fpathconf_args), (sy_call_t *)ibcs2_fpathconf }, /* 9 = ibcs2_fpathconf */ { 0, (sy_call_t *)nosys }, /* 10 = nosys */ - { 3, (sy_call_t *)ibcs2_wait }, /* 11 = ibcs2_wait */ + { AS(ibcs2_wait_args), (sy_call_t *)ibcs2_wait }, /* 11 = ibcs2_wait */ { 0, (sy_call_t *)setsid }, /* 12 = setsid */ { 0, (sy_call_t *)getpid }, /* 13 = getpid */ { 0, (sy_call_t *)nosys }, /* 14 = isc_adduser */ { 0, (sy_call_t *)nosys }, /* 15 = isc_setuser */ - { 1, (sy_call_t *)ibcs2_sysconf }, /* 16 = ibcs2_sysconf */ - { 1, (sy_call_t *)ibcs2_sigsuspend }, /* 17 = ibcs2_sigsuspend */ - { 2, (sy_call_t *)ibcs2_symlink }, /* 18 = ibcs2_symlink */ - { 3, (sy_call_t *)ibcs2_readlink }, /* 19 = ibcs2_readlink */ + { AS(ibcs2_sysconf_args), (sy_call_t *)ibcs2_sysconf }, /* 16 = ibcs2_sysconf */ + { AS(ibcs2_sigsuspend_args), (sy_call_t *)ibcs2_sigsuspend }, /* 17 = ibcs2_sigsuspend */ + { AS(ibcs2_symlink_args), (sy_call_t *)ibcs2_symlink }, /* 18 = ibcs2_symlink */ + { AS(ibcs2_readlink_args), (sy_call_t *)ibcs2_readlink }, /* 19 = ibcs2_readlink */ { 0, (sy_call_t *)nosys }, /* 20 = isc_getmajor */ }; |