Lines Matching refs:reason
21 FUNC_NORETURN __weak void arch_system_halt(unsigned int reason) in arch_system_halt() argument
23 ARG_UNUSED(reason); in arch_system_halt()
37 __weak void k_sys_fatal_error_handler(unsigned int reason, in k_sys_fatal_error_handler() argument
44 arch_system_halt(reason); in k_sys_fatal_error_handler()
60 static const char *reason_to_str(unsigned int reason) in reason_to_str() argument
62 switch (reason) { in reason_to_str()
79 FUNC_NORETURN void k_fatal_halt(unsigned int reason) in k_fatal_halt() argument
81 arch_system_halt(reason); in k_fatal_halt()
85 void z_fatal_error(unsigned int reason, const struct arch_esf *esf) in z_fatal_error() argument
98 LOG_ERR(">>> ZEPHYR FATAL ERROR %d: %s on CPU %d", reason, in z_fatal_error()
99 reason_to_str(reason), _current_cpu->id); in z_fatal_error()
117 coredump(reason, esf, thread); in z_fatal_error()
119 k_sys_fatal_error_handler(reason, esf); in z_fatal_error()
135 __ASSERT(reason != K_ERR_KERNEL_PANIC, in z_fatal_error()
141 if (reason != K_ERR_STACK_CHK_FAIL) { in z_fatal_error()
154 if (reason != K_ERR_STACK_CHK_FAIL) { in z_fatal_error()
166 if (reason == K_ERR_SPURIOUS_IRQ) { in z_fatal_error()