Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
|
|
3.0.0 |
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... | |
Variables | |
volatile uint32_t | sentinel |
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 |
void test_irq_offload | ( | void | ) |
Verify thread context.
Check whether offloaded running function is in interrupt context, on the IRQ stack or not.
TESTPOINT: Offload to IRQ context
volatile uint32_t sentinel |