Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
Data Structures | |
union | k_object_data |
struct | k_object |
Table generated by gperf, these objects are retrieved via k_object_find(). More... | |
struct | k_object_assignment |
Functions | |
void | k_object_init (const void *obj) |
Lookup a kernel object and init its metadata if it exists. | |
static struct k_object * | k_object_create_dynamic_aligned (size_t align, size_t size) |
static struct k_object * | k_object_create_dynamic (size_t size) |
void k_object_init | ( | const void * | obj | ) |
#include <include/zephyr/sys/internal/kobject_internal.h>
Lookup a kernel object and init its metadata if it exists.
Calling this on an object will make it usable from userspace. Intended to be called as the last statement in kernel object init functions.
obj | Address of the kernel object |