|
Zephyr Project API 3.6.0
A Scalable Open Source RTOS
|
#include <zephyr/ztest.h>#include <zephyr/debug/gcov.h>#include "float_context.h"#include "test_common.h"Functions | |
| static | K_SEM_DEFINE (test_exit_sem, 0, 1) |
| static void | load_store_low (void) |
| Low priority FPU load/store thread. | |
| static void | load_store_high (void) |
| High priority FPU load/store thread. | |
| K_THREAD_DEFINE (load_low,(1024+CONFIG_TEST_EXTRA_STACK_SIZE), load_store_low, NULL, NULL, NULL, 10,(K_FP_REGS), K_TICKS_FOREVER) | |
| K_THREAD_DEFINE (load_high,(1024+CONFIG_TEST_EXTRA_STACK_SIZE), load_store_high, NULL, NULL, NULL, 5,(K_FP_REGS), K_TICKS_FOREVER) | |
| ZTEST (fpu_sharing_generic, test_load_store) | |
Variables | |
| static struct fp_register_set | float_reg_set_load |
| static struct fp_register_set | float_reg_set_store |
| static struct fp_register_set | float_reg_set |
| static volatile unsigned int | load_store_low_count |
| static volatile unsigned int | load_store_high_count |
| static volatile bool | test_exited |
|
static |
| K_THREAD_DEFINE | ( | load_high | , |
| (1024+CONFIG_TEST_EXTRA_STACK_SIZE) | , | ||
| load_store_high | , | ||
| NULL | , | ||
| NULL | , | ||
| NULL | , | ||
| 5 | , | ||
| (K_FP_REGS) | , | ||
| K_TICKS_FOREVER | |||
| ) |
| K_THREAD_DEFINE | ( | load_low | , |
| (1024+CONFIG_TEST_EXTRA_STACK_SIZE) | , | ||
| load_store_low | , | ||
| NULL | , | ||
| NULL | , | ||
| NULL | , | ||
| 10 | , | ||
| (K_FP_REGS) | , | ||
| K_TICKS_FOREVER | |||
| ) |
|
static |
High priority FPU load/store thread.
|
static |
Low priority FPU load/store thread.
| ZTEST | ( | fpu_sharing_generic | , |
| test_load_store | |||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |