Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Macros | |
#define | SENTINEL_VALUE 0xDEADBEEF |
Functions | |
static void | offload_function (const void *param) |
void | test_irq_offload (void) |
Verify thread context. More... | |
__no_optimization void | test_nop (void) |
Test the arch_nop() by invoking and measure it. More... | |
void | nestoff_offload (const void *parameter) |
static void | nestoff_timer_fn (struct k_timer *timer) |
void | test_nested_irq_offload (void) |
Variables | |
volatile uint32_t | sentinel |
static struct k_timer | nestoff_timer |
static bool | timer_executed |
static bool | nested_executed |
This test case verifies the correctness of irq_offload(), an important routine used in many other test cases for running a function in interrupt context, on the IRQ stack.
#define SENTINEL_VALUE 0xDEADBEEF |
|
static |
Verify thread context.
Check whether offloaded running function is in interrupt context, on the IRQ stack or not.
TESTPOINT: Offload to IRQ context
|
static |
|
static |
volatile uint32_t sentinel |
|
static |