Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | score: PR1607: Add and use CPU_SIZEOF_POINTER | Sebastian Huber | 2012-11-22 | 21 | -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 Huber | 2012-11-22 | 3 | -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 Huber | 2012-11-22 | 3 | -44/+17 |
| | | | | | The _User_extensions_Thread_switch() function is only used in _Thread_Dispatch(). | ||||
* | score: Add and use <rtems/score/userextimpl.h> | Sebastian Huber | 2012-11-22 | 49 | -243/+257 |
| | | | | | This file contains the parts of <rtems/score/userext.h> that are only necessary for the RTEMS implementation. | ||||
* | score: Avoid superfluous loads | Sebastian Huber | 2012-11-22 | 1 | -4/+12 |
| | |||||
* | score: Change _Internal_error_Occurred() | Sebastian Huber | 2012-11-22 | 3 | -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 state | Sebastian Huber | 2012-11-22 | 2 | -9/+0 |
| | | | | This reverts commit 7d0bdcac1ac20d6f22b24689c16e6aa7bc3c1e40. | ||||
* | ftpfs: Fix NULL pointer access | Sebastian Huber | 2012-11-22 | 1 | -7/+11 |
| | |||||
* | m68k/mrm332: Delete _Internal_error_Occurred() | Sebastian Huber | 2012-11-22 | 2 | -53/+12 |
| | | | | Use custom bsp_fatal_extension() instead. | ||||
* | m68k/mvme167: Delete bsp_fatal_error_occurred() | Sebastian Huber | 2012-11-22 | 4 | -115/+0 |
| | |||||
* | fstests/fsfseeko01: Add test cases | Sebastian Huber | 2012-11-22 | 1 | -4/+26 |
| | |||||
* | ftpfs: Use SIZE command | Sebastian Huber | 2012-11-21 | 3 | -1/+127 |
| | |||||
* | ftpfs: Open control connection during path eval | Sebastian Huber | 2012-11-21 | 1 | -162/+151 |
| | |||||
* | ftpfs: Format | Sebastian Huber | 2012-11-21 | 1 | -29/+30 |
| | |||||
* | ftpd: Add SIZE command | Sebastian Huber | 2012-11-21 | 1 | -0/+29 |
| | |||||
* | sptests/spcbssched02: PR2081: Workaround | Sebastian Huber | 2012-11-21 | 1 | -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-M | Sebastian Huber | 2012-11-21 | 3 | -1/+40 |
| | |||||
* | score: Add RTEMS_FATAL_SOURCE_POWERPC_EXCEPTION | Sebastian Huber | 2012-11-21 | 5 | -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_seconds | Sebastian Huber | 2012-11-21 | 3 | -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_timeval | Sebastian Huber | 2012-11-21 | 2 | -14/+5 |
| | |||||
* | rtems: Add rtems_clock_get_uptime_seconds() | Sebastian Huber | 2012-11-21 | 6 | -0/+77 |
| | |||||
* | rtems: Add rtems_clock_get_uptime_timeval() | Sebastian Huber | 2012-11-21 | 6 | -0/+74 |
| | |||||
* | score: Add and use _TOD_Get_with_nanoseconds() | Sebastian Huber | 2012-11-21 | 5 | -89/+35 |
| | | | | Delete _TOD_Get_as_timestamp(). | ||||
* | score: Add _Timestamp_To_timeval() | Sebastian Huber | 2012-11-21 | 4 | -1/+76 |
| | |||||
* | bsp/mpc55xx: Update due to API changes | Sebastian Huber | 2012-11-21 | 1 | -12/+12 |
| | |||||
* | powerpc: Add more BUCSR register values | Sebastian Huber | 2012-11-21 | 1 | -0/+8 |
| | |||||
* | monitor: Typo | Sebastian Huber | 2012-11-21 | 1 | -1/+1 |
| | |||||
* | Update from automake-1.12.5. | Ralf Corsépius | 2012-11-21 | 5 | -59/+86 |
| | |||||
* | score: Add RTEMS_FATAL_SOURCE_STACK_CHECKER | Sebastian Huber | 2012-11-15 | 3 | -6/+13 |
| | |||||
* | score: Add RTEMS_FATAL_SOURCE_ASSERT | Sebastian Huber | 2012-11-15 | 4 | -5/+14 |
| | |||||
* | bsps/powerpc: Exception initialization error is fatal | Sebastian Huber | 2012-11-15 | 22 | -107/+48 |
| | |||||
* | bsps: Interrupt initialization error is fatal | Sebastian Huber | 2012-11-15 | 28 | -116/+61 |
| | |||||
* | score: Add RTEMS_FATAL_SOURCE_BSP_SPECIFIC | Sebastian Huber | 2012-11-15 | 1 | -0/+7 |
| | |||||
* | score: Add RTEMS_FATAL_SOURCE_BSP_GENERIC | Sebastian Huber | 2012-11-15 | 1 | -0/+10 |
| | |||||
* | score: Add RTEMS_FATAL_SOURCE_EXIT | Sebastian Huber | 2012-11-15 | 104 | -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_APPLICATION | Sebastian Huber | 2012-11-15 | 1 | -0/+7 |
| | |||||
* | score: Add RTEMS_FATAL_SOURCE_BDBUF | Sebastian Huber | 2012-11-15 | 2 | -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_LAST | Sebastian Huber | 2012-11-15 | 1 | -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 Huber | 2012-11-15 | 4 | -14/+97 |
| | |||||
* | score: Add INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR | Sebastian Huber | 2012-11-15 | 7 | -25/+40 |
| | | | | | Use INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR on PowerPC for _CPU_ISR_install_vector(). | ||||
* | sapi: Add and use rtems_internal_error_description | Sebastian Huber | 2012-11-15 | 14 | -109/+223 |
| | |||||
* | sapi: Add rtems_fatal_source and rtems_fatal_code | Sebastian Huber | 2012-11-15 | 2 | -2/+6 |
| | |||||
* | score: Add nest level to interal error state | Sebastian Huber | 2012-11-15 | 2 | -0/+9 |
| | | | | | Add Internal_errors_Information::nest_level. This helps to detect recursive calls to _Internal_error_Occurred(). | ||||
* | score: Documentation | Sebastian Huber | 2012-11-15 | 1 | -3/+10 |
| | |||||
* | sptests/spfatal24: Fix NULL pointer access | Sebastian Huber | 2012-11-15 | 1 | -10/+4 |
| | |||||
* | bsp/jmr3904: Define bsp_reset() | Sebastian Huber | 2012-11-15 | 2 | -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 Huber | 2012-11-15 | 1 | -0/+1 |
| | |||||
* | bsps: Include <bspopts.h> in <bsp.h> | Sebastian Huber | 2012-11-14 | 3 | -0/+6 |
| | |||||
* | testsuites: Include <bsp.h> | Sebastian Huber | 2012-11-14 | 5 | -0/+10 |
| | | | | | Include <bsp.h> for proper BSP specific <rtems/confdefs.h> initialization. | ||||
* | bsps/sparc: Define bsp_reset() | Sebastian Huber | 2012-11-14 | 1 | -0/+2 |
| | | | | | This is declared in <bsp/bootcard.h> and is the usual function to reset a board. |