diff options
author | davidxu <davidxu@FreeBSD.org> | 2006-09-21 04:19:48 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2006-09-21 04:19:48 +0000 |
commit | 92bd1e76b1d6d685331ec54d7b5703a34d37f84e (patch) | |
tree | 577866ec770930fb4269a85cd01e0a76f96e4cc1 /sys/kern | |
parent | bac7c2b79df4175e5699c772855883a08ec9d26f (diff) | |
download | FreeBSD-src-92bd1e76b1d6d685331ec54d7b5703a34d37f84e.zip FreeBSD-src-92bd1e76b1d6d685331ec54d7b5703a34d37f84e.tar.gz |
Regenerate.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_sysent.c | 6 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 6 | ||||
-rw-r--r-- | sys/kern/systrace_args.c | 30 |
3 files changed, 11 insertions, 31 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index cb2e37b..70b7de1 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -495,9 +495,9 @@ struct sysent sysent[] = { { AS(abort2_args), (sy_call_t *)abort2, AUE_NULL, NULL, 0, 0 }, /* 463 = abort2 */ { AS(thr_set_name_args), (sy_call_t *)thr_set_name, AUE_NULL, NULL, 0, 0 }, /* 464 = thr_set_name */ { AS(aio_fsync_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 465 = aio_fsync */ - { AS(thr_setscheduler_args), (sy_call_t *)thr_setscheduler, AUE_NULL, NULL, 0, 0 }, /* 466 = thr_setscheduler */ - { AS(thr_getscheduler_args), (sy_call_t *)thr_getscheduler, AUE_NULL, NULL, 0, 0 }, /* 467 = thr_getscheduler */ - { AS(thr_setschedparam_args), (sy_call_t *)thr_setschedparam, AUE_NULL, NULL, 0, 0 }, /* 468 = thr_setschedparam */ + { AS(rtprio_thread_args), (sy_call_t *)rtprio_thread, AUE_RTPRIO, NULL, 0, 0 }, /* 466 = rtprio_thread */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 467 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 468 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 469 = __getpath_fromfd */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 470 = __getpath_fromaddr */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index bcb5f7d..c5e0c1b 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -473,9 +473,9 @@ 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 */ + "rtprio_thread", /* 466 = rtprio_thread */ + "#467", /* 467 = nosys */ + "#468", /* 468 = nosys */ "#469", /* 469 = __getpath_fromfd */ "#470", /* 470 = __getpath_fromaddr */ }; diff --git a/sys/kern/systrace_args.c b/sys/kern/systrace_args.c index 1b40edf..8ccd097 100644 --- a/sys/kern/systrace_args.c +++ b/sys/kern/systrace_args.c @@ -2749,32 +2749,12 @@ systrace_args(int sysnum, void *params, u_int64_t *uarg, int *n_args) *n_args = 2; break; } - /* thr_setscheduler */ + /* rtprio_thread */ case 466: { - struct thr_setscheduler_args *p = params; - iarg[0] = p->id; /* long */ - iarg[1] = p->policy; /* int */ - uarg[2] = (intptr_t) p->param; /* const struct sched_param * */ - iarg[3] = p->param_size; /* int */ - *n_args = 4; - break; - } - /* thr_getscheduler */ - case 467: { - struct thr_getscheduler_args *p = params; - iarg[0] = p->id; /* long */ - uarg[1] = (intptr_t) p->policy; /* int * */ - uarg[2] = (intptr_t) p->param; /* struct sched_param * */ - iarg[3] = p->param_size; /* int */ - *n_args = 4; - break; - } - /* thr_setschedparam */ - case 468: { - struct thr_setschedparam_args *p = params; - iarg[0] = p->id; /* long */ - uarg[1] = (intptr_t) p->param; /* const struct sched_param * */ - iarg[2] = p->param_size; /* int */ + struct rtprio_thread_args *p = params; + iarg[0] = p->function; /* int */ + iarg[1] = p->lwpid; /* lwpid_t */ + uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */ *n_args = 3; break; } |