summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libmisc: Add a stdio redirector helper.Chris Johns2014-09-165-0/+458
| | | | | | | | This module makes it easy to redirect and capture stdout, stderr or any other fd in your application. The captured data can be sent off board, for example using syslog, or buffered and displayed in a web page.
* shell: Add a ping command.Chris Johns2014-09-164-1/+2100
| | | | | | | | | The ping code is taken from a recent FreeBSD release. Some options have been tested, other not tested or do not work. This could be due to the age of our TCP/IP stack. This version of ping will not work if more than 64 file descriptors are open at once because the select FD size is 64 as set in newlib.
* dosfs: Check error statusSebastian Huber2014-09-111-14/+16
|
* score: Rename _BSP_Exception_frame_print()Sebastian Huber2014-09-113-24/+3
| | | | | Rename _BSP_Exception_frame_print() to _CPU_Exception_frame_print() to be in line with other CPU port functions.
* powerpc: Delete PPC_BSP_HAS_FIXED_PR288Sebastian Huber2014-09-111-7/+0
|
* or1k: Let CPU/BSP Fatal handler have access to sourceHesham ALMatary2014-09-101-2/+2
| | | | | | This patchs follows the latest commit by Daniel Hellstrom that requires _CPU_Fatal_halt to have _source passed to it along with _error number.
* Let CPU/BSP Fatal handler have access to sourceDaniel Hellstrom2014-09-1021-25/+26
| | | | | | | | | Without the source the error code does not say that much. Let it be up to the CPU/BSP to determine the error code reported on fatal shutdown. This patch does not change the current behaviour, just adds the option to handle the source of the fatal halt.
* score: More strict RTEMS_DEQUALIFY implementation.Pavel Pisa2014-09-081-1/+53
| | | | | | | | | | | | This implementation is able to catch cast to type which differs not only in qualifiers. The error diagnostic message when used in function is self descriptive. Macro is compatible with used in initializers but there message about not constant initial value signals types incompatibility. The actual implementation does not distinguish between volatile and const removal.
* posix: Use RTEMS_DECONST()Sebastian Huber2014-09-082-3/+3
|
* posix: Fix warningSebastian Huber2014-09-081-2/+0
|
* libcsupport: Use RTEMS_DECONST()Sebastian Huber2014-09-081-1/+1
|
* score: Add RTEMS_DECONST|DEVOLATILE|DEQUALIFY()Sebastian Huber2014-09-081-0/+27
|
* capture: Add support for variable length records.Jennifer Averett2014-09-0510-72/+475
|
* capture: Split user extension methods out.Jennifer Averett2014-09-054-388/+673
|
* Regenerate preinstall.am for score/cpu/or1kHesham ALMatary2014-09-041-3/+3
| | | | | This patch regenerates preinstall.am file after Chris fixup regarding preinstall.am files gerenration from bootstrap -p command.
* shell.c: Add cast to match printf() expectations for width specifierJoel Sherrill2014-09-041-1/+6
|
* rtems-rfs-buffer.c: Correct printf() format specifiers to eliminate warningsJoel Sherrill2014-09-041-3/+2
|
* rtems/score/assert.h: Rework to allow use of NDEBUGJoel Sherrill2014-09-041-13/+43
|
* mprotect.c: Remove warning for no prototypeJoel Sherrill2014-09-041-9/+14
|
* libfs: Fix the warning in the RFS.Chris Johns2014-09-031-1/+6
| | | | Return the first error if one or more happen when deleting an inode.
* or1k: Implement context validate and context volatile clobber functions.Hesham ALMatary2014-09-024-3/+225
| | | | | | score/cpu/or1k: Add two new assembly functions: _CPU_Context_validate and _CPU_Context_volatile_clobber; their implementation follows corresponding ARM functions.
* Add missing r31 load instruction _ISR_HandlerHesham ALMatary2014-09-021-0/+1
| | | | | _ISR_Handler: r31 was not loaded in restore function. This patch adds this load.
* sapi: Add profiling report begin/end messageSebastian Huber2014-09-021-3/+7
|
* score: Define _CPU_Start_multitasking only for LEON SPARC, not SPARC in generalDaniel Cederman2014-09-011-2/+4
| | | | | Rename _BSP_Start_multitasking to _LEON3_Start_multitasking to show that it is LEON specific
* Regenerate all preinstall.am files.Chris Johns2014-08-2915-56/+56
| | | | | With this patch the preinstall.am files are in a set order and not dependent on now perl implements a hash.
* Regenerate all preinstall.am files.Joel Sherrill2014-08-2814-48/+48
| | | | | Apparently, at some point automake output changed and these were not updated.
* rtems: SMP fix for timer serverSebastian Huber2014-08-271-1/+3
|
* rtems: Add more clock tick functionsSebastian Huber2014-08-261-0/+71
| | | | | Add rtems_clock_tick_later(), rtems_clock_tick_later_usec() and rtems_clock_tick_before().
* Add or1k to the list of targets that use IEEE 754 in xdr_float.cHesham ALMatary2014-08-251-0/+1
|
* rtems: Inline rtems_clock_get_ticks_since_boot()Sebastian Huber2014-08-255-47/+14
| | | | Update documentation.
* score: Add SMP support to the cache managerDaniel Cederman2014-08-222-0/+101
| | | | | | | | | Adds functions that allows the user to specify which cores that should perform the cache operation. SMP messages are sent to all the specified cores and the caller waits until all cores have acknowledged that they have flushed their cache. If CPU_CACHE_NO_INSTRUCTION_CACHE_SNOOPING is defined the instruction cache invalidation function will perform the operation on all cores using the previous method.
* score/sparc: Add comment on icache flush after trap table updateDaniel Cederman2014-08-221-3/+14
| | | | | | | | | | | Changes to the trap table might be missed by other cores. If the system state is up, the other cores can be notified using SMP messages that they need to flush their icache. If the up state has not been reached there is no need to notify other cores. They will do an automatic flush of the icache just after entering the up state, but before enabling interrupts. Cache invalidation is required for both single and multiprocessor systems.
* bsp/sparc: Flush icache before first time enabling interruptsDaniel Cederman2014-08-221-0/+4
| | | | | | | A secondary processor might miss changes done to the trap table if the instruction cache is not flushed. Once interrupts are enabled any other required cache flushes can be ordered via the cache manager.
* score: Rename SMP broadcast message functionDaniel Cederman2014-08-222-3/+3
| | | | Change message type to unsigned long to match other SMP message functions.
* score: Add function to send a SMP message to a set of CPUsDaniel Cederman2014-08-222-0/+31
|
* Add configuration to detect toolset has sigaltstack() prototypeJoel Sherrill2014-08-202-4/+18
|
* score: PR2179: Fix initially locked PI mutexSebastian Huber2014-08-201-4/+11
|
* rtems_termios_puts: Copy and write more than one char at onceKolja Waschk2014-08-181-50/+85
| | | | Renamed startXmit(), nToSend is unsigned, just check FL_ORCVXOF, no (void) cast anymore, compute nToSend in single if/else if/else.
* Add or1k tick timer register definitionsHesham ALMatary2014-08-181-2/+14
|
* arm: PR2186: Fix compile errorSebastian Huber2014-08-141-2/+4
|
* or1k/.../preinstall.am: Add missing fileJoel Sherrill2014-08-121-0/+49
|
* Add support for OpenRISC - Fixed issuesHesham ALMatary2014-08-1215-0/+2263
| | | | | | | This work is based on the old or32 port (that has been removed back in 2005) authored by Chris Ziomkowski. The patch includes the basic functions every port should implement like: context switch, exception handling, OpenRISC ABI and machine definitions and configurations.
* arm: Add support for FPv4-SP floating point unitSebastian Huber2014-08-1212-45/+179
| | | | | This floating point unit is available in Cortex-M4 processors and defined by ARMv7-M. This adds basic support for other VFP-D16 variants.
* rbtree: Simplify _RBTree_Extract()Sebastian Huber2014-08-071-8/+10
|
* rbtree: Simplify insert and extractSebastian Huber2014-08-075-90/+83
| | | | | | | Simplify _RBTree_Insert() and _RBTree_Extract(). Remove more superfluous NULL pointer checks. Change _RBTree_Is_root() to use only the node. Add parent parameter to _RBTree_Sibling(). Delete _RBTree_Grandparent() and _RBTree_Parent_sibling().
* rbtree: Simplify _RBTree_Rotate()Sebastian Huber2014-08-071-17/+61
| | | | Add and use _RBTree_Direction().
* posix: Simplify key implementationSebastian Huber2014-08-055-21/+44
|
* rbtree: Add and use RBTree_Compare_resultSebastian Huber2014-08-0513-49/+81
|
* Add and use RTEMS_CONTAINER_OF()Sebastian Huber2014-08-0520-71/+54
|
* rbtree: Rename find header in find controlSebastian Huber2014-07-292-14/+23
| | | | Simplify _RBTree_Find_control(). Avoid superfluous NULL pointer checks.