summaryrefslogtreecommitdiffstats
path: root/cpukit/score/Makefile.am (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Require presence of <stdatomic.h> for SMP supportSebastian Huber2014-02-171-4/+2
|
* Add thread-local storage (TLS) supportSebastian Huber2014-02-041-0/+1
| | | | | Tested and implemented on ARM, m68k, PowerPC and SPARC. Other architectures need more work.
* cpukit/rtems: Add rtems_clock_get_uptime_nanoseconds to the RTEMS API.Chris Johns2013-12-241-3/+3
| | | | | | Add Timestamp support in the score to return a timestamp in nanoseconds. Add a test. Update the RTEMS API documentation.
* score/rbtree: Delete protected operationsSebastian Huber2013-11-211-2/+2
| | | | | The user of the red-black tree container must now ensure that at most one thread at once can access an instance.
* smp: Add Deterministic Priority SMP SchedulerSebastian Huber2013-08-201-0/+2
|
* smp: Rename _Scheduler_simple_smp_Start_idle()Sebastian Huber2013-08-201-0/+1
| | | | | Rename _Scheduler_simple_smp_Start_idle() to _Scheduler_SMP_Start_idle().
* smp: Replace Scheduler_simple_smp_ControlSebastian Huber2013-08-201-0/+2
| | | | | Replace Scheduler_simple_smp_Control with Scheduler_SMP_Control. Rename _Scheduler_simple_smp_Instance() to _Scheduler_SMP_Instance().
* score: _Priority_bit_map_Handler_initialization()Sebastian Huber2013-08-201-0/+1
| | | | | | | Delete _Priority_bit_map_Handler_initialization() and rely on BSS initialization. Move definition of _Priority_Major_bit_map and _Priority_Bit_map to separate file. Move definition of __log2table also to this file.
* score: PR2136: Fix _Thread_Change_priority()Sebastian Huber2013-08-201-0/+1
| | | | | | | | | | | | | | | Add call to _Scheduler_Schedule() in missing path after _Thread_Set_transient() in _Thread_Change_priority(). See also sptests/spintrcritical19. Add thread parameter to _Scheduler_Schedule(). This parameter is currently unused but may be used in future SMP schedulers. Do heir selection in _Scheduler_Schedule(). Use _Scheduler_Update_heir() for this in the particular scheduler implementation. Add and use _Scheduler_Generic_block().
* score: Per-CPU thread dispatch disable levelSebastian Huber2013-08-091-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a per-CPU thread dispatch disable level. So instead of one global thread dispatch disable level we have now one instance per processor. This is a major performance improvement for SMP. On non-SMP configurations this may simplifiy the interrupt entry/exit code. The giant lock is still present, but it is now decoupled from the thread dispatching in _Thread_Dispatch(), _Thread_Handler(), _Thread_Restart_self() and the interrupt entry/exit. Access to the giant lock is now available via _Giant_Acquire() and _Giant_Release(). The giant lock is still implicitly acquired via _Thread_Dispatch_decrement_disable_level(). The giant lock is only acquired for high-level operations in interrupt handlers (e.g. release of a semaphore, sending of an event). As a side-effect this change fixes the lost thread dispatch necessary indication bug in _Thread_Dispatch(). A per-CPU thread dispatch disable level greatly simplifies the SMP support for the interrupt entry/exit code since no spin locks have to be acquired in this area. It is only necessary to get the current processor index and use this to calculate the address of the own per-CPU control. This reduces the interrupt latency considerably. All elements for the interrupt entry/exit code are now part of the Per_CPU_Control structure: thread dispatch disable level, ISR nest level and thread dispatch necessary. Nothing else is required (except CPU port specific stuff like on SPARC).
* score: Rename _Scheduler_simple_Update()Sebastian Huber2013-08-081-1/+2
| | | | Rename _Scheduler_simple_Update() in _Scheduler_default_Update().
* score: Rename _Scheduler_simple_Allocate(), etc.Sebastian Huber2013-08-081-0/+1
| | | | | Rename _Scheduler_simple_Allocate() in _Scheduler_default_Allocate(). Rename _Scheduler_simple_Free() in _Scheduler_default_Free().
* score: Rename _Scheduler_priority_Release_job()Sebastian Huber2013-08-081-1/+1
| | | | | Rename _Scheduler_priority_Release_job() into _Scheduler_default_Release_job().
* PR766: Delete __RTEMS_INSIDE__Sebastian Huber2013-08-081-2/+0
|
* score: Use an ISR lock for TODSebastian Huber2013-08-011-0/+1
| | | | | | | | | | | | | Two issues are addressed. 1. On single processor configurations the set/get of the now/uptime timestamps is now consistently protected by ISR disable/enable sequences. Previously nested interrupts could observe partially written values since 64-bit writes are not atomic on 32-bit architectures in general. This could lead to non-monotonic uptime timestamps. 2. The TOD now/uptime maintanence is now independent of the giant lock. This is the first step to remove the giant lock in _Thread_Dispatch().
* score: Move nanoseconds since last tick supportSebastian Huber2013-08-011-2/+2
| | | | | | Move the nanoseconds since last tick support from the Watchdog to the TOD handler. Now the TOD managment is encapsulated in the TOD_Control structure.
* score: Rename tod.h to todimpl.hSebastian Huber2013-08-011-1/+1
|
* score: Add and use ISR locksSebastian Huber2013-07-311-0/+1
| | | | | | | | | | | | ISR locks are low-level locks to protect critical sections accessed by threads and interrupt service routines. On single processor configurations the ISR locks degrade to simple ISR disable/enable sequences. No additional storage or objects are required. This synchronization primitive is supported on SMP configurations. Here SMP locks are used.
* score: Add _Assert_Thread_dispatching_repressed()Sebastian Huber2013-07-301-0/+1
|
* score: New header file <rtems/score/assert.h>Sebastian Huber2013-07-301-0/+1
|
* score: Merge tod implementation into one fileSebastian Huber2013-07-261-4/+1
| | | | | Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
* score: Create object implementation headerSebastian Huber2013-07-261-2/+2
| | | | | | Move implementation specific parts of object.h and object.inl into new header file objectimpl.h. The object.h contains now only the application visible API.
* score: Move mppkt implementation into mpciimpl.hSebastian Huber2013-07-261-5/+0
|
* score: Create mpci implementation headerSebastian Huber2013-07-261-0/+1
| | | | | Move implementation specific parts of mpci.h into new header file mpciimpl.h. The mpci.h contains now only the application visible API.
* score: Merge objectmp implementation into one fileSebastian Huber2013-07-261-1/+0
|
* score: Create threadq implementation headerSebastian Huber2013-07-261-2/+1
| | | | | | | | Move implementation specific parts of tqdata.h, threadq.h and threadq.inl into new header file threadqimpl.h. The threadq.h contains now only the application visible API. Delete tqdata.h.
* score: Delete threadq.inlSebastian Huber2013-07-261-1/+0
|
* score: Merge threadmp implementation into one fileSebastian Huber2013-07-261-1/+0
|
* score: Create states implementation headerSebastian Huber2013-07-261-1/+1
| | | | | | Move implementation specific parts of states.h and states.inl into new header file statesimpl.h. The states.h contains now only the application visible API.
* score: Create thread implementation headerSebastian Huber2013-07-261-1/+1
| | | | | | | | Move implementation specific parts of thread.h and thread.inl into new header file threadimpl.h. The thread.h contains now only the application visible API. Remove superfluous header file includes from various files.
* score: Create prioritybitmap implementation headerSebastian Huber2013-07-261-2/+1
| | | | | | | | Move implementation specific parts of prioritybitmap.h and prioritybitmap.inl into new header file prioritybitmapimpl.h. The prioritybitmap.h contains now only the application visible API. Move content of bitfield.h into prioritybitmapimpl.h.
* score: Create scheduler implementation headerSebastian Huber2013-07-261-1/+1
| | | | | | Move implementation specific parts of scheduler.h and scheduler.inl into new header file schedulerimpl.h. The scheduler.h contains now only the application visible API.
* score: Create schedulerpriority impl headerSebastian Huber2013-07-261-1/+1
| | | | | | | | | | | | | Move implementation specific parts of schedulerpriority.h and schedulerpriority.inl into new header file schedulerpriorityimpl.h. The schedulerpriority.h contains now only the application visible API. Add missing includes. Remove superfluous includes. Move declaration of _Priority_Bit_map to prioritybitmap.inl since this variable is used only here. Remove second declaration of _Priority_Major_bit_map.
* score: Create schedulersimple impl headerSebastian Huber2013-07-261-1/+1
| | | | | | Move implementation specific parts of schedulersimple.h and schedulersimple.inl into new header file schedulersimpleimpl.h. The schedulersimple.h contains now only the application visible API.
* score: Add freechainZhongwei Yao2013-07-241-0/+4
|
* score: Delete priority.inlSebastian Huber2013-07-241-1/+0
|
* score: Merge sysstate API into one fileSebastian Huber2013-07-241-1/+0
|
* score: Create stack implementation headerSebastian Huber2013-07-231-1/+1
| | | | | | Move implementation specific parts of stack.h and stack.inl into new header file stackimpl.h. The stack.h contains now only the application visible API.
* score: Create heap implementation headerSebastian Huber2013-07-231-1/+1
| | | | | | Move implementation specific parts of heap.h and heap.inl into new header file heapimpl.h. The heap.h contains now only the application visible API.
* score: Merge wkspace API into one fileSebastian Huber2013-07-231-1/+0
|
* score: Merge address API into one fileSebastian Huber2013-07-231-1/+0
|
* score: Create rbtree implementation headerSebastian Huber2013-07-231-1/+1
| | | | | | Move implementation specific parts of rbtree.h and rbtree.inl into new header file rbtreeimpl.h. The rbtree.h contains now only the application visible API.
* score: Create watchdog implementation headerSebastian Huber2013-07-221-1/+1
| | | | | | Move implementation specific parts of watchdog.h and watchdog.inl into new header file watchdogimpl.h. The watchdog.h contains now only the application visible API.
* score: Create chain implementation headerSebastian Huber2013-07-221-1/+1
| | | | | | Move implementation specific parts of chain.h and chain.inl into new header file chainimpl.h. The chain.h contains now only the application visible API.
* score: Create spinlock implementation headerSebastian Huber2013-07-221-4/+1
| | | | | | Move implementation specific parts of corespinlock.h and corespinlock.inl into new header file corespinlockimpl.h. The corespinlock.h contains now only the application visible API.
* score: Create rwlock implementation headerSebastian Huber2013-07-221-1/+1
| | | | | | Move implementation specific parts of corerwlock.h and corerwlock.inl into new header file corerwlockimpl.h. The corerwlock.h contains now only the application visible API.
* score: Create barrier implementation headerSebastian Huber2013-07-221-1/+1
| | | | | | Move implementation specific parts of corebarrier.h and corebarrier.inl into new header file corebarrierimpl.h. The corebarrier.h contains now only the application visible API.
* score: Create message queue implementation headerSebastian Huber2013-07-221-1/+1
| | | | | | Move implementation specific parts of coremsg.h and coremsg.inl into new header file coremsgimpl.h. The coremsg.h contains now only the application visible API.
* score: Create semaphore implementation headerSebastian Huber2013-07-221-1/+1
| | | | | | Move implementation specific parts of coresem.h and coresem.inl into new header file coresemimpl.h. The coresem.h contains now only the application visible API.
* score: Move ISR catch support functionsSebastian Huber2013-07-221-1/+0
| | | | Delete now unused file <rtems/score/isr.inl>.