summaryrefslogtreecommitdiffstats
path: root/cpukit/score/inline/rtems (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Create rbtree implementation headerSebastian Huber2013-07-231-507/+0
| | | | | | 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-262/+0
| | | | | | 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-222-773/+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-61/+0
| | | | | | 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-50/+0
| | | | | | 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-67/+0
| | | | | | 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-255/+0
| | | | | | 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-118/+0
| | | | | | 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-60/+0
| | | | Delete now unused file <rtems/score/isr.inl>.
* score: Create mutex implementation headerSebastian Huber2013-07-181-235/+0
| | | | | | Move implementation specific parts of coremutex.h and coremutex.inl into new header file coremuteximpl.h. The coremutex.h contains now only the application visible API.
* score: Changes due to Newlib __DYNAMIC_REENT__Sebastian Huber2013-07-171-0/+2
| | | | | | | | | | | | | Delete _Thread_libc_reent and add __getreent() instead according to __DYNAMIC_REENT__ define. For SMP configurations __DYNAMIC_REENT__ must be defined. A Newlib including the following patch is required: 2013-07-09 Sebastian Huber <sebastian.huber@embedded-brains.de> * libc/include/sys/config.h (__DYNAMIC_REENT__): Define for RTEMS.
* clean up old atomic related filesWeiY2013-07-171-496/+0
|
* documentation: Fix Doxygen commentsSebastian Huber2013-06-142-4/+4
|
* scheduler: Simplify simple schedulerSebastian Huber2013-06-141-0/+46
| | | | | | | Add and use _Scheduler_simple_Insert_priority_fifo_order(), _Scheduler_simple_Insert_priority_lifo_order(), _Scheduler_simple_Insert_priority_fifo() and _Scheduler_simple_Insert_priority_lifo().
* scheduler: Specify thread of yield operationSebastian Huber2013-06-141-7/+9
| | | | | | The yielding thread of the yield operation is now specified by a parameter. The tick operation may be performed for each executing thread in a SMP configuration.
* scheduler: Add start idle thread operationSebastian Huber2013-06-141-0/+16
| | | | Add and use _Scheduler_Start_idle().
* score: Add and use _Thread_Dispatch_if_necessary()Sebastian Huber2013-06-141-26/+26
| | | | | | | | | Delete _Thread_Evaluate_is_dispatch_needed(). Use _Thread_Dispatch_is_enabled() in rtems_task_mode() instead of the system state to determine if a thread dispatch is allowed. Signales are now delivered in rtems_task_mode() even if preemption is disabled. This is in line with rtems_signal_send().
* score: Add _Chain_Insert_ordered_unprotected()Sebastian Huber2013-06-141-0/+41
|
* score: Add and use _Objects_Put()Sebastian Huber2013-06-071-0/+29
| | | | | | Add and use _Objects_Put_without_thread_dispatch(). These two functions pair with the _Objects_Get() function. This helps to introduce object specific SMP locks to avoid lock contention.
* score: Add _Objects_Put_for_get_isr_disable()Sebastian Huber2013-06-071-0/+14
| | | | | Provide SMP support. The ISR disable/enable is not enough to ensure mutual exclusion for SMP configurations.
* score: Move thread dispatch content to new fileSebastian Huber2013-06-074-140/+5
| | | | | | | Move thread dispatch declarations and inline functions to new header <rtems/score/threaddispatch.h> to make it independent of the Thread_Control structure. This avoids a cyclic dependency in case thread dispatch functions are used for the object implementation.
* score: Simplify _CORE_mutex_Seize_interrupt_try*Sebastian Huber2013-06-071-7/+7
|
* score: Simplify _CORE_semaphore_Seize_isr_disableSebastian Huber2013-06-071-5/+5
|
* score: Remove idle field of Per_CPU_ControlSebastian Huber2013-05-311-0/+18
| | | | | | This field is unused except for special case simulator clock drivers. In these places use an alternative. Add and use _Thread_Set_global_exit_status() and _Thread_Get_global_exit_status().
* Fixed return in void functionAndreas Heinig2013-04-021-1/+1
|
* score: New routines to align addresses up or down.Gedare Bloom2013-02-121-0/+44
|
* score: atomic support for RTEMS. Cleanup.WeiY2013-02-071-82/+74
|
* score: atomic support for RTEMS. Generic atomic operations API definition.WeiY2013-02-071-0/+504
|
* cpukit: Fix many Doxygen warningsJoel Sherrill2013-01-102-9/+9
|
* cpukit: Use Consistent Beginning of Doxygen Group NotationJoel Sherrill2013-01-1026-53/+27
| | | | | This is the result of a sed script which converts all uses of @{ into a consistent form.
* score: Doxygen Clean Up Task #18Alex Ivanov2013-01-0912-338/+422
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/8137204
* score: Doxygen Clean Up Task #17Alex Ivanov2013-01-0917-691/+788
|
* score: Do not inline _RBTree_Find_unprotected()Sebastian Huber2013-01-021-33/+0
| | | | | This function is to big to inline. It leads also to test case explosion.
* PR2083 Wrong return value in _RBTree_Has_only_one_nodeAndreas Heinig2012-12-181-1/+1
| | | | | | The function _RBTree_Has_only_one_node shall return a boolean value, but returns NULL. NULL, however, is defined as: (void *)0. Hence it does not match the scalar bool type. Return false instead.
* score: Add _Chain_Append_if_is_off_chain_*()Sebastian Huber2012-12-051-0/+19
|
* score: Avoid superfluous loadsSebastian Huber2012-11-221-4/+12
|
* score: Add and use _TOD_Get_with_nanoseconds()Sebastian Huber2012-11-211-12/+5
| | | | Delete _TOD_Get_as_timestamp().
* rtems: Add system eventsSebastian Huber2012-10-301-0/+15
| | | | | | | System events are similar to normal events. They offer a second set of events. These events are intended for internal RTEMS use and should not be used by applications (with the exception of the transient system event).
* score: Work area initialization API changeSebastian Huber2012-10-251-14/+0
| | | | | | | | | | | | The work areas (RTEMS work space and C program heap) will be initialized now in a separate step and are no longer part of rtems_initialize_data_structures(). Initialization is performed with tables of Heap_Area entries. This allows usage of scattered memory areas present on various small scale micro-controllers. The sbrk() support API changes also. The bsp_sbrk_init() must now deal with a minimum size for the first memory chunk to take the configured work space size into account.
* score: Append to free list in _Heap_Extend()Sebastian Huber2012-10-251-0/+13
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-1128-56/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* Score ISR - Minimize Capabilities When Not Simple VectoredJoel Sherrill2012-05-091-1/+3
| | | | | | | | | | | In particular CPU_INTERRUPT_NUMBER_OF_VECTORS and CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER are only used on Simple Vectored Architectures, so do not depend on them being defined. This disables as much as possible that is specific to the Simple Vectored Model and not expected to be used on architectures which use the Programmable Interrupt Controller model for interrupt handler vectoring.
* rbtree: API changes. Remove rbtree control node from RBTree_Next.Gedare Bloom2012-05-081-8/+4
| | | | | | | | | | | | The implementation of RBTree_Next was using an awkward construction to detect and avoid accessing the false root of the red-black tree. To deal with the false root, RBTree_Next was comparing node parents with the control node. Instead the false root can be detected by checking if the grandparent of a node exists; the grandparent of the tree's true root is NULL by definition so the root of the tree is found while walking up the tree by checking for the non-existence of a grandparent. This change propagates into the predecessor/successor and iterate functions.
* score/rbtree: replace _RBTree_Peek_unprotected with _RBTree_First.Gedare Bloom2012-05-081-19/+1
|
* score: Remove _Stack_Adjust_size()Sebastian Huber2012-04-241-18/+0
| | | | | | | | | | The increase of the stack size by CPU_STACK_ALIGNMENT in _Thread_Stack_Allocate() is disadvantageous. This may lead to a huge over allocation for specialized stack allocators. The CPU_STACK_ALIGNMENT is at most 16 on all current RTEMS CPU ports. The mimimum stack size ensured by _Stack_Ensure_minimum() must be considerable larger than this value, otherwise stack overflows will likely occur. Thus the _Stack_Adjust_size() is also superfluous.
* score: New macros and functionsSebastian Huber2012-04-111-0/+20
| | | | | | | | | | New macros o _Objects_Maximum_per_allocation(), o rtems_resource_is_unlimited(), and o rtems_resource_maximum_per_allocation(). New function o _Objects_Is_unlimited().
* rbtree: PR1995: API changeSebastian Huber2012-04-111-26/+48
| | | | | | | | | | | | | | | | New functions o _RBTree_Next_unprotected(), o _RBTree_Next(), o _RBTree_Successor_unprotected(), o _RBTree_Predecessor_unprotected(), o rtems_rbtree_successor_unprotected(), and o rtems_rbtree_predecessor_unprotected(). Change prototype of o _RBTree_Successor(), o _RBTree_Predecessor(), o rtems_rbtree_successor(), and o rtems_rbtree_predecessor().
* score/rbtree: Add const qualifierSebastian Huber2012-03-301-30/+30
|
* score/rbtree: C++ compatibilitySebastian Huber2012-03-301-2/+3
|
* PR1994: RBTree Compare Result ChangeGedare Bloom2012-03-291-2/+21
| | | | | Change the meaning of the compare result to simplify comparison of integer keys.