Zephyr Project API  3.3.0
A Scalable Open Source RTOS
main.c File Reference
#include <zephyr/tc_util.h>
#include <zephyr/ztest.h>
#include <zephyr/kernel.h>

Macros

#define CPU1_STACK_SIZE   1024
 

Functions

 K_THREAD_STACK_DEFINE (cpu1_stack, 1024)
 
FUNC_NORETURN void cpu1_fn (void *arg)
 
 ZTEST (multiprocessing, test_mp_start)
 Test to verify CPU start. More...
 
 ZTEST_SUITE (multiprocessing, NULL, NULL, NULL, NULL, NULL)
 

Variables

int cpu_arg
 
volatile int cpu_running
 

Macro Definition Documentation

◆ CPU1_STACK_SIZE

#define CPU1_STACK_SIZE   1024

Function Documentation

◆ cpu1_fn()

FUNC_NORETURN void cpu1_fn ( void *  arg)

◆ K_THREAD_STACK_DEFINE()

K_THREAD_STACK_DEFINE ( cpu1_stack  ,
1024   
)

◆ ZTEST_SUITE()

ZTEST_SUITE ( multiprocessing  ,
NULL  ,
NULL  ,
NULL  ,
NULL  ,
NULL   
)

Variable Documentation

◆ cpu_arg

int cpu_arg

◆ cpu_running

volatile int cpu_running