![]() |
NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
|
Symmetric multiprocessing (SMP) library header file. More...
Go to the source code of this file.
Functions | |
uint32_t | neorv32_smp_whoami (void) |
Prototypes | |
int | neorv32_smp_launch (int(*entry_point)(void), uint8_t *stack_memory, size_t stack_size_bytes) |
Symmetric multiprocessing (SMP) library header file.
int neorv32_smp_launch | ( | int(* | entry_point )(void), |
uint8_t * | stack_memory, | ||
size_t | stack_size_bytes ) |
Configure and start SMP 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. |
|
inline |
Get core/hart ID of the CPU that is executing this function.