Lines Matching refs:reason
91 void k_sys_fatal_error_handler(unsigned int reason, const struct arch_esf *pEsf) in k_sys_fatal_error_handler() argument
93 TC_PRINT("Caught system error -- reason %d\n", reason); in k_sys_fatal_error_handler()
97 k_fatal_halt(reason); in k_sys_fatal_error_handler()
100 if (reason != expected_reason) { in k_sys_fatal_error_handler()
101 printk("Wrong crash type got %d expected %d\n", reason, in k_sys_fatal_error_handler()
103 k_fatal_halt(reason); in k_sys_fatal_error_handler()
236 int reason = expected_reason; in arm_isr_handler() local
238 zassert_equal(reason, -1, in arm_isr_handler()
239 "expected_reason has not been reset (%d)\n", reason); in arm_isr_handler()
248 int init_flag, post_flag, reason; in ZTEST() local
306 reason = expected_reason; in ZTEST()
307 zassert_equal(reason, -1, in ZTEST()
308 "expected_reason has not been reset (%d)\n", reason); in ZTEST()
468 int reason; in ZTEST() local
481 reason = expected_reason; in ZTEST()
482 zassert_equal(reason, -1, in ZTEST()
483 "expected_reason has not been reset (%d)\n", reason); in ZTEST()