diff options
Diffstat (limited to 'sys/kern/subr_bus.c')
-rw-r--r-- | sys/kern/subr_bus.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c index 89876d227..71924cc 100644 --- a/sys/kern/subr_bus.c +++ b/sys/kern/subr_bus.c @@ -509,6 +509,15 @@ devpoll(struct cdev *dev, int events, d_thread_t *td) } /** + * @brief Return whether the userland process is running + */ +boolean_t +devctl_process_running(void) +{ + return (devsoftc.async_proc != NULL); +} + +/** * @brief Queue data to be read from the devctl device * * Generic interface to queue data to the devctl device. It is |