Home
last modified time | relevance | path

Searched refs:valid_fault (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/tests/kernel/mem_protect/mem_protect/src/
Dcommon.c9 ZTEST_BMEM volatile bool valid_fault; variable
13 printk("Caught system error -- reason %d %d\n", reason, valid_fault); in k_sys_fatal_error_handler()
14 if (valid_fault) { in k_sys_fatal_error_handler()
16 valid_fault = false; /* reset back to normal */ in k_sys_fatal_error_handler()
Dmem_protect.h14 extern volatile bool valid_fault;
18 valid_fault = valid; in set_fault_valid()
Dmem_domain.c108 if (should_fault && valid_fault) { in spawn_child_thread()
/Zephyr-latest/tests/arch/riscv/pmp/no-multithreading/src/
Dmain.c10 static volatile ZTEST_BMEM bool valid_fault; variable
16 TC_PRINT("Caught system error -- reason %d %d\n", reason, valid_fault); in k_sys_fatal_error_handler()
17 if (!valid_fault) { in k_sys_fatal_error_handler()
31 valid_fault = true; in check_isr_stack_guard()
39 valid_fault = true; in check_main_stack_guard()
/Zephyr-latest/subsys/testsuite/ztest/src/
Dztest_error_hook.c52 bool valid_fault = (curr_tid == valid_fault_tid) || fault_in_isr; in k_sys_fatal_error_handler() local
54 printk("Caught system error -- reason %d %d\n", reason, valid_fault); in k_sys_fatal_error_handler()
56 if (valid_fault) { in k_sys_fatal_error_handler()
/Zephyr-latest/tests/kernel/pipe/pipe/src/
Dtest_pipe.c676 ZTEST_BMEM bool valid_fault; variable
680 if (valid_fault) { in k_sys_fatal_error_handler()
681 valid_fault = false; /* reset back to normal */ in k_sys_fatal_error_handler()
890 valid_fault = true; in ZTEST_USER()