summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* rbtree: Simplify off-tree handlingSebastian Huber2014-07-292-21/+24
| | | | | | | Only use the parent pointer, since this pointer is never NULL for nodes which are part of a tree. Rename functions from *_off_rbtree() to *_off_tree().
* Delete unused *_Is_null() functionsSebastian Huber2014-07-2619-262/+0
|
* rbtree: Update maximum node in LIFO orderSebastian Huber2014-07-262-9/+11
| | | | | | The test sptests/sp35 showed a NULL pointer access due to an invalid maximum node field (e.g. a tree with one element and NULL as the maximum node).
* todimpl.h: Add missing DoxygenJoel Sherrill2014-07-231-0/+10
|
* coretod*.c: Fix Doxygen group and comment formattingJoel Sherrill2014-07-235-14/+14
|
* Add _TOD_Adjust to SCORE TOD Handler.Joel Sherrill2014-07-234-18/+79
| | | | | | | | This lays the proper structure for doing future work on time adjustment algorithms. Any TOD adjustments should be requested at the API level and performed at the SCORE level. Additionally updated a test.
* adjtime.c: Use timestamp math and simplifyJoel Sherrill2014-07-231-40/+28
|
* rbtree: Do not set node off-tree in extractSebastian Huber2014-07-222-5/+9
|
* rbtree: Remove superfluous NULL pointer checksSebastian Huber2014-07-224-36/+23
|
* rbtree: FormatSebastian Huber2014-07-226-117/+147
|
* Use Shared Method for Thread Unblock CleanupJoel Sherrill2014-07-154-60/+63
| | | | | | | | | | | When a thread is removed from a thread queue or is unblocked by receiving an event, the same actions are required. + timeout watchdog canceled, + thread must be unblocked, and + (MP only) proxy cleaned up This patch makes sure there is only one copy of this code.
* Thread Queue: Merge discipline subroutines into main methodsJoel Sherrill2014-07-1517-682/+246
| | | | | | | | | | | There was a lot of duplication between the discipline subroutines. With the transition to RBTrees for priority discipline, there were only a few lines of source code manipulating the data structure for FIFO and priority. Thus is made sense to fold these back into the main methods. As part of doing this all of the tests for discipline were changed to be in the same order.
* Thread Queue Priority Discipline Reimplemented with RBTreeJoel Sherrill2014-07-1510-325/+107
|
* rbtree: Reduce RBTree_Control sizeSebastian Huber2014-07-1515-173/+164
| | | | | | | | | | | | Remove compare function and is unique indicator from the control structure. Rename RBTree_Compare_function to RBTree_Compare. Rename rtems_rbtree_compare_function to rtems_rbtree_compare. Provide C++ compatible initializers. Add compare function and is unique indicator to _RBTree_Find(), _RBTree_Insert(), rtems_rbtree_find() and rtems_rbtree_insert(). Remove _RBTree_Is_unique() and rtems_rbtree_is_unique(). Remove compare function and is unique indicator from _RBTree_Initialize_empty() and rtems_rbtree_initialize_empty().
* rbtree: Delete unused functionsSebastian Huber2014-07-152-90/+0
|
* scheduleredfunblock.c: Correct spacingJoel Sherrill2014-07-141-1/+1
|
* semdelete.c: Correct spacingJoel Sherrill2014-07-141-1/+1
|
* capture: Fix capture engine to handle new extensions.Jennifer Averett2014-07-112-35/+76
|
* capture: Update comment block style in capture engine.Jennifer Averett2014-07-112-416/+378
| | | | Doxygen added and comment blocks standardized.
* score: Scheduler helping proto for affinity schedSebastian Huber2014-07-111-0/+12
| | | | | | | | | | | The priority affinity scheduler has the nice property that it can produce more than one scheduled to ready state change in one operation. Each scheduled to ready state change may lead to one thread in need for help. Since it is currently only possible to return at most one thread in need for help, we have a problem here. A solution might be to move the check for migrations into the ask for help mechanism.
* score: Fix scheduler helping implementationSebastian Huber2014-07-106-119/+39
| | | | | Do not extract the idle threads from the ready set so that there is always a thread available for comparison.
* score: Fix assertionsSebastian Huber2014-07-103-6/+8
|
* termios: Add rtems_termios_set_best_baud()Sebastian Huber2014-07-093-4/+64
|
* termios: Add rtems_termios_get_termios()Christian Mauderer2014-07-091-1/+14
|
* termios: PR1279: Use first open statusSebastian Huber2014-07-091-73/+82
|