1 /*
2  * Copyright (c) 2020 BayLibre, SAS
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef THREAD_DEF_H
8 #define THREAD_DEF_H
9 
10 #include <zephyr/kernel.h>
11 
12 #define THREAD_STACKSIZE	2048
13 
14 struct k_thread user_thread;
15 K_THREAD_STACK_DEFINE(user_stack, THREAD_STACKSIZE);
16 void supervisor_thread_function(void *p1, void *p2, void *p3);
17 
18 struct k_thread supervisor_thread;
19 K_THREAD_STACK_DEFINE(supervisor_stack, THREAD_STACKSIZE);
20 void user_thread_function(void *p1, void *p2, void *p3);
21 
22 #endif /* THREAD_DEF_H */
23