summaryrefslogtreecommitdiffstats
path: root/cpukit/score/inline/rtems (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-07-23score: Create rbtree implementation headerSebastian Huber1-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.
2013-07-22score: Create watchdog implementation headerSebastian Huber1-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.
2013-07-22score: Create chain implementation headerSebastian Huber2-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.
2013-07-22score: Create spinlock implementation headerSebastian Huber1-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.
2013-07-22score: Create rwlock implementation headerSebastian Huber1-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.
2013-07-22score: Create barrier implementation headerSebastian Huber1-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.
2013-07-22score: Create message queue implementation headerSebastian Huber1-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.
2013-07-22score: Create semaphore implementation headerSebastian Huber1-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.
2013-07-22score: Move ISR catch support functionsSebastian Huber1-60/+0
Delete now unused file <rtems/score/isr.inl>.
2013-07-18score: Create mutex implementation headerSebastian Huber1-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.
2013-07-17score: Changes due to Newlib __DYNAMIC_REENT__Sebastian Huber1-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.
2013-07-17clean up old atomic related filesWeiY1-496/+0
2013-06-14documentation: Fix Doxygen commentsSebastian Huber2-4/+4
2013-06-14scheduler: Simplify simple schedulerSebastian Huber1-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().
2013-06-14scheduler: Specify thread of yield operationSebastian Huber1-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.
2013-06-14scheduler: Add start idle thread operationSebastian Huber1-0/+16
Add and use _Scheduler_Start_idle().
2013-06-14score: Add and use _Thread_Dispatch_if_necessary()Sebastian Huber1-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().
2013-06-14score: Add _Chain_Insert_ordered_unprotected()Sebastian Huber1-0/+41
2013-06-07score: Add and use _Objects_Put()Sebastian Huber1-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.
2013-06-07score: Add _Objects_Put_for_get_isr_disable()Sebastian Huber1-0/+14
Provide SMP support. The ISR disable/enable is not enough to ensure mutual exclusion for SMP configurations.
2013-06-07score: Move thread dispatch content to new fileSebastian Huber4-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.
2013-06-07score: Simplify _CORE_mutex_Seize_interrupt_try*Sebastian Huber1-7/+7
2013-06-07score: Simplify _CORE_semaphore_Seize_isr_disableSebastian Huber1-5/+5
2013-05-31score: Remove idle field of Per_CPU_ControlSebastian Huber1-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().
2013-04-02Fixed return in void functionAndreas Heinig1-1/+1
2013-02-12score: New routines to align addresses up or down.Gedare Bloom1-0/+44
2013-02-07score: atomic support for RTEMS. Cleanup.WeiY1-82/+74
2013-02-07score: atomic support for RTEMS. Generic atomic operations API definition.WeiY1-0/+504
2013-01-10cpukit: Fix many Doxygen warningsJoel Sherrill2-9/+9
2013-01-10cpukit: Use Consistent Beginning of Doxygen Group NotationJoel Sherrill26-53/+27
This is the result of a sed script which converts all uses of @{ into a consistent form.
2013-01-09score: Doxygen Clean Up Task #18Alex Ivanov12-338/+422
http://www.google-melange.com/gci/task/view/google/gci2012/8137204
2013-01-09score: Doxygen Clean Up Task #17Alex Ivanov17-691/+788
2013-01-02score: Do not inline _RBTree_Find_unprotected()Sebastian Huber1-33/+0
This function is to big to inline. It leads also to test case explosion.
2012-12-18PR2083 Wrong return value in _RBTree_Has_only_one_nodeAndreas Heinig1-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.
2012-12-05score: Add _Chain_Append_if_is_off_chain_*()Sebastian Huber1-0/+19
2012-11-22score: Avoid superfluous loadsSebastian Huber1-4/+12
2012-11-21score: Add and use _TOD_Get_with_nanoseconds()Sebastian Huber1-12/+5
Delete _TOD_Get_as_timestamp().
2012-10-30rtems: Add system eventsSebastian Huber1-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).
2012-10-25score: Work area initialization API changeSebastian Huber1-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.
2012-10-25score: Append to free list in _Heap_Extend()Sebastian Huber1-0/+13
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill28-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.
2012-05-09Score ISR - Minimize Capabilities When Not Simple VectoredJoel Sherrill1-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.
2012-05-08rbtree: API changes. Remove rbtree control node from RBTree_Next.Gedare Bloom1-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.
2012-05-08score/rbtree: replace _RBTree_Peek_unprotected with _RBTree_First.Gedare Bloom1-19/+1
2012-04-24score: Remove _Stack_Adjust_size()Sebastian Huber1-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.
2012-04-11score: New macros and functionsSebastian Huber1-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().
2012-04-11rbtree: PR1995: API changeSebastian Huber1-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().
2012-03-30score/rbtree: Add const qualifierSebastian Huber1-30/+30
2012-03-30score/rbtree: C++ compatibilitySebastian Huber1-2/+3
2012-03-29PR1994: RBTree Compare Result ChangeGedare Bloom1-2/+21
Change the meaning of the compare result to simplify comparison of integer keys.