summaryrefslogtreecommitdiff
path: root/testsuites/sptests/spinternalerror02/init.c (follow)
AgeCommit message (Collapse)Author
2020-09-17CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZESebastian Huber
Add this application configuration option. This configuration option can be used to reserve space for the dynamic linking of modules with thread-local storage objects. Add RTEMS_TASK_STORAGE_ALIGNMENT to define the minium alignment of a thread-local storage size. Update #4074.
2020-04-16Canonicalize config.h includeSebastian Huber
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2019-11-05rtems-5: Improve heap fatal error informationsebastian.huber
Update #3806.
2018-12-18score: Fix per-CPU data allocationSebastian Huber
Allocate the per-CPU data for secondary processors directly from the heap areas before heap initialization and not via _Workspace_Allocate_aligned(). This avoids dependency on the workspace allocator. It fixes also a problem on some platforms (e.g. QorIQ) where at this early point in the system initialization the top of the RAM is used by low-level startup code on secondary processors (boot pages). Update #3507.
2018-06-05Add RTEMS_FATAL_SOURCE_INVALID_HEAP_FREESebastian Huber
An invalid heap usage such as a double free is usually a fatal error since this indicates a use after free. Replace the use of printk() in free() with a fatal error. Update #3437.
2018-06-05Update rtems_fatal_source_text()Sebastian Huber
Add RTEMS_FATAL_SOURCE_PANIC to rtems_fatal_source_text(). Update #3244.
2017-11-17cpukit: Add _arc4random_getentropy_fail.Christian Mauderer
Add a default implementation of _arc4random_getentropy_fail with an internal error. Update #3239.
2017-11-06tests: Use simple console driverSebastian Huber
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber
The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns
- Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
2017-07-25INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNITSebastian Huber
Add new fatal error INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT. Update #3077.
2016-12-12Add INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILEDSebastian Huber
Update #2825.
2016-12-12Add INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILEDSebastian Huber
Update #2825.
2016-12-12Add INTERNAL_ERROR_LIBIO_SEM_CREATE_FAILEDSebastian Huber
Update #2825.
2016-12-12INTERNAL_ERROR_LIBIO_USER_ENV_KEY_CREATE_FAILEDSebastian Huber
Update #2825.
2016-12-12Add INTERNAL_ERROR_POSIX_INIT_THREAD_CREATE_FAILEDSebastian Huber
Update #2825.
2016-12-12Add INTERNAL_ERROR_RTEMS_INIT_TASK_CREATE_FAILEDSebastian Huber
Update #2825.
2016-11-23score: Robust thread dispatchSebastian Huber
On SMP configurations, it is a fatal error to call blocking operating system with interrupts disabled, since this prevents delivery of inter-processor interrupts. This could lead to executing threads which are not allowed to execute resulting in undefined behaviour. The ARM Cortex-M port has a similar problem, since the interrupt state is not a part of the thread context. Update #2811.
2016-11-18score: Add and use _Thread_Dispatch_direct()Sebastian Huber
This function is useful for operations which synchronously block, e.g. self restart, self deletion, yield, sleep. It helps to detect if these operations are called in the wrong context. Since the thread dispatch necessary indicator is not used, this is more robust in some SMP situations. Update #2751.
2016-11-02score: First part of new MrsP implementationSebastian Huber
Update #2556.
2016-07-27score: Add deadlock detectionSebastian Huber
The mutex objects use the owner field of the thread queues for the mutex owner. Use this and add a deadlock detection to _Thread_queue_Enqueue_critical() for thread queues with an owner. Update #2412. Update #2556. Close #2765.
2016-01-08score: Add fatal errors for NULL entry init tasksSebastian Huber
This simplifies the global construction. Update #2514.
2014-12-16Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber
This define was superfluous, undocumented and used inconsistently.
2014-04-03score: PR788: Add INTERNAL_ERROR_RESOURCE_IN_USESebastian Huber
Issue a fatal error in case a thread is deleted which still owns resources (e.g. a binary semaphore with priority inheritance or ceiling protocol). The resource count must be checked quite late since RTEMS task variable destructors, POSIX key destructors, POSIX cleanup handler, the Newlib thread termination extension or other thread termination extensions may release resources. In this context it would be quite difficult to return an error status to the caller. An alternative would be to place threads with a non-zero resource count not on the zombie chain. Thus we have a resource leak instead of a fatal error. The terminator thread can see this error if we return an RTEMS_RESOURCE_IN_USE status for the rtems_task_delete() for example.
2014-03-25tests/sptests: Use <rtems/test.h>Sebastian Huber
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns
2014-02-19score: Add RTEMS_FATAL_SOURCE_SMPSebastian Huber
Use rtems_fatal() instead of _CPU_Fatal_halt() to shutdown processors in SMP configurations since this allows intervention of BSP or application specific fatal extensions.
2014-02-12score: Change debug helper functionsSebastian Huber
Rename rtems_internal_error_description() to rtems_internal_error_text(). Rename rtems_fatal_source_description() to rtems_fatal_source_text(). Rename rtems_status_code_description() to rtems_status_text(). Remove previous implementation of rtems_status_text().
2014-02-06rtems: Add rtems_status_code_description()Sebastian Huber
2013-04-11testsuites: Fix warningsSebastian Huber
2013-01-07sapi: Add rtems_fatal_source_description()Sebastian Huber
2012-11-15score: Add INTERNAL_ERROR_CPU_ISR_INSTALL_VECTORSebastian Huber
Use INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR on PowerPC for _CPU_ISR_install_vector().
2012-11-15sapi: Add and use rtems_internal_error_descriptionSebastian Huber