summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* score: Add RTEMS_FATAL_SOURCE_STACK_CHECKERSebastian Huber2012-11-153-6/+13
|
* score: Add RTEMS_FATAL_SOURCE_ASSERTSebastian Huber2012-11-154-5/+14
|
* bsps/powerpc: Exception initialization error is fatalSebastian Huber2012-11-1522-107/+48
|
* bsps: Interrupt initialization error is fatalSebastian Huber2012-11-1528-116/+61
|
* 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-15104-106/+285
| | | | | | | 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-154-14/+97
|
* score: Add INTERNAL_ERROR_CPU_ISR_INSTALL_VECTORSebastian Huber2012-11-157-25/+40
| | | | | Use INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR on PowerPC for _CPU_ISR_install_vector().
* sapi: Add and use rtems_internal_error_descriptionSebastian Huber2012-11-1514-109/+223
|
* sapi: Add rtems_fatal_source and rtems_fatal_codeSebastian Huber2012-11-152-2/+6
|
* 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
|
* sptests/spfatal24: Fix NULL pointer accessSebastian Huber2012-11-151-10/+4
|
* bsp/jmr3904: Define bsp_reset()Sebastian Huber2012-11-152-1/+2
| | | | | This is declared in <bsp/bootcard.h> and is the usual function to reset a board.
* bsps/lm32: Include <bsp/bootcard.h>Sebastian Huber2012-11-151-0/+1
|
* bsps: Include <bspopts.h> in <bsp.h>Sebastian Huber2012-11-143-0/+6
|
* testsuites: Include <bsp.h>Sebastian Huber2012-11-145-0/+10
| | | | | Include <bsp.h> for proper BSP specific <rtems/confdefs.h> initialization.
* bsps/sparc: Define bsp_reset()Sebastian Huber2012-11-141-0/+2
| | | | | This is declared in <bsp/bootcard.h> and is the usual function to reset a board.
* bsps: Include <bsp/bootcard.h>Sebastian Huber2012-11-1411-20/+14
| | | | | Use <bsp/bootcard.h> to get prototype for bsp_cleanup(). Fix bsp_cleanup() definition if necessary.
* powerpc: Delete _CPU_Install_interrupt_stack()Sebastian Huber2012-11-142-20/+0
| | | | This function is only used if CPU_HAS_HARDWARE_INTERRUPT_STACK == TRUE.
* sptests/spintrcritical09: Fix check orderSebastian Huber2012-11-131-17/+25
| | | | | | The critical section check never succeeded since watchdogs are ordered with respect to the insertion time. Now we call the watchdog routine if appropriate and bypass the normal watchdog mechanic.
* fstests/fsrfsbitmap01: Fix NULL pointer accessSebastian Huber2012-11-136-90/+67
| | | | Move test files into one directory.
* samples/fileio: Add DOSFS and RFS on demandSebastian Huber2012-11-131-6/+10
|
* 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.
* bsps/sparc: Add BSP_INITIAL_EXTENSION to <bsp.h>Sebastian Huber2012-11-137-0/+33
| | | | The bsp_fatal_extension() will call BSP_fatal_return().
* bsps: New file <bsp/default-initial-extension.h>Sebastian Huber2012-11-133-0/+67
|
* 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.
* sptests/spinternalerror01: New testSebastian Huber2012-11-136-0/+121
|
* 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
|
* rtems-message_queue.adb: FormattingJoel Sherrill2012-11-071-6/+6
|
* doc/user: Fix scheduler configurationSebastian Huber2012-11-071-1/+1
|
* 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
* libtests/devfs03: Initialize nodesSebastian Huber2012-11-071-0/+2
|
* 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
|
* bsps/sparc: Delete unused symbol declarationSebastian Huber2012-11-071-1/+0
|
* sapi: Delete duplicate declarationsSebastian Huber2012-11-076-24/+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().