diff options
author | davidxu <davidxu@FreeBSD.org> | 2006-07-13 06:32:55 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2006-07-13 06:32:55 +0000 |
commit | bde285ca74095822da08a85bc8bc403964bd1036 (patch) | |
tree | 00914a6e1698a2716e2cfabfb2a05f4d8804abd7 /sys | |
parent | af8c97a3f875a673bf0e9cf881a1b5f07fae16e0 (diff) | |
download | FreeBSD-src-bde285ca74095822da08a85bc8bc403964bd1036.zip FreeBSD-src-bde285ca74095822da08a85bc8bc403964bd1036.tar.gz |
regenerate.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/init_sysent.c | 5 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 5 | ||||
-rw-r--r-- | sys/sys/syscall.h | 7 | ||||
-rw-r--r-- | sys/sys/syscall.mk | 7 | ||||
-rw-r--r-- | sys/sys/sysproto.h | 22 |
5 files changed, 39 insertions, 7 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 7b7d137..d23e23b 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.218 2006/07/11 20:52:08 jhb Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.219 2006/07/13 06:26:43 davidxu Exp */ #include "opt_compat.h" @@ -495,4 +495,7 @@ struct sysent sysent[] = { { SYF_MPSAFE | AS(abort2_args), (sy_call_t *)abort2, AUE_NULL }, /* 463 = abort2 */ { SYF_MPSAFE | AS(thr_set_name_args), (sy_call_t *)thr_set_name, AUE_NULL }, /* 464 = thr_set_name */ { SYF_MPSAFE | AS(aio_fsync_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 465 = aio_fsync */ + { SYF_MPSAFE | AS(thr_setscheduler_args), (sy_call_t *)thr_setscheduler, AUE_NULL }, /* 466 = thr_setscheduler */ + { SYF_MPSAFE | AS(thr_getscheduler_args), (sy_call_t *)thr_getscheduler, AUE_NULL }, /* 467 = thr_getscheduler */ + { SYF_MPSAFE | AS(thr_setschedparam_args), (sy_call_t *)thr_setschedparam, AUE_NULL }, /* 468 = thr_setschedparam */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index e9754c9..80fd196 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.218 2006/07/11 20:52:08 jhb Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.219 2006/07/13 06:26:43 davidxu Exp */ const char *syscallnames[] = { @@ -473,4 +473,7 @@ const char *syscallnames[] = { "abort2", /* 463 = abort2 */ "thr_set_name", /* 464 = thr_set_name */ "aio_fsync", /* 465 = aio_fsync */ + "thr_setscheduler", /* 466 = thr_setscheduler */ + "thr_getscheduler", /* 467 = thr_getscheduler */ + "thr_setschedparam", /* 468 = thr_setschedparam */ }; diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 038c813..a5b4741 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.218 2006/07/11 20:52:08 jhb Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.219 2006/07/13 06:26:43 davidxu Exp */ #define SYS_syscall 0 @@ -389,4 +389,7 @@ #define SYS_abort2 463 #define SYS_thr_set_name 464 #define SYS_aio_fsync 465 -#define SYS_MAXSYSCALL 466 +#define SYS_thr_setscheduler 466 +#define SYS_thr_getscheduler 467 +#define SYS_thr_setschedparam 468 +#define SYS_MAXSYSCALL 469 diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk index c88d655..9305e06 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.218 2006/07/11 20:52:08 jhb Exp +# created from FreeBSD: src/sys/kern/syscalls.master,v 1.219 2006/07/13 06:26:43 davidxu Exp MIASM = \ syscall.o \ exit.o \ @@ -330,4 +330,7 @@ MIASM = \ kmq_unlink.o \ abort2.o \ thr_set_name.o \ - aio_fsync.o + aio_fsync.o \ + thr_setscheduler.o \ + thr_getscheduler.o \ + thr_setschedparam.o diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index 13638a2..89b6cdf 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.218 2006/07/11 20:52:08 jhb Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.219 2006/07/13 06:26:43 davidxu Exp */ #ifndef _SYS_SYSPROTO_H_ @@ -1447,6 +1447,23 @@ struct aio_fsync_args { char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)]; char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)]; }; +struct thr_setscheduler_args { + char id_l_[PADL_(long)]; long id; char id_r_[PADR_(long)]; + char policy_l_[PADL_(int)]; int policy; char policy_r_[PADR_(int)]; + char param_l_[PADL_(const struct sched_param *)]; const struct sched_param * param; char param_r_[PADR_(const struct sched_param *)]; + char param_size_l_[PADL_(int)]; int param_size; char param_size_r_[PADR_(int)]; +}; +struct thr_getscheduler_args { + char id_l_[PADL_(long)]; long id; char id_r_[PADR_(long)]; + char policy_l_[PADL_(int *)]; int * policy; char policy_r_[PADR_(int *)]; + char param_l_[PADL_(struct sched_param *)]; struct sched_param * param; char param_r_[PADR_(struct sched_param *)]; + char param_size_l_[PADL_(int)]; int param_size; char param_size_r_[PADR_(int)]; +}; +struct thr_setschedparam_args { + char id_l_[PADL_(long)]; long id; char id_r_[PADR_(long)]; + char param_l_[PADL_(const struct sched_param *)]; const struct sched_param * param; char param_r_[PADR_(const struct sched_param *)]; + char param_size_l_[PADL_(int)]; int param_size; char param_size_r_[PADR_(int)]; +}; int nosys(struct thread *, struct nosys_args *); void sys_exit(struct thread *, struct sys_exit_args *); int fork(struct thread *, struct fork_args *); @@ -1774,6 +1791,9 @@ int kmq_unlink(struct thread *, struct kmq_unlink_args *); int abort2(struct thread *, struct abort2_args *); int thr_set_name(struct thread *, struct thr_set_name_args *); int aio_fsync(struct thread *, struct aio_fsync_args *); +int thr_setscheduler(struct thread *, struct thr_setscheduler_args *); +int thr_getscheduler(struct thread *, struct thr_getscheduler_args *); +int thr_setschedparam(struct thread *, struct thr_setschedparam_args *); #ifdef COMPAT_43 |