RTEMS
Classes | Typedefs | Enumerations | Functions | Variables
interr.h File Reference

Constants and Prototypes Related to the Internal Error Handler. More...

#include <rtems/score/cpu.h>

Go to the source code of this file.

Classes

struct  Internal_errors_Information
 

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_LAST = 0xffffffff
}
 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_BAD_STACK_HOOK = 14, INTERNAL_ERROR_GXX_KEY_ADD_FAILED = 21,
  INTERNAL_ERROR_GXX_MUTEX_INIT_FAILED = 22, INTERNAL_ERROR_NO_MEMORY_FOR_HEAP = 23, INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR = 24, INTERNAL_ERROR_RESOURCE_IN_USE = 25,
  INTERNAL_ERROR_RTEMS_INIT_TASK_ENTRY_IS_NULL = 26, 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
}
 A list of errors which are generated internally by the executive core. More...
 

Functions

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

Variables

Internal_errors_Information _Internal_errors_What_happened
 

Detailed Description

Constants and Prototypes Related to the Internal Error Handler.

This include file contains constants and prototypes related to the Internal Error Handler.

Definition in file interr.h.