summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* score: PR1607: Add and use CPU_SIZEOF_POINTERSebastian Huber2012-11-2221-13/+114
| | | | | | | | | | | | | | | | | Add and use new CPU port define CPU_SIZEOF_POINTER. It must be an integer literal that can be used by the assembler. This value will be used to calculate offsets of structure members. These offsets will be used in assembler code. The size of a pointer is part of the application binary interface (ABI) and thus independent of the actual programming language. The compiler will provide defines to determine the current ABI. We use these defines to select the appropriate CPU_SIZEOF_POINTER value. Static assertions in the new file "cpukit/score/src/percpuasm.c" will ensure that the value of CPU_SIZEOF_POINTER is consistent with the current compiler settings. Also the offset values used by assembler code are verfied.
* score: Inline _API_extensions_Run_postswitch()Sebastian Huber2012-11-223-21/+16
| | | | | The _API_extensions_Run_postswitch() function is only used in _Thread_Dispatch(). Avoid superfluous load of _Thread_Executing.
* score: Inline _User_extensions_Thread_switch()Sebastian Huber2012-11-223-44/+17
| | | | | The _User_extensions_Thread_switch() function is only used in _Thread_Dispatch().
* score: Add and use <rtems/score/userextimpl.h>Sebastian Huber2012-11-2249-243/+257
| | | | | This file contains the parts of <rtems/score/userext.h> that are only necessary for the RTEMS implementation.
* score: Avoid superfluous loadsSebastian Huber2012-11-221-4/+12
|
* score: Change _Internal_error_Occurred()Sebastian Huber2012-11-223-14/+28
| | | | | | | Call the fatal handlers of the user extensions before the update of _Internal_errors_What_happened. This reduces the requirements on the execution context further. Now a valid read-write data is only required after the call to the fatal handlers.
* score: Delete nest level from internal error stateSebastian Huber2012-11-222-9/+0
| | | | This reverts commit 7d0bdcac1ac20d6f22b24689c16e6aa7bc3c1e40.
* ftpfs: Fix NULL pointer accessSebastian Huber2012-11-221-7/+11
|
* m68k/mrm332: Delete _Internal_error_Occurred()Sebastian Huber2012-11-222-53/+12
| | | | Use custom bsp_fatal_extension() instead.
* m68k/mvme167: Delete bsp_fatal_error_occurred()Sebastian Huber2012-11-224-115/+0
|
* fstests/fsfseeko01: Add test casesSebastian Huber2012-11-221-4/+26
|
* ftpfs: Use SIZE commandSebastian Huber2012-11-213-1/+127
|
* ftpfs: Open control connection during path evalSebastian Huber2012-11-211-162/+151
|
* ftpfs: FormatSebastian Huber2012-11-211-29/+30
|
* ftpd: Add SIZE commandSebastian Huber2012-11-211-0/+29
|
* sptests/spcbssched02: PR2081: WorkaroundSebastian Huber2012-11-211-8/+10
| | | | | Avoid uninitialized stack variable. This is not a proper fix. It is not clear what the task should do if argument != 1.
* arm: Add _CPU_Thread_Idle_body for ARMv7-MSebastian Huber2012-11-213-1/+40
|
* score: Add RTEMS_FATAL_SOURCE_POWERPC_EXCEPTIONSebastian Huber2012-11-215-194/+200
| | | | | | | | | Add ppc_exc_print_frame_and_context() which prints an exception frame and the context via printk(). The global exception handler will call now rtems_fatal() with source RTEMS_FATAL_SOURCE_POWERPC_EXCEPTION. The fatal code will contain the pointer value to the exception frame.
* libnetworking: Use rtems_clock_get_uptime_secondsSebastian Huber2012-11-213-17/+6
| | | | | | | | This reduces the start-up time of the network stack. With a 1ms tick the ticks since boot value overflows after approximately 50 days. This problem is avoided with the rtems_clock_get_uptime_seconds() function.
* libnetworking: Use rtems_clock_get_uptime_timevalSebastian Huber2012-11-212-14/+5
|
* rtems: Add rtems_clock_get_uptime_seconds()Sebastian Huber2012-11-216-0/+77
|
* rtems: Add rtems_clock_get_uptime_timeval()Sebastian Huber2012-11-216-0/+74
|
* score: Add and use _TOD_Get_with_nanoseconds()Sebastian Huber2012-11-215-89/+35
| | | | Delete _TOD_Get_as_timestamp().
* score: Add _Timestamp_To_timeval()Sebastian Huber2012-11-214-1/+76
|
* bsp/mpc55xx: Update due to API changesSebastian Huber2012-11-211-12/+12
|
* powerpc: Add more BUCSR register valuesSebastian Huber2012-11-211-0/+8
|
* monitor: TypoSebastian Huber2012-11-211-1/+1
|
* Update from automake-1.12.5.Ralf Corsépius2012-11-215-59/+86
|
* 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.