1 /*
2  * Copyright (c) 2024 Intel Corporation.
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <zephyr/llext/symbol.h>
8 #include <zephyr/kernel.h>
9 
10 extern struct k_thread my_thread;
11 #define MY_THREAD_STACK_SIZE 1024
12 extern struct z_thread_stack_element my_thread_stack[];
13 
14 extern struct k_sem my_sem;
15 
16 #ifdef CONFIG_USERSPACE
17 #define MY_THREAD_PRIO 1
18 #define MY_THREAD_OPTIONS (K_USER | K_INHERIT_PERMS)
19 #else
20 #define MY_THREAD_PRIO 0
21 #define MY_THREAD_OPTIONS 0
22 #endif
23