From 326105323e5f159a8533b4a532e040f57a176a3f Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 20 Jan 2003 20:25:04 +0000 Subject: [PATCH] regen --- sys/kern/init_sysent.c | 60 +++++++++++++++++++++--------------------- sys/kern/syscalls.c | 42 ++++++++++++++--------------- sys/sys/syscall.h | 58 ++++++++++++++++++++-------------------- sys/sys/syscallargs.h | 40 ++++++++++++++-------------- 4 files changed, 100 insertions(+), 100 deletions(-) diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 547af7bfe343..d45cd6681202 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: init_sysent.c,v 1.138 2003/01/20 20:06:25 christos Exp $ */ +/* $NetBSD: init_sysent.c,v 1.139 2003/01/20 20:25:04 christos Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.121 2003/01/20 20:04:28 christos Exp + * created from NetBSD: syscalls.master,v 1.122 2003/01/20 20:24:21 christos Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.138 2003/01/20 20:06:25 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.139 2003/01/20 20:25:04 christos Exp $"); #include "opt_ktrace.h" #include "opt_nfsserver.h" @@ -678,43 +678,43 @@ struct sysent sysent[] = { { 0, 0, 0, sys_nosys }, /* 246 = unimplemented sys_sigqueue */ #ifdef P1003_1B_SEMAPHORE - { 2, s(struct sys_ksem_init_args), 0, - sys_ksem_init }, /* 247 = ksem_init */ - { 5, s(struct sys_ksem_open_args), 0, - sys_ksem_open }, /* 248 = ksem_open */ - { 1, s(struct sys_ksem_unlink_args), 0, - sys_ksem_unlink }, /* 249 = ksem_unlink */ - { 1, s(struct sys_ksem_close_args), 0, - sys_ksem_close }, /* 250 = ksem_close */ - { 1, s(struct sys_ksem_post_args), 0, - sys_ksem_post }, /* 251 = ksem_post */ - { 1, s(struct sys_ksem_wait_args), 0, - sys_ksem_wait }, /* 252 = ksem_wait */ - { 1, s(struct sys_ksem_trywait_args), 0, - sys_ksem_trywait }, /* 253 = ksem_trywait */ - { 2, s(struct sys_ksem_getvalue_args), 0, - sys_ksem_getvalue }, /* 254 = ksem_getvalue */ - { 1, s(struct sys_ksem_destroy_args), 0, - sys_ksem_destroy }, /* 255 = ksem_destroy */ + { 2, s(struct sys__ksem_init_args), 0, + sys__ksem_init }, /* 247 = _ksem_init */ + { 5, s(struct sys__ksem_open_args), 0, + sys__ksem_open }, /* 248 = _ksem_open */ + { 1, s(struct sys__ksem_unlink_args), 0, + sys__ksem_unlink }, /* 249 = _ksem_unlink */ + { 1, s(struct sys__ksem_close_args), 0, + sys__ksem_close }, /* 250 = _ksem_close */ + { 1, s(struct sys__ksem_post_args), 0, + sys__ksem_post }, /* 251 = _ksem_post */ + { 1, s(struct sys__ksem_wait_args), 0, + sys__ksem_wait }, /* 252 = _ksem_wait */ + { 1, s(struct sys__ksem_trywait_args), 0, + sys__ksem_trywait }, /* 253 = _ksem_trywait */ + { 2, s(struct sys__ksem_getvalue_args), 0, + sys__ksem_getvalue }, /* 254 = _ksem_getvalue */ + { 1, s(struct sys__ksem_destroy_args), 0, + sys__ksem_destroy }, /* 255 = _ksem_destroy */ #else { 0, 0, 0, - sys_nosys }, /* 247 = excluded sys_ksem_init */ + sys_nosys }, /* 247 = excluded sys__ksem_init */ { 0, 0, 0, - sys_nosys }, /* 248 = excluded sys_ksem_open */ + sys_nosys }, /* 248 = excluded sys__ksem_open */ { 0, 0, 0, - sys_nosys }, /* 249 = excluded sys_ksem_unlink */ + sys_nosys }, /* 249 = excluded sys__ksem_unlink */ { 0, 0, 0, - sys_nosys }, /* 250 = excluded sys_ksem_close */ + sys_nosys }, /* 250 = excluded sys__ksem_close */ { 0, 0, 0, - sys_nosys }, /* 251 = excluded sys_ksem_post */ + sys_nosys }, /* 251 = excluded sys__ksem_post */ { 0, 0, 0, - sys_nosys }, /* 252 = excluded sys_ksem_wait */ + sys_nosys }, /* 252 = excluded sys__ksem_wait */ { 0, 0, 0, - sys_nosys }, /* 253 = excluded sys_ksem_trywait */ + sys_nosys }, /* 253 = excluded sys__ksem_trywait */ { 0, 0, 0, - sys_nosys }, /* 254 = excluded sys_ksem_getvalue */ + sys_nosys }, /* 254 = excluded sys__ksem_getvalue */ { 0, 0, 0, - sys_nosys }, /* 255 = excluded sys_ksem_destroy */ + sys_nosys }, /* 255 = excluded sys__ksem_destroy */ #endif { 0, 0, 0, sys_nosys }, /* 256 = unimplemented */ diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index a8d217816b2b..5bb0071c8136 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: syscalls.c,v 1.133 2003/01/20 20:06:25 christos Exp $ */ +/* $NetBSD: syscalls.c,v 1.134 2003/01/20 20:25:04 christos Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.121 2003/01/20 20:04:28 christos Exp + * created from NetBSD: syscalls.master,v 1.122 2003/01/20 20:24:21 christos Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.133 2003/01/20 20:06:25 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.134 2003/01/20 20:25:04 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_ktrace.h" @@ -354,25 +354,25 @@ const char *const syscallnames[] = { "#245 (unimplemented sys_sigtimedwait)", /* 245 = unimplemented sys_sigtimedwait */ "#246 (unimplemented sys_sigqueue)", /* 246 = unimplemented sys_sigqueue */ #ifdef P1003_1B_SEMAPHORE - "ksem_init", /* 247 = ksem_init */ - "ksem_open", /* 248 = ksem_open */ - "ksem_unlink", /* 249 = ksem_unlink */ - "ksem_close", /* 250 = ksem_close */ - "ksem_post", /* 251 = ksem_post */ - "ksem_wait", /* 252 = ksem_wait */ - "ksem_trywait", /* 253 = ksem_trywait */ - "ksem_getvalue", /* 254 = ksem_getvalue */ - "ksem_destroy", /* 255 = ksem_destroy */ + "_ksem_init", /* 247 = _ksem_init */ + "_ksem_open", /* 248 = _ksem_open */ + "_ksem_unlink", /* 249 = _ksem_unlink */ + "_ksem_close", /* 250 = _ksem_close */ + "_ksem_post", /* 251 = _ksem_post */ + "_ksem_wait", /* 252 = _ksem_wait */ + "_ksem_trywait", /* 253 = _ksem_trywait */ + "_ksem_getvalue", /* 254 = _ksem_getvalue */ + "_ksem_destroy", /* 255 = _ksem_destroy */ #else - "#247 (excluded sys_ksem_init)", /* 247 = excluded sys_ksem_init */ - "#248 (excluded sys_ksem_open)", /* 248 = excluded sys_ksem_open */ - "#249 (excluded sys_ksem_unlink)", /* 249 = excluded sys_ksem_unlink */ - "#250 (excluded sys_ksem_close)", /* 250 = excluded sys_ksem_close */ - "#251 (excluded sys_ksem_post)", /* 251 = excluded sys_ksem_post */ - "#252 (excluded sys_ksem_wait)", /* 252 = excluded sys_ksem_wait */ - "#253 (excluded sys_ksem_trywait)", /* 253 = excluded sys_ksem_trywait */ - "#254 (excluded sys_ksem_getvalue)", /* 254 = excluded sys_ksem_getvalue */ - "#255 (excluded sys_ksem_destroy)", /* 255 = excluded sys_ksem_destroy */ + "#247 (excluded sys__ksem_init)", /* 247 = excluded sys__ksem_init */ + "#248 (excluded sys__ksem_open)", /* 248 = excluded sys__ksem_open */ + "#249 (excluded sys__ksem_unlink)", /* 249 = excluded sys__ksem_unlink */ + "#250 (excluded sys__ksem_close)", /* 250 = excluded sys__ksem_close */ + "#251 (excluded sys__ksem_post)", /* 251 = excluded sys__ksem_post */ + "#252 (excluded sys__ksem_wait)", /* 252 = excluded sys__ksem_wait */ + "#253 (excluded sys__ksem_trywait)", /* 253 = excluded sys__ksem_trywait */ + "#254 (excluded sys__ksem_getvalue)", /* 254 = excluded sys__ksem_getvalue */ + "#255 (excluded sys__ksem_destroy)", /* 255 = excluded sys__ksem_destroy */ #endif "#256 (unimplemented)", /* 256 = unimplemented */ "#257 (unimplemented)", /* 257 = unimplemented */ diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 37d4dd9a97d4..0a3d9607c212 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: syscall.h,v 1.131 2003/01/20 20:06:27 christos Exp $ */ +/* $NetBSD: syscall.h,v 1.132 2003/01/20 20:25:05 christos Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.121 2003/01/20 20:04:28 christos Exp + * created from NetBSD: syscalls.master,v 1.122 2003/01/20 20:24:21 christos Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ @@ -617,42 +617,42 @@ /* syscall: "munlockall" ret: "int" args: */ #define SYS_munlockall 243 -/* syscall: "ksem_init" ret: "int" args: "unsigned int" "semid_t *" */ -#define SYS_ksem_init 247 +/* syscall: "_ksem_init" ret: "int" args: "unsigned int" "semid_t *" */ +#define SYS__ksem_init 247 -/* syscall: "ksem_open" ret: "int" args: "const char *" "int" "mode_t" "unsigned int" "semid_t *" */ -#define SYS_ksem_open 248 +/* syscall: "_ksem_open" ret: "int" args: "const char *" "int" "mode_t" "unsigned int" "semid_t *" */ +#define SYS__ksem_open 248 -/* syscall: "ksem_unlink" ret: "int" args: "const char *" */ -#define SYS_ksem_unlink 249 +/* syscall: "_ksem_unlink" ret: "int" args: "const char *" */ +#define SYS__ksem_unlink 249 -/* syscall: "ksem_close" ret: "int" args: "semid_t" */ -#define SYS_ksem_close 250 +/* syscall: "_ksem_close" ret: "int" args: "semid_t" */ +#define SYS__ksem_close 250 -/* syscall: "ksem_post" ret: "int" args: "semid_t" */ -#define SYS_ksem_post 251 +/* syscall: "_ksem_post" ret: "int" args: "semid_t" */ +#define SYS__ksem_post 251 -/* syscall: "ksem_wait" ret: "int" args: "semid_t" */ -#define SYS_ksem_wait 252 +/* syscall: "_ksem_wait" ret: "int" args: "semid_t" */ +#define SYS__ksem_wait 252 -/* syscall: "ksem_trywait" ret: "int" args: "semid_t" */ -#define SYS_ksem_trywait 253 +/* syscall: "_ksem_trywait" ret: "int" args: "semid_t" */ +#define SYS__ksem_trywait 253 -/* syscall: "ksem_getvalue" ret: "int" args: "semid_t" "unsigned int *" */ -#define SYS_ksem_getvalue 254 +/* syscall: "_ksem_getvalue" ret: "int" args: "semid_t" "unsigned int *" */ +#define SYS__ksem_getvalue 254 -/* syscall: "ksem_destroy" ret: "int" args: "semid_t" */ -#define SYS_ksem_destroy 255 +/* syscall: "_ksem_destroy" ret: "int" args: "semid_t" */ +#define SYS__ksem_destroy 255 - /* 247 is excluded sys_ksem_init */ - /* 248 is excluded sys_ksem_open */ - /* 249 is excluded sys_ksem_unlink */ - /* 250 is excluded sys_ksem_close */ - /* 251 is excluded sys_ksem_post */ - /* 252 is excluded sys_ksem_wait */ - /* 253 is excluded sys_ksem_trywait */ - /* 254 is excluded sys_ksem_getvalue */ - /* 255 is excluded sys_ksem_destroy */ + /* 247 is excluded sys__ksem_init */ + /* 248 is excluded sys__ksem_open */ + /* 249 is excluded sys__ksem_unlink */ + /* 250 is excluded sys__ksem_close */ + /* 251 is excluded sys__ksem_post */ + /* 252 is excluded sys__ksem_wait */ + /* 253 is excluded sys__ksem_trywait */ + /* 254 is excluded sys__ksem_getvalue */ + /* 255 is excluded sys__ksem_destroy */ /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */ #define SYS___posix_rename 270 diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index d9321a73864b..f6d7ae1a4490 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: syscallargs.h,v 1.113 2003/01/20 20:06:28 christos Exp $ */ +/* $NetBSD: syscallargs.h,v 1.114 2003/01/20 20:25:05 christos Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.121 2003/01/20 20:04:28 christos Exp + * created from NetBSD: syscalls.master,v 1.122 2003/01/20 20:24:21 christos Exp */ #ifndef _SYS__SYSCALLARGS_H_ @@ -1053,12 +1053,12 @@ struct sys_mlockall_args { syscallarg(int) flags; }; -struct sys_ksem_init_args { +struct sys__ksem_init_args { syscallarg(unsigned int) value; syscallarg(semid_t *) idp; }; -struct sys_ksem_open_args { +struct sys__ksem_open_args { syscallarg(const char *) name; syscallarg(int) oflag; syscallarg(mode_t) mode; @@ -1066,32 +1066,32 @@ struct sys_ksem_open_args { syscallarg(semid_t *) idp; }; -struct sys_ksem_unlink_args { +struct sys__ksem_unlink_args { syscallarg(const char *) name; }; -struct sys_ksem_close_args { +struct sys__ksem_close_args { syscallarg(semid_t) id; }; -struct sys_ksem_post_args { +struct sys__ksem_post_args { syscallarg(semid_t) id; }; -struct sys_ksem_wait_args { +struct sys__ksem_wait_args { syscallarg(semid_t) id; }; -struct sys_ksem_trywait_args { +struct sys__ksem_trywait_args { syscallarg(semid_t) id; }; -struct sys_ksem_getvalue_args { +struct sys__ksem_getvalue_args { syscallarg(semid_t) id; syscallarg(unsigned int *) value; }; -struct sys_ksem_destroy_args { +struct sys__ksem_destroy_args { syscallarg(semid_t) id; }; @@ -1643,15 +1643,15 @@ int sys_fdatasync(struct lwp *, void *, register_t *); int sys_mlockall(struct lwp *, void *, register_t *); int sys_munlockall(struct lwp *, void *, register_t *); #ifdef P1003_1B_SEMAPHORE -int sys_ksem_init(struct lwp *, void *, register_t *); -int sys_ksem_open(struct lwp *, void *, register_t *); -int sys_ksem_unlink(struct lwp *, void *, register_t *); -int sys_ksem_close(struct lwp *, void *, register_t *); -int sys_ksem_post(struct lwp *, void *, register_t *); -int sys_ksem_wait(struct lwp *, void *, register_t *); -int sys_ksem_trywait(struct lwp *, void *, register_t *); -int sys_ksem_getvalue(struct lwp *, void *, register_t *); -int sys_ksem_destroy(struct lwp *, void *, register_t *); +int sys__ksem_init(struct lwp *, void *, register_t *); +int sys__ksem_open(struct lwp *, void *, register_t *); +int sys__ksem_unlink(struct lwp *, void *, register_t *); +int sys__ksem_close(struct lwp *, void *, register_t *); +int sys__ksem_post(struct lwp *, void *, register_t *); +int sys__ksem_wait(struct lwp *, void *, register_t *); +int sys__ksem_trywait(struct lwp *, void *, register_t *); +int sys__ksem_getvalue(struct lwp *, void *, register_t *); +int sys__ksem_destroy(struct lwp *, void *, register_t *); #else #endif int sys___posix_rename(struct lwp *, void *, register_t *);