38#ifndef _RTEMS_SCORE_INTERR_H
39#define _RTEMS_SCORE_INTERR_H
41#include <rtems/score/cpu.h>
191 INTERNAL_ERROR_TOO_LITTLE_WORKSPACE = 2,
194 INTERNAL_ERROR_THREAD_EXITTED = 5,
195 INTERNAL_ERROR_INCONSISTENT_MP_INFORMATION = 6,
196 INTERNAL_ERROR_INVALID_NODE = 7,
197 INTERNAL_ERROR_NO_MPCI = 8,
198 INTERNAL_ERROR_BAD_PACKET = 9,
199 INTERNAL_ERROR_OUT_OF_PACKETS = 10,
200 INTERNAL_ERROR_OUT_OF_GLOBAL_OBJECTS = 11,
201 INTERNAL_ERROR_OUT_OF_PROXIES = 12,
202 INTERNAL_ERROR_INVALID_GLOBAL_ID = 13,
212 INTERNAL_ERROR_NO_MEMORY_FOR_HEAP = 23,
213 INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR = 24,
214 INTERNAL_ERROR_RESOURCE_IN_USE = 25,
217 INTERNAL_ERROR_THREAD_QUEUE_DEADLOCK = 28,
218 INTERNAL_ERROR_THREAD_QUEUE_ENQUEUE_STICKY_FROM_BAD_STATE = 29,
219 INTERNAL_ERROR_BAD_THREAD_DISPATCH_DISABLE_LEVEL = 30,
220 INTERNAL_ERROR_BAD_THREAD_DISPATCH_ENVIRONMENT = 31,
221 INTERNAL_ERROR_RTEMS_INIT_TASK_CREATE_FAILED = 32,
222 INTERNAL_ERROR_POSIX_INIT_THREAD_CREATE_FAILED = 33,
225 INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILED = 36,
226 INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED = 37,
227 INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT = 38,
228 INTERNAL_ERROR_ARC4RANDOM_GETENTROPY_FAIL = 39,
229 INTERNAL_ERROR_NO_MEMORY_FOR_PER_CPU_DATA = 40,
230 INTERNAL_ERROR_TOO_LARGE_TLS_SIZE = 41,
231 INTERNAL_ERROR_RTEMS_INIT_TASK_CONSTRUCT_FAILED = 42,
232 INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILED = 43,
233 INTERNAL_ERROR_NO_MEMORY_FOR_IDLE_TASK_STORAGE = 44,
234 INTERNAL_ERROR_IDLE_THREAD_STACK_TOO_SMALL = 45
277 Internal_errors_t the_error
#define RTEMS_NO_RETURN
Tells the compiler in a function declaration that this function does not return.
Definition: basedefs.h:386
uintptr_t CPU_Uint32ptr
Definition: cpu.h:557
Internal_errors_Core_list
A list of errors which are generated internally by the executive core.
Definition: interr.h:188
Internal_errors_Source
This type lists the possible sources from which an error can be reported.
Definition: interr.h:63
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.
Definition: interr.c:61
RTEMS_NO_RETURN void _Terminate(Internal_errors_Source the_source, Internal_errors_t the_error)
Initiates system termination.
Definition: interr.c:50
@ RTEMS_FATAL_SOURCE_APPLICATION
Fatal source for application specific errors.
Definition: interr.h:93
@ RTEMS_FATAL_SOURCE_EXCEPTION
Fatal source of the exceptions.
Definition: interr.h:135
@ RTEMS_FATAL_SOURCE_INVALID_HEAP_FREE
Fatal source for invalid C program heap frees via free().
Definition: interr.h:156
@ RTEMS_FATAL_SOURCE_ASSERT
Fatal source of assert().
Definition: interr.h:119
@ INTERNAL_ERROR_CORE
Errors of the core system.
Definition: interr.h:69
@ RTEMS_FATAL_SOURCE_SMP
Fatal source of SMP domain.
Definition: interr.h:142
@ RTEMS_FATAL_SOURCE_LAST
The last available fatal source.
Definition: interr.h:178
@ RTEMS_FATAL_SOURCE_EXIT
Fatal source of exit().
Definition: interr.h:100
@ RTEMS_FATAL_SOURCE_PANIC
Fatal source of rtems_panic().
Definition: interr.h:149
@ RTEMS_FATAL_SOURCE_BDBUF
Fatal source for the block device cache.
Definition: interr.h:86
@ RTEMS_FATAL_SOURCE_SPURIOUS_INTERRUPT
Fatal source for spurious interrupts.
Definition: interr.h:170
@ RTEMS_FATAL_SOURCE_BSP
Fatal source for BSP errors.
Definition: interr.h:110
@ INTERNAL_ERROR_POSIX_API
Errors of the POSIX API.
Definition: interr.h:79
@ INTERNAL_ERROR_RTEMS_API
Errors of the RTEMS API.
Definition: interr.h:74
@ RTEMS_FATAL_SOURCE_HEAP
Fatal source for heap errors.
Definition: interr.h:163
@ RTEMS_FATAL_SOURCE_STACK_CHECKER
Fatal source of the stack checker.
Definition: interr.h:126