Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
fatal.h File Reference

Fatal error functions. More...

#include <arch/cpu.h>
#include <toolchain.h>

Go to the source code of this file.

Enumerations

enum  k_fatal_error_reason {
  K_ERR_CPU_EXCEPTION , K_ERR_SPURIOUS_IRQ , K_ERR_STACK_CHK_FAIL , K_ERR_KERNEL_OOPS ,
  K_ERR_KERNEL_PANIC
}
 

Functions

FUNC_NORETURN void k_fatal_halt (unsigned int reason)
 Halt the system on a fatal error. More...
 
void k_sys_fatal_error_handler (unsigned int reason, const z_arch_esf_t *esf)
 Fatal error policy handler. More...
 

Detailed Description

Fatal error functions.