/* * Copyright 2020, Data61, CSIRO (ABN 41 687 119 230) * * SPDX-License-Identifier: GPL-2.0-only */ #pragma once #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)];