/* * Copyright 2017, Data61 * Commonwealth Scientific and Industrial Research Organisation (CSIRO) * ABN 41 687 119 230. * * This software may be distributed and modified according to the terms of * the GNU General Public License version 2. Note that NO WARRANTY is provided. * See "LICENSE_GPLv2.txt" for details. * * @TAG(DATA61_GPL) */ #ifndef __KERNEL_STACK_H #define __KERNEL_STACK_H #include #include #include /* These are the stacks used in kernel, shared between architectures/modes. * CONFIG_KERNEL_STACK_BITS is defined in kernel/Kconfig. The physical/offset * address of the stack is per-arch-mode aligned. KERNEL_STACK_ALIGNMENT is * defined for each arch/mode in */ extern char kernel_stack_alloc[CONFIG_MAX_NUM_NODES][BIT(CONFIG_KERNEL_STACK_BITS)]; #endif /* __KERNEL_STACK_H */