1 /* 2 * Copyright (c) 2020 Intel Corporation. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef _FOOTPRINT_H_ 8 #define _FOOTPRINT_H_ 9 10 #include <zephyr/kernel.h> 11 #include <zephyr/app_memory/app_memdomain.h> 12 13 #define STACK_SIZE 512 14 15 K_THREAD_STACK_DECLARE(my_stack_area, STACK_SIZE); 16 K_THREAD_STACK_DECLARE(my_stack_area_0, STACK_SIZE); 17 extern struct k_thread my_thread; 18 extern struct k_thread my_thread_0; 19 20 #ifdef CONFIG_USERSPACE 21 #define FP_DMEM K_APP_DMEM(footprint_mem_partition) 22 #define FP_BMEM K_APP_BMEM(footprint_mem_partition) 23 extern struct k_mem_partition footprint_mem_partition; 24 extern struct k_mem_domain footprint_mem_domain; 25 #else 26 #define FP_DMEM 27 #define FP_BMEM 28 #endif 29 30 #endif /* _FOOTPRINT_H_ */ 31