diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/init_sysent.c | 4 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 4 | ||||
-rw-r--r-- | sys/sys/syscall.h | 6 | ||||
-rw-r--r-- | sys/sys/syscall.mk | 6 | ||||
-rw-r--r-- | sys/sys/sysproto.h | 10 |
5 files changed, 23 insertions, 7 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index da044d2..e2d51be 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.145 2003/03/31 23:30:41 jeff Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.146 2003/04/01 00:31:37 jeff Exp */ #include "opt_compat.h" @@ -462,4 +462,6 @@ struct sysent sysent[] = { { 0, (sy_call_t *)thr_exit }, /* 431 = thr_exit */ { AS(thr_self_args), (sy_call_t *)thr_self }, /* 432 = thr_self */ { AS(thr_kill_args), (sy_call_t *)thr_kill }, /* 433 = thr_kill */ + { SYF_MPSAFE | AS(_umtx_lock_args), (sy_call_t *)_umtx_lock }, /* 434 = _umtx_lock */ + { SYF_MPSAFE | AS(_umtx_unlock_args), (sy_call_t *)_umtx_unlock }, /* 435 = _umtx_unlock */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 3eb0ce0..7603389 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.145 2003/03/31 23:30:41 jeff Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.146 2003/04/01 00:31:37 jeff Exp */ const char *syscallnames[] = { @@ -441,4 +441,6 @@ const char *syscallnames[] = { "thr_exit", /* 431 = thr_exit */ "thr_self", /* 432 = thr_self */ "thr_kill", /* 433 = thr_kill */ + "_umtx_lock", /* 434 = _umtx_lock */ + "_umtx_unlock", /* 435 = _umtx_unlock */ }; diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 17fcc32..1b96b8a 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.145 2003/03/31 23:30:41 jeff Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.146 2003/04/01 00:31:37 jeff Exp */ #define SYS_syscall 0 @@ -341,4 +341,6 @@ #define SYS_thr_exit 431 #define SYS_thr_self 432 #define SYS_thr_kill 433 -#define SYS_MAXSYSCALL 434 +#define SYS__umtx_lock 434 +#define SYS__umtx_unlock 435 +#define SYS_MAXSYSCALL 436 diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk index e993101..d083aea 100644 --- a/sys/sys/syscall.mk +++ b/sys/sys/syscall.mk @@ -1,7 +1,7 @@ # FreeBSD system call names. # DO NOT EDIT-- this file is automatically generated. # $FreeBSD$ -# created from FreeBSD: src/sys/kern/syscalls.master,v 1.145 2003/03/31 23:30:41 jeff Exp +# created from FreeBSD: src/sys/kern/syscalls.master,v 1.146 2003/04/01 00:31:37 jeff Exp MIASM = \ syscall.o \ exit.o \ @@ -286,4 +286,6 @@ MIASM = \ thr_create.o \ thr_exit.o \ thr_self.o \ - thr_kill.o + thr_kill.o \ + _umtx_lock.o \ + _umtx_unlock.o diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index 1be3270..baf1374 100644 --- a/sys/sys/sysproto.h +++ b/sys/sys/sysproto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.145 2003/03/31 23:30:41 jeff Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.146 2003/04/01 00:31:37 jeff Exp */ #ifndef _SYS_SYSPROTO_H_ @@ -1255,6 +1255,12 @@ struct thr_kill_args { char id_l_[PADL_(thr_id_t)]; thr_id_t id; char id_r_[PADR_(thr_id_t)]; char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)]; }; +struct _umtx_lock_args { + char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)]; +}; +struct _umtx_unlock_args { + char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)]; +}; int nosys(struct thread *, struct nosys_args *); void sys_exit(struct thread *, struct sys_exit_args *); int fork(struct thread *, struct fork_args *); @@ -1538,6 +1544,8 @@ int thr_create(struct thread *, struct thr_create_args *); int thr_exit(struct thread *, struct thr_exit_args *); int thr_self(struct thread *, struct thr_self_args *); int thr_kill(struct thread *, struct thr_kill_args *); +int _umtx_lock(struct thread *, struct _umtx_lock_args *); +int _umtx_unlock(struct thread *, struct _umtx_unlock_args *); #ifdef COMPAT_43 |