Zephyr Project API
3.3.0
A Scalable Open Source RTOS
|
Go to the source code of this file.
Macros | |
#define | K_THREAD_ACCESS_GRANT(name_, ...) |
Grant a static thread access to a list of kernel objects. More... | |
#define | K_OBJ_FLAG_INITIALIZED BIT(0) |
#define | K_OBJ_FLAG_PUBLIC BIT(1) |
#define | K_OBJ_FLAG_ALLOC BIT(2) |
#define | K_OBJ_FLAG_DRIVER BIT(3) |
Enumerations | |
enum | k_objects { K_OBJ_ANY , K_OBJ_LAST } |
Kernel Object Types. More... | |
Functions | |
void | k_object_access_grant (const void *object, struct k_thread *thread) |
void | k_object_access_revoke (const void *object, struct k_thread *thread) |
void | k_object_release (const void *object) |
Release an object. More... | |
void | k_object_access_all_grant (const void *object) |
static void | k_object_free (void *obj) |
Free an object. More... | |
enum k_objects |
Kernel Object Types.
This enumeration needs to be kept in sync with the lists of kernel objects and subsystems in scripts/build/gen_kobject_list.py, as well as the otype_to_str() function in kernel/userspace.c
Enumerator | |
---|---|
K_OBJ_ANY | |
K_OBJ_LAST |