Sound Open Firmware
Loading...
Searching...
No Matches
kernel.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSD-3-Clause
2
//
3
// Copyright(c) 2020 Intel Corporation. All rights reserved.
4
//
5
6
#ifndef __ZEPHYR_RTOS_KERNEL_H__
7
#define __ZEPHYR_RTOS_KERNEL_H__
8
9
#include <zephyr/kernel.h>
10
11
#include <stdbool.h>
12
13
static
inline
bool
thread_is_userspace
(
struct
k_thread *thread)
14
{
15
return
!!(thread->base.user_options & K_USER);
16
}
17
18
#endif
/* __ZEPHYR_RTOS_KERNEL_H__ */
thread_is_userspace
static bool thread_is_userspace(struct k_thread *thread)
Definition
kernel.h:13
zephyr
include
rtos
kernel.h
Generated by
1.15.0