summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Simplify _Scheduler_SMP_Node_change_state()Sebastian Huber2016-11-021-38/+26
| | | | Update #2556.
* score: Pass scheduler node to unblock operationSebastian Huber2016-11-0219-107/+84
| | | | | | Changed for consistency with other scheduler operations. Update #2556.
* score: Pass scheduler node to block operationSebastian Huber2016-11-0221-83/+83
| | | | | | Changed for consistency with other scheduler operations. Update #2556.
* score: Pass scheduler node to yield operationSebastian Huber2016-11-0215-79/+51
| | | | | | Changed for consistency with other scheduler operations. Update #2556.
* score: Pass scheduler node to update priority opSebastian Huber2016-11-0217-63/+100
| | | | | | | This enables to call this scheduler operation for all scheduler nodes available to a thread. Update #2556.
* score: Rename scheduler ask for help stuffSebastian Huber2016-11-0213-28/+28
| | | | | | | | Rename the scheduler ask for help stuff since this will be replaced step by step with a second generation of the scheduler helping protocol. Keep the old one for now in parallel to reduce the patch set sizes. Update #2556.
* score: Fix _Scheduler_Try_to_schedule_node() usageSebastian Huber2016-11-021-72/+65
| | | | Fix wrong use of continue statement in while loops.
* cpuuse: Use rtems_task_iterate()Sebastian Huber2016-11-021-58/+59
| | | | Update #2423.
* rtems: Add rtems_task_iterate()Sebastian Huber2016-11-0214-125/+213
| | | | Update #2423.
* posix: Fix timer intervalSebastian Huber2016-10-311-2/+0
| | | | | | | Do not overwrite timer interval with initial interval in _POSIX_Timer_Insert(). Close #2798.
* posix: Fix timeout handling in sigtimedwait()Sebastian Huber2016-10-311-4/+7
| | | | Update #2798.
* sys/sockio.h: Update to FreeBSD head 2016-05-03Sebastian Huber2016-10-261-2/+7
|
* sys/uio.h: Update to FreeBSD head 2015-12-03Sebastian Huber2016-10-261-14/+20
|
* sys/event.h: Update to FreeBSD head 2016-06-27Sebastian Huber2016-10-261-12/+30
|
* score: Rename RTEMS_OBFUSCATE_POINTER()Sebastian Huber2016-10-132-6/+8
| | | | | | | The inline asm construct works for everything which fits into a register. Close #2790.
* libmisc/xz: Add xz decompression.Chris Johns2016-10-1317-1/+3194
| | | | Add support to untar XZ compressed files.
* score: More robust linker setsSebastian Huber2016-10-122-21/+36
| | | | | Update #2408. Update #2790.
* score: Add RTEMS_OBFUSCATE_POINTER()Sebastian Huber2016-10-121-1/+11
| | | | Update #2790.
* score: Simplify check for migrationsSebastian Huber2016-10-121-20/+4
|
* pci.h add PCI_COMMAND_INTX_DISABLE definition.Pavel Pisa2016-10-111-0/+1
|
* score: Enhance _SMP_barrier_Wait()Sebastian Huber2016-10-112-2/+11
| | | | | Indicate which processor released the barrier. Similar to pthread_barrier_wait().
* score/arm: Correct logic to select 64 byte cache line maximum size for Cortex-A.Pavel Pisa2016-10-041-2/+2
| | | | | | | | The use of actual cache line max bytes and minimum required alignment in architecture but not-BSP dependent code could be problematic because there exists even ARM instruction set implementations with 128 byte line length and real maximum can be quite problematic to say. But actually supported ARM BSPs should be OK with these values.
* libdl/rtl-obj.c: synchronize cache should not depend on CPU_CACHE_LINE_BYTES.Pavel Pisa2016-10-041-3/+6
| | | | | | | Use of rtems_cache_get_maximal_line_size() is more descriptive choice. The min/max data/instruction cache line size is not critical there, value is used for optimization only to use single operation for directly following sections.
* monitor: Support priority inheritance queuesSebastian Huber2016-09-301-0/+2
|
* score: Unify CORE mutex seize/surrenderSebastian Huber2016-09-278-92/+18
| | | | | | Use the Thread_Control::resource_count for the no protocol mutexes. Merge the no protocol and priority inherit CORE mutex seize/surrender operations.
* score: Simplify ISR lock nameSebastian Huber2016-09-271-4/+1
|
* score: Simplify CORE mutex seizeSebastian Huber2016-09-272-70/+3
| | | | | | Rename _CORE_mutex_Seize_no_protocol_slow() in _CORE_mutex_Seize_slow(). Remove previous _CORE_mutex_Seize_slow() since the protocol handling is now done in the thread queue operations.
* score: Fix warningSebastian Huber2016-09-271-0/+2
|
* score: Fix C/C++ compatibility issueSebastian Huber2016-09-2318-67/+17
| | | | | | | Only use CPU_Per_CPU_control if it contains at least one filed. In GNU C empty structures have a size of zero. In C++ structures have a non-zero size. In case CPU_PER_CPU_CONTROL_SIZE is defined to zero, then this structure is not used anymore.
* score: Scheduler node awareness for thread queuesSebastian Huber2016-09-217-319/+862
| | | | | | | | Maintain the priority of a thread for each scheduler instance via the thread queue enqueue, extract, priority actions and surrender operations. This replaces the primitive priority boosting. Update #2556.
* rtems: Add rtems_task_get_priority()Sebastian Huber2016-09-213-0/+107
| | | | | Update #2556. Update #2784.
* score: Manage scheduler nodes via thread queuesSebastian Huber2016-09-215-0/+33
| | | | Update #2556.
* score: Add scheduler node table for each threadSebastian Huber2016-09-217-58/+156
| | | | Update #2556.
* score: Rework thread priority managementSebastian Huber2016-09-2163-1467/+2678
| | | | | | | | | | | | | | | | | | | | | | | | | Add priority nodes which contribute to the overall thread priority. The actual priority of a thread is now an aggregation of priority nodes. The thread priority aggregation for the home scheduler instance of a thread consists of at least one priority node, which is normally the real priority of the thread. The locking protocols (e.g. priority ceiling and priority inheritance), rate-monotonic period objects and the POSIX sporadic server add, change and remove priority nodes. A thread changes its priority now immediately, e.g. priority changes are not deferred until the thread releases its last resource. Replace the _Thread_Change_priority() function with * _Thread_Priority_perform_actions(), * _Thread_Priority_add(), * _Thread_Priority_remove(), * _Thread_Priority_change(), and * _Thread_Priority_update(). Update #2412. Update #2556.
* termios: Add IO control handlerSebastian Huber2016-09-192-2/+20
| | | | Update #2785.
* termios: Use IMFS nodes for new Termios devicesSebastian Huber2016-09-192-235/+281
| | | | | | | | This makes the new Termios devices independent of device major/minor numbers. It enables BSP independent Termios device drivers which may reside in the cpukit domain. These drivers require an IMFS and do not work with the device file system. However, the device file system should go away in the future.
* imfs: Untangle dependenciesSebastian Huber2016-09-193-89/+116
| | | | | This helps to use IMFS_make_generic_node() without pulling in the complete IMFS implementation.
* imfs: Fix IMFS_stat_file()Sebastian Huber2016-09-162-6/+3
| | | | | Use the adjusted and not the requested memfile bytes per block. Untangle dependencies.
* Add SPI bus frameworkAlexander Krutwig2016-09-165-0/+877
| | | | | | User API is compatible to Linux userspace API. New test libtests/spi01. Update #2776.
* score: Introduce _Thread_Get_priority()Sebastian Huber2016-09-0822-41/+69
| | | | Avoid direct access to thread internal data fields.
* score: Add scheduler node implementation headerSebastian Huber2016-09-086-106/+140
| | | | Update #2556.
* score: Move thread wait node to scheduler nodeSebastian Huber2016-09-089-144/+220
| | | | Update #2556.
* score: Move scheduler node to own header fileSebastian Huber2016-09-085-163/+196
| | | | | | | This makes it possible to add scheduler nodes to structures defined in <rtems/score/thread.h>. Update #2556.
* score: Optimize thread queue enqueueSebastian Huber2016-09-081-17/+32
| | | | Optimize the enqueue to empty thread queue case.
* score: Introduce Thread_queue_Lock_contextSebastian Huber2016-09-0833-186/+235
| | | | | | Introduce Thread_queue_Lock_context to contain the context necessary for thread queue lock and thread wait lock acquire/release operations to reduce the Thread_Control size.
* score: Simplify thread queue acquire/releaseSebastian Huber2016-09-0816-92/+68
|
* score: Fix warningSebastian Huber2016-09-081-1/+1
|
* score: Fix warningSebastian Huber2016-09-081-1/+1
|
* score: Fix for RTEMS_DEBUGSebastian Huber2016-09-081-0/+1
|
* libdl: Add ARM C++ relocation record support.Chris Johns2016-09-082-2/+18
| | | | Closes #2767