summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Add RTEMS_FATAL_SOURCE_STACK_CHECKERSebastian Huber2012-11-152-1/+11
|
* score: Add RTEMS_FATAL_SOURCE_ASSERTSebastian Huber2012-11-152-1/+8
|
* score: Add RTEMS_FATAL_SOURCE_BSP_SPECIFICSebastian Huber2012-11-151-0/+7
|
* score: Add RTEMS_FATAL_SOURCE_BSP_GENERICSebastian Huber2012-11-151-0/+10
|
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-151-0/+7
| | | | | | | Include <bsp/default-initial-extension.h> in all BSPs. Call rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit() status code as fatal code in every bsp_cleanup(). Move previous bsp_cleanup() code into bsp_fatal_extension().
* score: Add RTEMS_FATAL_SOURCE_APPLICATIONSebastian Huber2012-11-151-0/+7
|
* score: Add RTEMS_FATAL_SOURCE_BDBUFSebastian Huber2012-11-152-78/+80
| | | | | | Add rtems_bdbuf_fatal_code as a replacement for the previous fatal error codes. Remove unused error codes. Add new error codes. Use rtems_fatal() with RTEMS_FATAL_SOURCE_BDBUF as source.
* score: Add RTEMS_FATAL_SOURCE_LASTSebastian Huber2012-11-151-2/+10
| | | | | This enum value ensures that the enum type needs at least 32-bits for architectures with short enums.
* score: Add rtems_fatal()Sebastian Huber2012-11-153-14/+66
|
* score: Add INTERNAL_ERROR_CPU_ISR_INSTALL_VECTORSebastian Huber2012-11-154-2/+38
| | | | | Use INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR on PowerPC for _CPU_ISR_install_vector().
* sapi: Add and use rtems_internal_error_descriptionSebastian Huber2012-11-153-1/+70
|
* sapi: Add rtems_fatal_source and rtems_fatal_codeSebastian Huber2012-11-151-0/+4
|
* score: Add nest level to interal error stateSebastian Huber2012-11-152-0/+9
| | | | | Add Internal_errors_Information::nest_level. This helps to detect recursive calls to _Internal_error_Occurred().
* score: DocumentationSebastian Huber2012-11-151-3/+10
|
* powerpc: Delete _CPU_Install_interrupt_stack()Sebastian Huber2012-11-141-11/+0
| | | | This function is only used if CPU_HAS_HARDWARE_INTERRUPT_STACK == TRUE.
* Filesystem: Preserve source NULL pointer in mountSebastian Huber2012-11-131-4/+6
|
* dosfs: Lazy update of FAT32 FS info sectorSebastian Huber2012-11-135-86/+84
| | | | | | | | | | | | | | | | | | | | | The FAT32 FS info sector contains hints for the free cluster count and the next free cluster. The previous code read these values during mount and replaced them with invalid values. The shutdown operation updated them with the current values. These values are only hints. Every FAT implementation must cope with arbitrary values. They are intended to speed up certain operations. Now we update the free cluster count and next free culster in the FAT32 FS info sector only during unmount or sync operations and only if the values have changed. This avoids writes to the FS info sector and conforms to the behaviour of Linux and Windows. The application can force an update of these values now with the fsync() and fdatasync() operations. Applications that only read will perform not write operations to the FAT32 FS info sector. The new fat_sync() function performs all non-file specific synchronizations.
* dosfs: Use FAT_UNDEFINED_VALUESebastian Huber2012-11-132-6/+6
|
* score: Fix per CPU member offsetsSebastian Huber2012-11-131-65/+47
| | | | | | | | Offset calculation was wrong for 16-bit and 64-bit pointer targets. Remove unused offsets. Move Per_CPU_Control::dispatch_necessary after Per_CPU_Control::isr_nest_level. Move SMP members to end of structure. All assembler relevant members are now at the structure beginning.
* sapi: Add BSP_INITIAL_EXTENSION to confdefs.hSebastian Huber2012-11-131-1/+5
| | | | | | A BSP can supply an initial extension via the new optional BSP_INITIAL_EXTENSION define. It will be the last in the initial extension table.
* score: Move global variables definitionSebastian Huber2012-11-133-2/+6
| | | | | Define _System_state_Current and _Internal_errors_What_happened in interr.c to make _Internal_error_Occurred() more independent.
* score: Statically initialize user extensionsSebastian Huber2012-11-134-35/+57
| | | | | | | | | The initial extensions remain now in a read-only table and will not be copied to work space memory. The extension chains are statically initialized. This makes it possible to call _User_extensions_Iterate() independent of the system state. It is now guaranteed that the fatal callout of the initial extensions will be called provided the stack pointer, the read-only data, and code memory are valid.
* score: Add and use _User_extensions_Iterate()Sebastian Huber2012-11-138-283/+260
| | | | | | | Replace the separate user extension iterations with a single iteration function. This reduces code size and improves maintainability since the iteration logic is only in one function. The runtime overhead is insignificant.
* score: Add and use RTEMS_ARRAY_SIZE()Sebastian Huber2012-11-132-6/+6
|
* sapi: Make initial user extensions table read-onlySebastian Huber2012-11-073-6/+6
|
* sapi: Fix user scheduler configurationSebastian Huber2012-11-071-13/+0
| | | | | | | | | | The comment in confdefs.h shows how to do it: An application can define its own scheduling policy by defining CONFIGURE_SCHEDULER_USER and the following: - CONFIGURE_SCHEDULER_ENTRY_POINTS - CONFIGURE_MEMORY_FOR_SCHEDULER - base memory - CONFIGURE_MEMORY_PER_TASK_FOR_SCHEDULER - per task memory
* sapi: Make Configuration read-onlySebastian Huber2012-11-072-2/+2
| | | | | The Configuration is now read-only and must be statically initialized via confdefs.h or similar.
* monitor: Add const qualifierSebastian Huber2012-11-0714-59/+60
|
* monitor: Avoid unused functionSebastian Huber2012-11-071-0/+2
|
* sapi: Delete duplicate declarationsSebastian Huber2012-11-072-7/+0
|
* sapi: Delete unused macrosSebastian Huber2012-11-071-15/+0
| | | | | | | Delete rtems_configuration_get_table(), rtems_configuration_set_stack_space_size(), rtems_configuration_set_work_space_size(), and rtems_configuration_set_microseconds_per_tick().
* sapi: Use rtems_*_get_user_multiprocessing_tableSebastian Huber2012-11-071-1/+1
|
* sapi: Use rtems_configuration_get_idle_taskSebastian Huber2012-11-071-1/+1
|
* sapi: Use rtems_*_get_number_of_initial_extensionsSebastian Huber2012-11-071-1/+1
|
* sapi: Use rtems_config*_get_user_extension_tableSebastian Huber2012-11-071-1/+1
|
* sapi: Use rtems_config*_get_idle_task_stack_sizeSebastian Huber2012-11-071-1/+1
|
* sapi: Use rtems_config*_get_maximum_extensionsSebastian Huber2012-11-071-1/+1
|
* sapi: Use rtems_config*_get_device_driver_tableSebastian Huber2012-11-071-1/+1
|
* sapi: Use rtems_conf*_get_number_of_device_driversSebastian Huber2012-11-071-1/+1
|
* sapi: Use rtems_configuration_get_maximum_driversSebastian Huber2012-11-072-1/+4
|
* sapi: Use rtems_config*_get_interrupt_stack_sizeSebastian Huber2012-11-072-15/+18
|
* sapi: Use rtems_config*_get_microseconds_per_tickSebastian Huber2012-11-071-1/+1
|
* score: Support static_assert and _Static_assertSebastian Huber2012-11-061-2/+10
|
* Remove rtems-rfs-bitmaps-ut.c.Ralf Corsépius2012-11-062-397/+1
|
* libnetworking: Disconnect after mbuf shortageSebastian Huber2012-11-051-1/+4
| | | | | The missing disconnect left the socket in an unusable state. Each send request resulted in an EISCONN error.
* rtems: Transient event documentationSebastian Huber2012-11-051-6/+6
|
* libnetworking: Avoid deadlock during starvationSebastian Huber2012-11-021-7/+36
|
* monitor: Support for system eventsSebastian Huber2012-11-021-0/+1
|
* libblock: DocumentationSebastian Huber2012-11-022-98/+125
|
* libblock: Block device transfer request API changeSebastian Huber2012-11-025-48/+63
| | | | | | | | | | | | | | Add and use rtems_blkdev_request_done(). Block device transfer requests must signal the completion status now with rtems_blkdev_request_done(). The return value of the block device IO control will be ignored for transfer requests. The first parameter of rtems_blkdev_request_cb is now the transfer request structure. Renamed rtems_blkdev_request::req_done to rtems_blkdev_request::done to break third party drivers at compile time, otherwise this API change would result in runtime errors.