Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Macros | |
#define | STACKSIZE 2048 |
#define | THREAD_COUNT 64 |
#define | VERBOSE 0 |
Functions | |
void | alternate_thread (void *p1, void *p2, void *p3) |
K_THREAD_STACK_DEFINE (alt_thread_stack_area, 2048) | |
ZTEST (stack_pointer_randomness, test_stack_pt_randomization) | |
Test stack pointer randomization. | |
ZTEST_SUITE (stack_pointer_randomness, NULL, NULL, ztest_simple_1cpu_before, ztest_simple_1cpu_after, NULL) | |
Variables | |
void * | last_sp = (void *)0xFFFFFFFF |
volatile unsigned int | changed |
static struct k_thread | alt_thread_data |
#define STACKSIZE 2048 |
#define THREAD_COUNT 64 |
#define VERBOSE 0 |
void alternate_thread | ( | void * | p1, |
void * | p2, | ||
void * | p3 | ||
) |
K_THREAD_STACK_DEFINE | ( | alt_thread_stack_area | , |
2048 | |||
) |
ZTEST | ( | stack_pointer_randomness | , |
test_stack_pt_randomization | |||
) |
Test stack pointer randomization.
ZTEST_SUITE | ( | stack_pointer_randomness | , |
NULL | , | ||
NULL | , | ||
ztest_simple_1cpu_before | , | ||
ztest_simple_1cpu_after | , | ||
NULL | |||
) |
|
static |
volatile unsigned int changed |
void* last_sp = (void *)0xFFFFFFFF |