![]() |
NEORV32 API Reference
The NEORV32 RISC-V Processor
|
Symmetric multiprocessing (SMP) library source file. More...
#include <neorv32.h>Functions | |
| static int | __neorv32_smp_boot (uint32_t addr, uint32_t stack) |
| int | neorv32_smp_launch (int(*entry_point)(void), uint8_t *stack_memory, size_t stack_size_bytes) |
Symmetric multiprocessing (SMP) library source file.
|
static |
Trigger SMP boot of core 1.
| [in] | addr | Core's boot address. |
| [in] | stack | Core's stack base address. |
| int neorv32_smp_launch | ( | int(* | entry_point )(void), |
| uint8_t * | stack_memory, | ||
| size_t | stack_size_bytes ) |
Configure and start secondary CPU core (core 1).
| [in] | entry_point | Core's main function; must be of type "int entry_point(void)". |
| [in] | stack_memory | Pointer to beginning of core's stack memory array. |
| [in] | stack_size_bytes | Core's stack size in bytes. |