RTEMS 6.1-rc1
Typedefs | Enumerations | Functions
interr.h File Reference

This header file provides the interfaces of the Internal Error Handler. More...

#include <rtems/score/cpu.h>

Go to the source code of this file.

Typedefs

typedef CPU_Uint32ptr Internal_errors_t
 

Enumerations

enum  Internal_errors_Source {
  INTERNAL_ERROR_CORE = 0 , INTERNAL_ERROR_RTEMS_API = 1 , INTERNAL_ERROR_POSIX_API = 2 , RTEMS_FATAL_SOURCE_BDBUF = 3 ,
  RTEMS_FATAL_SOURCE_APPLICATION = 4 , RTEMS_FATAL_SOURCE_EXIT = 5 , RTEMS_FATAL_SOURCE_BSP = 6 , RTEMS_FATAL_SOURCE_ASSERT = 7 ,
  RTEMS_FATAL_SOURCE_STACK_CHECKER = 8 , RTEMS_FATAL_SOURCE_EXCEPTION = 9 , RTEMS_FATAL_SOURCE_SMP = 10 , RTEMS_FATAL_SOURCE_PANIC = 11 ,
  RTEMS_FATAL_SOURCE_INVALID_HEAP_FREE = 12 , RTEMS_FATAL_SOURCE_HEAP = 13 , RTEMS_FATAL_SOURCE_SPURIOUS_INTERRUPT = 14 , RTEMS_FATAL_SOURCE_LAST = 0x7fffffff
}
 This type lists the possible sources from which an error can be reported. More...
 
enum  Internal_errors_Core_list {
  INTERNAL_ERROR_TOO_LITTLE_WORKSPACE = 2 , INTERNAL_ERROR_THREAD_EXITTED = 5 , INTERNAL_ERROR_INCONSISTENT_MP_INFORMATION = 6 , INTERNAL_ERROR_INVALID_NODE = 7 ,
  INTERNAL_ERROR_NO_MPCI = 8 , INTERNAL_ERROR_BAD_PACKET = 9 , INTERNAL_ERROR_OUT_OF_PACKETS = 10 , INTERNAL_ERROR_OUT_OF_GLOBAL_OBJECTS = 11 ,
  INTERNAL_ERROR_OUT_OF_PROXIES = 12 , INTERNAL_ERROR_INVALID_GLOBAL_ID = 13 , INTERNAL_ERROR_NO_MEMORY_FOR_HEAP = 23 , INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR = 24 ,
  INTERNAL_ERROR_RESOURCE_IN_USE = 25 , INTERNAL_ERROR_THREAD_QUEUE_DEADLOCK = 28 , INTERNAL_ERROR_THREAD_QUEUE_ENQUEUE_STICKY_FROM_BAD_STATE = 29 , INTERNAL_ERROR_BAD_THREAD_DISPATCH_DISABLE_LEVEL = 30 ,
  INTERNAL_ERROR_BAD_THREAD_DISPATCH_ENVIRONMENT = 31 , INTERNAL_ERROR_RTEMS_INIT_TASK_CREATE_FAILED = 32 , INTERNAL_ERROR_POSIX_INIT_THREAD_CREATE_FAILED = 33 , INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILED = 36 ,
  INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED = 37 , INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT = 38 , INTERNAL_ERROR_ARC4RANDOM_GETENTROPY_FAIL = 39 , INTERNAL_ERROR_NO_MEMORY_FOR_PER_CPU_DATA = 40 ,
  INTERNAL_ERROR_TOO_LARGE_TLS_SIZE = 41 , INTERNAL_ERROR_RTEMS_INIT_TASK_CONSTRUCT_FAILED = 42 , INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILED = 43 , INTERNAL_ERROR_NO_MEMORY_FOR_IDLE_TASK_STORAGE = 44 ,
  INTERNAL_ERROR_IDLE_THREAD_STACK_TOO_SMALL = 45
}
 A list of errors which are generated internally by the executive core. More...
 

Functions

RTEMS_NO_RETURN void _Terminate (Internal_errors_Source the_source, Internal_errors_t the_error)
 Initiates system termination. More...
 
RTEMS_NO_RETURN void _Internal_error (Internal_errors_Core_list core_error)
 Terminates the system with an INTERNAL_ERROR_CORE fatal source and the specified core error code. More...
 

Detailed Description

This header file provides the interfaces of the Internal Error Handler.