diff options
-rw-r--r-- | sys/compat/freebsd32/freebsd32_proto.h | 2 | ||||
-rw-r--r-- | sys/compat/freebsd32/freebsd32_syscall.h | 6 | ||||
-rw-r--r-- | sys/compat/freebsd32/freebsd32_syscalls.c | 4 | ||||
-rw-r--r-- | sys/compat/freebsd32/freebsd32_sysent.c | 4 | ||||
-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 |
9 files changed, 34 insertions, 12 deletions
diff --git a/sys/compat/freebsd32/freebsd32_proto.h b/sys/compat/freebsd32/freebsd32_proto.h index 724f52f..aa6d6db 100644 --- a/sys/compat/freebsd32/freebsd32_proto.h +++ b/sys/compat/freebsd32/freebsd32_proto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.35 2004/02/21 23:37:33 peter Exp + * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.36 2004/03/27 14:30:42 mtm Exp */ #ifndef _FREEBSD32_SYSPROTO_H_ diff --git a/sys/compat/freebsd32/freebsd32_syscall.h b/sys/compat/freebsd32/freebsd32_syscall.h index 4f211a2..866f302 100644 --- a/sys/compat/freebsd32/freebsd32_syscall.h +++ b/sys/compat/freebsd32/freebsd32_syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.35 2004/02/21 23:37:33 peter Exp + * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.36 2004/03/27 14:30:42 mtm Exp */ #define FREEBSD32_SYS_syscall 0 @@ -295,4 +295,6 @@ #define FREEBSD32_SYS__umtx_lock 434 #define FREEBSD32_SYS__umtx_unlock 435 #define FREEBSD32_SYS_jail_attach 436 -#define FREEBSD32_SYS_MAXSYSCALL 442 +#define FREEBSD32_SYS_thr_suspend 442 +#define FREEBSD32_SYS_thr_wake 443 +#define FREEBSD32_SYS_MAXSYSCALL 444 diff --git a/sys/compat/freebsd32/freebsd32_syscalls.c b/sys/compat/freebsd32/freebsd32_syscalls.c index 75f3dfe..7f551db 100644 --- a/sys/compat/freebsd32/freebsd32_syscalls.c +++ b/sys/compat/freebsd32/freebsd32_syscalls.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.35 2004/02/21 23:37:33 peter Exp + * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.36 2004/03/27 14:30:42 mtm Exp */ const char *freebsd32_syscallnames[] = { @@ -449,4 +449,6 @@ const char *freebsd32_syscallnames[] = { "#439", /* 439 = extattr_list_link */ "#440", /* 440 = kse_switchin */ "#441", /* 441 = ksem_timedwait */ + "thr_suspend", /* 442 = thr_suspend */ + "thr_wake", /* 443 = thr_wake */ }; diff --git a/sys/compat/freebsd32/freebsd32_sysent.c b/sys/compat/freebsd32/freebsd32_sysent.c index 0e82829..69197a4 100644 --- a/sys/compat/freebsd32/freebsd32_sysent.c +++ b/sys/compat/freebsd32/freebsd32_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.35 2004/02/21 23:37:33 peter Exp + * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.36 2004/03/27 14:30:42 mtm Exp */ #include "opt_compat.h" @@ -467,4 +467,6 @@ struct sysent freebsd32_sysent[] = { { 0, (sy_call_t *)nosys }, /* 439 = extattr_list_link */ { 0, (sy_call_t *)nosys }, /* 440 = kse_switchin */ { 0, (sy_call_t *)nosys }, /* 441 = ksem_timedwait */ + { SYF_MPSAFE | AS(thr_suspend_args), (sy_call_t *)thr_suspend }, /* 442 = thr_suspend */ + { SYF_MPSAFE | AS(thr_wake_args), (sy_call_t *)thr_wake }, /* 443 = thr_wake */ }; diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index a5728e2..fc429d0 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.169 2004/03/16 10:41:23 dwmalone Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.170 2004/03/27 14:30:43 mtm Exp */ #include "opt_compat.h" @@ -470,4 +470,6 @@ struct sysent sysent[] = { { AS(extattr_list_link_args), (sy_call_t *)extattr_list_link }, /* 439 = extattr_list_link */ { SYF_MPSAFE | AS(kse_switchin_args), (sy_call_t *)kse_switchin }, /* 440 = kse_switchin */ { SYF_MPSAFE | AS(ksem_timedwait_args), (sy_call_t *)lkmressys }, /* 441 = ksem_timedwait */ + { SYF_MPSAFE | AS(thr_suspend_args), (sy_call_t *)thr_suspend }, /* 442 = thr_suspend */ + { SYF_MPSAFE | AS(thr_wake_args), (sy_call_t *)thr_wake }, /* 443 = thr_wake */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 81f7720..f8b9c87 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.169 2004/03/16 10:41:23 dwmalone Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.170 2004/03/27 14:30:43 mtm Exp */ const char *syscallnames[] = { @@ -449,4 +449,6 @@ const char *syscallnames[] = { "extattr_list_link", /* 439 = extattr_list_link */ "kse_switchin", /* 440 = kse_switchin */ "ksem_timedwait", /* 441 = ksem_timedwait */ + "thr_suspend", /* 442 = thr_suspend */ + "thr_wake", /* 443 = thr_wake */ }; diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 7420b08..76eb565 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.169 2004/03/16 10:41:23 dwmalone Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.170 2004/03/27 14:30:43 mtm Exp */ #define SYS_syscall 0 @@ -353,4 +353,6 @@ #define SYS_extattr_list_link 439 #define SYS_kse_switchin 440 #define SYS_ksem_timedwait 441 -#define SYS_MAXSYSCALL 442 +#define SYS_thr_suspend 442 +#define SYS_thr_wake 443 +#define SYS_MAXSYSCALL 444 diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk index ddb4d4c..4b33296 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.169 2004/03/16 10:41:23 dwmalone Exp +# created from FreeBSD: src/sys/kern/syscalls.master,v 1.170 2004/03/27 14:30:43 mtm Exp MIASM = \ syscall.o \ exit.o \ @@ -294,4 +294,6 @@ MIASM = \ extattr_list_file.o \ extattr_list_link.o \ kse_switchin.o \ - ksem_timedwait.o + ksem_timedwait.o \ + thr_suspend.o \ + thr_wake.o diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index 775beee..c3d4302 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.169 2004/03/16 10:41:23 dwmalone Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.170 2004/03/27 14:30:43 mtm Exp */ #ifndef _SYS_SYSPROTO_H_ @@ -1293,6 +1293,12 @@ struct ksem_timedwait_args { char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)]; char abstime_l_[PADL_(struct timespec *)]; struct timespec * abstime; char abstime_r_[PADR_(struct timespec *)]; }; +struct thr_suspend_args { + char timeout_l_[PADL_(const struct timespec *)]; const struct timespec * timeout; char timeout_r_[PADR_(const struct timespec *)]; +}; +struct thr_wake_args { + char id_l_[PADL_(thr_id_t)]; thr_id_t id; char id_r_[PADR_(thr_id_t)]; +}; int nosys(struct thread *, struct nosys_args *); void sys_exit(struct thread *, struct sys_exit_args *); int fork(struct thread *, struct fork_args *); @@ -1584,6 +1590,8 @@ int extattr_list_file(struct thread *, struct extattr_list_file_args *); int extattr_list_link(struct thread *, struct extattr_list_link_args *); int kse_switchin(struct thread *, struct kse_switchin_args *); int ksem_timedwait(struct thread *, struct ksem_timedwait_args *); +int thr_suspend(struct thread *, struct thr_suspend_args *); +int thr_wake(struct thread *, struct thr_wake_args *); #ifdef COMPAT_43 |