summaryrefslogtreecommitdiffstats
path: root/cpukit (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-17doc: rtems_get_processor_count()Sebastian Huber1-8/+5
2014-04-17sapi: Fix CONFIGURE_UNLIMITED_OBJECTSSebastian Huber1-6/+8
POSIX keys and key value pairs support now the unlimited option.
2014-04-17sapi: Error case for CONFIGURE_UNLIMITED_OBJECTSSebastian Huber1-0/+6
2014-04-16rtems: Add const qualifierSebastian Huber2-6/+6
2014-04-16score: DocumentationSebastian Huber1-0/+5
2014-04-16score: Critical fix for SMPSebastian Huber3-18/+21
The _Scheduler_SMP_Allocate_processor() and _Thread_Dispatch() exchange information without locks. Make sure we use the right load/store ordering.
2014-04-15score: Add clustered/partitioned schedulingSebastian Huber20-91/+486
Clustered/partitioned scheduling helps to control the worst-case latencies in the system. The goal is to reduce the amount of shared state in the system and thus prevention of lock contention. Modern multi-processor systems tend to have several layers of data and instruction caches. With clustered/partitioned scheduling it is possible to honour the cache topology of a system and thus avoid expensive cache synchronization traffic. We have clustered scheduling in case the set of processors of a system is partitioned into non-empty pairwise-disjoint subsets. These subsets are called clusters. Clusters with a cardinality of one are partitions. Each cluster is owned by exactly one scheduler instance.
2014-04-15rtems: Add task get/set schedulerSebastian Huber5-0/+180
2014-04-15rtems: Add scheduler get processorsSebastian Huber4-0/+92
2014-04-15rtems: Add scheduler identificationSebastian Huber6-1/+85
2014-04-15score: Add scheduler nameSebastian Huber3-22/+70
2014-04-15score: Task get/set affinitySebastian Huber9-90/+243
Make rtems_task_get_affinity() and rtems_task_set_affinity() available on non-SMP configurations. Allow larger CPU sets.
2014-04-15score: Simplify thread control initializationSebastian Huber25-419/+200
The thread control block contains fields that point to application configuration dependent memory areas, like the scheduler information, the API control blocks, the user extension context table, the RTEMS notepads and the Newlib re-entrancy support. Account for these areas in the configuration and avoid extra workspace allocations for these areas. This helps also to avoid heap fragementation and reduces the per thread memory due to a reduced heap allocation overhead.
2014-04-15score: Static scheduler configurationSebastian Huber79-662/+867
Do not allocate the scheduler control structures from the workspace. This is a preparation step for configuration of clustered/partitioned schedulers on SMP.
2014-04-15score: Add and use RTEMS_ZERO_LENGTH_ARRAYSebastian Huber3-2/+9
2014-04-14capture: Use ISR lock for SMP supportSebastian Huber1-71/+72
2014-04-14score: SMP initialization changesSebastian Huber7-19/+85
Add and use _CPU_SMP_Start_processor(). Add and use _CPU_SMP_Finalize_initialization(). This makes most _CPU_SMP_Initialize() functions a bit simpler since we can calculate the minimum value of the count of processors requested by the application configuration and the count of physically or virtually available processors in the high-level code. The CPU port has now the ability to signal a processor start failure. With the support for clustered/partitioned scheduling the presence of particular processors can be configured to be optional or mandatory. There will be a fatal error only in case mandatory processors are not present. The CPU port may use a timeout to monitor the start of a processor.
2014-04-14score: Add _Per_CPU_Get_snapshot()Sebastian Huber1-3/+12
2014-04-14sparc: Use __leon__ multilib defineSebastian Huber1-1/+8
2014-04-11rtems: Rename rtems_smp_get_current_processor()Sebastian Huber4-7/+31
Rename rtems_smp_get_current_processor() in rtems_get_current_processor(). Make rtems_get_current_processor() a function in uni-processor configurations to enable ABI compatibility with SMP configurations.
2014-04-11rtems: Rename rtems_smp_get_processor_count()Sebastian Huber5-6/+31
Rename rtems_smp_get_processor_count() in rtems_get_processor_count(). Make rtems_get_processor_count() a function in uni-processor configurations to enable ABI compatibility with SMP configurations.
2014-04-10score: Statically initialize IO managerSebastian Huber6-109/+18
This simplifies the RTEMS initialization and helps to avoid a memory overhead. The workspace demands of the IO manager were not included in the <rtems/confdefs.h> workspace size estimate. This is also fixed as a side-effect. Update documentation and move "Specifying Application Defined Device Driver Table" to the section end. This sub-section is not that important for the user. Mentioning this at the beginning may lead to confusion.
2014-04-10pppd: Delete exampleSebastian Huber8-340/+0
This example is available via testsuites/samples/pppd.
2014-04-09score: Fix workspace size estimate for TLSSebastian Huber3-4/+17
2014-04-07score: Fix for empty heapSebastian Huber1-1/+6
2014-04-07score: Use proper protectionSebastian Huber1-6/+7
2014-04-07score: Lazy key value pair allocationSebastian Huber1-9/+13
2014-04-07score: Delete _Thread_Ticks_per_timesliceSebastian Huber8-15/+18
Use the Configuration instead.
2014-04-07score: Delete _Thread_Maximum_extensionsSebastian Huber3-18/+6
Use the Configuration instead.
2014-04-07score: Fix POSIX threads size estimateSebastian Huber1-12/+12
The POSIX threads are separate objects. Account for the object administration overhead.
2014-04-07score: Fix workspace size estimateSebastian Huber1-7/+11
2014-04-07score: Clarify CPU port alignment requirementsSebastian Huber2-9/+42
2014-04-04Disable per task variables when SMP is enabledJoel Sherrill11-30/+80
Per task variables are inherently unsafe in SMP systems. This patch disables them from the build and adds warnings in the appropriate documentation and configuration sections.
2014-04-04schedulerpriorityaffinitysmp.h: Fix compilation error introduced by recent ↵Joel Sherrill1-2/+6
changes
2014-04-04privateenv.c: Remove unused variable warningJoel Sherrill1-1/+0
2014-04-04score: Add scheduler control to scheduler opsSebastian Huber80-380/+756
Scheduler operations must be free of a global scheduler context to enable partitioned/clustered scheduling.
2014-04-04score: Add and use Scheduler_simple_ControlSebastian Huber6-18/+28
2014-04-04score: Add and use Scheduler_EDF_ControlSebastian Huber7-30/+45
2014-04-04score: Delete superfluous fieldSebastian Huber1-5/+0
2014-04-04score: Include missing header fileSebastian Huber1-5/+8
2014-04-04score: Move declaration to end of fileSebastian Huber1-7/+6
2014-04-03pthreadimpl.h: Conditionalize thread affinity copyingJoel Sherrill1-1/+1
2014-04-03pthreadcreate.c: Fix bug where attr used instead of the_attrJoel Sherrill1-14/+13
2014-04-03pthread.c: Conditionalize thread affinity initializationJoel Sherrill1-1/+1
2014-04-03posix: Move affinity from thread to scheduler.Jennifer Averett4-21/+28
2014-04-03posix: Modified pthread init to use cpuset default.Jennifer Averett1-12/+8
2014-04-03rtems: Move affinity from thread to scheduler.Jennifer Averett2-9/+9
2014-04-03sapi: Add priority affinity smp scheduler.Jennifer Averett1-0/+22
2014-04-03score: Remove affinity element from thread.Jennifer Averett2-14/+0
2014-04-03score: Add priority affinity smp scheduler.Jennifer Averett4-0/+230