summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Merge wkspace API into one fileSebastian Huber2013-07-231-12/+8
|
* score: Merge address API into one fileSebastian Huber2013-07-231-5/+160
|
* score: Include <string.h> in basedefs.hSebastian Huber2013-07-231-0/+7
|
* score: Create rbtree implementation headerSebastian Huber2013-07-232-35/+542
| | | | | | 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: _CORE_mutex_Check_dispatch_for_seize()Sebastian Huber2013-07-221-1/+4
| | | | Add SMP version of this check, otherwise sptests/spfatal03 fails.
* score: Add WATCHDOG_INITIALIZER()Sebastian Huber2013-07-221-0/+13
|
* score: Create watchdog implementation headerSebastian Huber2013-07-222-227/+492
| | | | | | 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-226-186/+971
| | | | | | 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: Avoid direct usage of _Thread_ExecutingSebastian Huber2013-07-221-3/+3
| | | | | | Pass the executing thread as a function parameter. Obtain the executing thread inside a thread dispatch critical section to avoid problems on SMP.
* score: Create spinlock implementation headerSebastian Huber2013-07-222-99/+162
| | | | | | 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: Avoid direct usage of _Thread_ExecutingSebastian Huber2013-07-221-1/+4
| | | | | | Pass the executing thread as a function parameter. Obtain the executing thread inside a thread dispatch critical section to avoid problems on SMP.
* score: Create rwlock implementation headerSebastian Huber2013-07-222-158/+204
| | | | | | 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: Avoid direct usage of _Thread_ExecutingSebastian Huber2013-07-221-0/+2
| | | | | | Pass the executing thread as a function parameter. Obtain the executing thread inside a thread dispatch critical section to avoid problems on SMP.
* score: Create barrier implementation headerSebastian Huber2013-07-222-126/+191
| | | | | | 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: Include <limits.h> in basedefs.hSebastian Huber2013-07-221-0/+7
|
* score: Avoid direct usage of _Thread_ExecutingSebastian Huber2013-07-221-0/+4
| | | | | | Pass the executing thread as a function parameter. Obtain the executing thread inside a thread dispatch critical section to avoid problems on SMP.
* score: Create message queue implementation headerSebastian Huber2013-07-222-330/+587
| | | | | | 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: Avoid direct usage of _Thread_ExecutingSebastian Huber2013-07-221-3/+4
| | | | | | Pass the executing thread as a function parameter. Obtain the executing thread inside a thread dispatch critical section to avoid problems on SMP.
* score: Add const qualifierSebastian Huber2013-07-221-4/+4
|
* score: Create semaphore implementation headerSebastian Huber2013-07-222-146/+262
| | | | | | 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: Add and use _ISR_Get_nest_level()Sebastian Huber2013-07-221-2/+30
|
* score: Move ISR catch support functionsSebastian Huber2013-07-221-2/+0
| | | | Delete now unused file <rtems/score/isr.inl>.
* score: Move ISR level content to single fileSebastian Huber2013-07-223-183/+188
|
* score: Avoid direct usage of _Thread_ExecutingSebastian Huber2013-07-181-14/+21
| | | | | | Pass the executing thread as a function parameter. Obtain the executing thread inside a thread dispatch critical section to avoid problems on SMP.
* score: Convert to inline functionSebastian Huber2013-07-181-25/+30
|
* score: Create mutex implementation headerSebastian Huber2013-07-182-312/+548
| | | | | | 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.
* smp: Add and use _CPU_SMP_Send_interrupt()Sebastian Huber2013-07-171-12/+0
| | | | Delete bsp_smp_interrupt_cpu().
* smp: Add and use _CPU_SMP_Get_current_processor()Sebastian Huber2013-07-174-42/+22
| | | | | | | | | | Add and use _SMP_Get_current_processor() and rtems_smp_get_current_processor(). Delete bsp_smp_interrupt_cpu(). Change type of current processor index from int to uint32_t to match _SMP_Processor_count type.
* smp: Delete RTEMS_BSP_SMP_CONTEXT_SWITCH_NECESSARYSebastian Huber2013-07-171-7/+0
| | | | | The thread dispatch is a side-effect of interrupt processing, thus there is no need to send an explicit message.
* score: Changes due to Newlib __DYNAMIC_REENT__Sebastian Huber2013-07-171-0/+3
| | | | | | | | | | | | | 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.
* score: Add _Thread_Get_executing()Sebastian Huber2013-07-171-0/+29
|
* clean up old atomic related filesWeiY2013-07-172-336/+0
|
* A generic atomic implementation for smp architecturesWeiY2013-07-171-0/+332
|
* New atomic API definition based on C11 atomicWeiY2013-07-171-213/+232
|
* heap: Add _Heap_Greedy_allocate_all_except_largestSebastian Huber2013-06-251-1/+15
| | | | | Add rtems_workspace_greedy_allocate_all_except_largest() and rtems_heap_greedy_allocate_all_except_largest().
* score: _Heap_Protection_free_all_delayed_blocks()Sebastian Huber2013-06-211-0/+11
| | | | | Add and use _Heap_Protection_free_all_delayed_blocks() to prevent test suite failures if RTEMS_DEBUG is defined.
* bsps: Move bsp_generic_fatal_code to new fileSebastian Huber2013-06-211-3/+3
| | | | Add bsp_generic_fatal().
* documentation: Fix Doxygen commentsSebastian Huber2013-06-146-9/+9
|
* scheduler: New simple SMP scheduler implementationSebastian Huber2013-06-142-71/+90
| | | | | | | | | | | | | | | | | The new Simple SMP Scheduler allocates a processor for the processor count highest priority ready threads. The thread priority and position in the ready chain are the only information to determine the scheduling decision. Threads with an allocated processor are in the scheduled chain. After initialization the scheduled chain has exactly processor count nodes. Each processor has exactly one allocated thread after initialization. All enqueue and extract operations may exchange threads with the scheduled chain. One thread will be added and another will be removed. The scheduled and ready chain is ordered according to the thread priority order. The chain insert operations are O(count of ready threads), thus this scheduler is unsuitable for most real-time applications. The thread preempt mode will be ignored.
* scheduler: Add and use _Scheduler_default_Tick()Sebastian Huber2013-06-146-23/+13
| | | | | Delete _Scheduler_priority_Tick(). Use _SMP_Get_processor_count() for default tick operation. Delete _Scheduler_simple_smp_Tick().
* scheduler: Specify thread of yield operationSebastian Huber2013-06-144-11/+21
| | | | | | 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-146-5/+30
| | | | Add and use _Scheduler_Start_idle().
* score: Rename rtems_smp_get_number_of_processors()Sebastian Huber2013-06-141-28/+32
| | | | | | | | | Rename in rtems_smp_get_processor_count(). Always provide <rtems/score/smp.h> and <rtems/rtems/smp.h>. Add _SMP_Get_processor_count(). This function will be a compile time constant defined to be one on uni-processor configurations. This allows iterations over all processors without overhead on uni-processor configurations.
* score: Add and use _Thread_Dispatch_is_enabled()Sebastian Huber2013-06-142-33/+14
| | | | | Delete _Thread_Dispatch_in_critical_section() and _Thread_Is_dispatching_enabled().
* smp: Add and use _Per_CPU_Lock_acquire()Sebastian Huber2013-06-121-0/+6
| | | | Add and use _Per_CPU_Lock_release().
* score: Avoid cyclic include dependencySebastian Huber2013-06-121-1/+2
|
* score: Add missing includeSebastian Huber2013-06-121-0/+1
|
* score: Always provide <rtems/score/smplock.h>Sebastian Huber2013-06-122-3/+7
|
* score: Move thread dispatch content to new fileSebastian Huber2013-06-072-105/+264
| | | | | | | 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-8/+8
|