|
Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
Macros | |
| #define | STACK_SIZE 2048 |
| #define | NO_FPU NULL |
| #define | WITH_FPU (const void *)1 |
| #define | TEST_TRAP(insn) |
| #define | PRE_INSN __asm__ volatile (".option push; .option norvc"); |
| #define | POST_INSN __asm__ volatile (".option pop"); |
| #define | PRE_INSN |
| #define | POST_INSN |
Functions | |
| static unsigned long | fpu_state (void) |
| static bool | fpu_is_off (void) |
| static bool | fpu_is_clean (void) |
| static bool | fpu_is_dirty (void) |
| void | test_basics (void) |
| static void | new_thread_check (const char *name) |
| static | K_SEM_DEFINE (thread1_sem, 0, 1) |
| static | K_SEM_DEFINE (thread2_sem, 0, 1) |
| static | K_THREAD_STACK_DEFINE (thread1_stack, 2048) |
| static | K_THREAD_STACK_DEFINE (thread2_stack, 2048) |
| static void | thread1_entry (void *p1, void *p2, void *p3) |
| static void | thread2_entry (void *p1, void *p2, void *p3) |
| void | test_multi_thread_interaction (void) |
| static void | exception_context (const void *arg) |
| void | test_thread_vs_exc_interaction (void) |
| void | test_fp_insn_trap (void) |
| ZTEST_SUITE (riscv_fpu_sharing, NULL, NULL, NULL, NULL, NULL) | |
Variables | |
| static struct k_thread | thread1 |
| static struct k_thread | thread2 |
| #define NO_FPU NULL |
| #define POST_INSN __asm__ volatile (".option pop"); |
| #define POST_INSN |
| #define PRE_INSN __asm__ volatile (".option push; .option norvc"); |
| #define PRE_INSN |
| #define STACK_SIZE 2048 |
| #define TEST_TRAP | ( | insn | ) |
| #define WITH_FPU (const void *)1 |
|
static |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
|
static |
| void test_basics | ( | void | ) |
| void test_fp_insn_trap | ( | void | ) |
| void test_multi_thread_interaction | ( | void | ) |
| void test_thread_vs_exc_interaction | ( | void | ) |
|
static |
|
static |
|
static |
|
static |