summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-07-23score: Merge wkspace API into one fileSebastian Huber1-12/+8
2013-07-23score: Merge address API into one fileSebastian Huber1-5/+160
2013-07-23score: Include <string.h> in basedefs.hSebastian Huber1-0/+7
2013-07-23score: Create rbtree implementation headerSebastian Huber2-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.
2013-07-22score: _CORE_mutex_Check_dispatch_for_seize()Sebastian Huber1-1/+4
Add SMP version of this check, otherwise sptests/spfatal03 fails.
2013-07-22score: Add WATCHDOG_INITIALIZER()Sebastian Huber1-0/+13
2013-07-22score: Create watchdog implementation headerSebastian Huber2-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.
2013-07-22score: Create chain implementation headerSebastian Huber6-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.
2013-07-22score: Avoid direct usage of _Thread_ExecutingSebastian Huber1-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.
2013-07-22score: Create spinlock implementation headerSebastian Huber2-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.
2013-07-22score: Avoid direct usage of _Thread_ExecutingSebastian Huber1-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.
2013-07-22score: Create rwlock implementation headerSebastian Huber2-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.
2013-07-22score: Avoid direct usage of _Thread_ExecutingSebastian Huber1-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.
2013-07-22score: Create barrier implementation headerSebastian Huber2-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.
2013-07-22score: Include <limits.h> in basedefs.hSebastian Huber1-0/+7
2013-07-22score: Avoid direct usage of _Thread_ExecutingSebastian Huber1-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.
2013-07-22score: Create message queue implementation headerSebastian Huber2-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.
2013-07-22score: Avoid direct usage of _Thread_ExecutingSebastian Huber1-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.
2013-07-22score: Add const qualifierSebastian Huber1-4/+4
2013-07-22score: Create semaphore implementation headerSebastian Huber2-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.
2013-07-22score: Add and use _ISR_Get_nest_level()Sebastian Huber1-2/+30
2013-07-22score: Move ISR catch support functionsSebastian Huber1-2/+0
Delete now unused file <rtems/score/isr.inl>.
2013-07-22score: Move ISR level content to single fileSebastian Huber3-183/+188
2013-07-18score: Avoid direct usage of _Thread_ExecutingSebastian Huber1-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.
2013-07-18score: Convert to inline functionSebastian Huber1-25/+30
2013-07-18score: Create mutex implementation headerSebastian Huber2-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.
2013-07-17smp: Add and use _CPU_SMP_Send_interrupt()Sebastian Huber1-12/+0
Delete bsp_smp_interrupt_cpu().
2013-07-17smp: Add and use _CPU_SMP_Get_current_processor()Sebastian Huber4-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.
2013-07-17smp: Delete RTEMS_BSP_SMP_CONTEXT_SWITCH_NECESSARYSebastian Huber1-7/+0
The thread dispatch is a side-effect of interrupt processing, thus there is no need to send an explicit message.
2013-07-17score: Changes due to Newlib __DYNAMIC_REENT__Sebastian Huber1-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.
2013-07-17score: Add _Thread_Get_executing()Sebastian Huber1-0/+29
2013-07-17clean up old atomic related filesWeiY2-336/+0
2013-07-17A generic atomic implementation for smp architecturesWeiY1-0/+332
2013-07-17New atomic API definition based on C11 atomicWeiY1-213/+232
2013-06-25heap: Add _Heap_Greedy_allocate_all_except_largestSebastian Huber1-1/+15
Add rtems_workspace_greedy_allocate_all_except_largest() and rtems_heap_greedy_allocate_all_except_largest().
2013-06-21score: _Heap_Protection_free_all_delayed_blocks()Sebastian Huber1-0/+11
Add and use _Heap_Protection_free_all_delayed_blocks() to prevent test suite failures if RTEMS_DEBUG is defined.
2013-06-21bsps: Move bsp_generic_fatal_code to new fileSebastian Huber1-3/+3
Add bsp_generic_fatal().
2013-06-14documentation: Fix Doxygen commentsSebastian Huber6-9/+9
2013-06-14scheduler: New simple SMP scheduler implementationSebastian Huber2-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.
2013-06-14scheduler: Add and use _Scheduler_default_Tick()Sebastian Huber6-23/+13
Delete _Scheduler_priority_Tick(). Use _SMP_Get_processor_count() for default tick operation. Delete _Scheduler_simple_smp_Tick().
2013-06-14scheduler: Specify thread of yield operationSebastian Huber4-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.
2013-06-14scheduler: Add start idle thread operationSebastian Huber6-5/+30
Add and use _Scheduler_Start_idle().
2013-06-14score: Rename rtems_smp_get_number_of_processors()Sebastian Huber1-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.
2013-06-14score: Add and use _Thread_Dispatch_is_enabled()Sebastian Huber2-33/+14
Delete _Thread_Dispatch_in_critical_section() and _Thread_Is_dispatching_enabled().
2013-06-12smp: Add and use _Per_CPU_Lock_acquire()Sebastian Huber1-0/+6
Add and use _Per_CPU_Lock_release().
2013-06-12score: Avoid cyclic include dependencySebastian Huber1-1/+2
2013-06-12score: Add missing includeSebastian Huber1-0/+1
2013-06-12score: Always provide <rtems/score/smplock.h>Sebastian Huber2-3/+7
2013-06-07score: Move thread dispatch content to new fileSebastian Huber2-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.
2013-06-07score: Simplify _CORE_mutex_Seize_interrupt_try*Sebastian Huber1-8/+8