Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Macros | |
#define | CPU_START_DELAY 10000 |
#define | CPU_IPI_DELAY 1000 |
#define | STACKSZ 2048 |
Functions | |
K_THREAD_STACK_DEFINE (thr_stack, 2048) | |
static void | thread_fn (void *a, void *b, void *c) |
ZTEST (smp_boot_delay, test_smp_boot_delay) | |
void | custom_init_fn (void *arg) |
ZTEST (smp_boot_delay, test_smp_custom_start) | |
ZTEST_SUITE (smp_boot_delay, NULL, NULL, NULL, NULL, NULL) | |
Variables | |
char | stack [2048] |
volatile bool | mp_flag |
struct k_thread | cpu_thr |
volatile bool | custom_init_flag |
#define CPU_IPI_DELAY 1000 |
#define CPU_START_DELAY 10000 |
#define STACKSZ 2048 |
void custom_init_fn | ( | void * | arg | ) |
K_THREAD_STACK_DEFINE | ( | thr_stack | , |
2048 | |||
) |
|
static |
ZTEST | ( | smp_boot_delay | , |
test_smp_boot_delay | |||
) |
ZTEST | ( | smp_boot_delay | , |
test_smp_custom_start | |||
) |
ZTEST_SUITE | ( | smp_boot_delay | , |
NULL | , | ||
NULL | , | ||
NULL | , | ||
NULL | , | ||
NULL | |||
) |
struct k_thread cpu_thr |
volatile bool custom_init_flag |
volatile bool mp_flag |
char stack[2048] |