1/*
2 * Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 */
6
7#pragma once
8
9#include <autoconf.h>
10#include <elfloader/gen_config.h>
11
12#if CONFIG_MAX_NUM_NODES > 1
13
14#define STACK_SIZE  4096
15
16extern unsigned long core_stacks[CONFIG_MAX_NUM_NODES][STACK_SIZE / sizeof(unsigned long)] ALIGN(BIT(12));
17void core_entry(uint64_t sp);
18int  is_core_up(int id);
19
20#endif
21