diff options
author | kib <kib@FreeBSD.org> | 2013-07-21 19:43:52 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-07-21 19:43:52 +0000 |
commit | a7dacef5abe44a69d8f8d3f79d753a984e59c17c (patch) | |
tree | 82302b154c4760230b54ab99ddf9e43c17de823d /sys/sys/syscallsubr.h | |
parent | e9d8b81db78ac44bc32831cd4227161dafd886bd (diff) | |
download | FreeBSD-src-a7dacef5abe44a69d8f8d3f79d753a984e59c17c.zip FreeBSD-src-a7dacef5abe44a69d8f8d3f79d753a984e59c17c.tar.gz |
Implement compat32 wrappers for the ktimer_* syscalls.
Reported, reviewed and tested by: Petr Salinger <Petr.Salinger@seznam.cz>
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Diffstat (limited to 'sys/sys/syscallsubr.h')
-rw-r--r-- | sys/sys/syscallsubr.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/sys/syscallsubr.h b/sys/sys/syscallsubr.h index 75278c3..e18c735 100644 --- a/sys/sys/syscallsubr.h +++ b/sys/sys/syscallsubr.h @@ -228,6 +228,13 @@ int kern_symlink(struct thread *td, char *path, char *link, enum uio_seg segflg); int kern_symlinkat(struct thread *td, char *path1, int fd, char *path2, enum uio_seg segflg); +int kern_ktimer_create(struct thread *td, clockid_t clock_id, + struct sigevent *evp, int *timerid, int preset_id); +int kern_ktimer_delete(struct thread *, int); +int kern_ktimer_settime(struct thread *td, int timer_id, int flags, + struct itimerspec *val, struct itimerspec *oval); +int kern_ktimer_gettime(struct thread *td, int timer_id, + struct itimerspec *val); int kern_thr_new(struct thread *td, struct thr_param *param); int kern_thr_suspend(struct thread *td, struct timespec *tsp); int kern_truncate(struct thread *td, char *path, enum uio_seg pathseg, |