Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
#include <zephyr/kernel.h>
#include <zephyr/ztest.h>
#include <zephyr/tc_util.h>
#include <zephyr/kernel_structs.h>
#include <kernel_internal.h>
#include <assert.h>
Macros | |
#define | EXC_TRIGGER_FUNC_IDX 0 |
Typedefs | |
typedef void(* | exc_trigger_func_t) (void) |
Functions | |
void | k_sys_fatal_error_handler (unsigned int reason, const struct arch_esf *pEsf) |
Fatal error policy handler. | |
static void | entry_cpu_exception (void) |
static void | entry_oops (void) |
static void | entry_panic (void) |
static void | entry_zephyr_assert (void) |
static void | entry_arbitrary_reason (void) |
static void | entry_arbitrary_reason_negative (void) |
ZTEST (fatal_no_mt, test_fatal) | |
Test the kernel fatal error handling works correctly. | |
ZTEST_SUITE (fatal_no_mt, NULL, NULL, NULL, NULL, NULL) | |
Variables | |
static ZTEST_DMEM volatile int | expected_reason = -1 |
static const exc_trigger_func_t | exc_trigger_func [] |
#define EXC_TRIGGER_FUNC_IDX 0 |
typedef void(* exc_trigger_func_t) (void) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
ZTEST_SUITE | ( | fatal_no_mt | , |
NULL | , | ||
NULL | , | ||
NULL | , | ||
NULL | , | ||
NULL | |||
) |
|
static |
|
static |