summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mpci.c: Now compiles againJoel Sherrill2014-04-221-1/+3
|
* score: Use common names for per-CPU variablesSebastian Huber2014-04-2215-183/+183
| | | | | | | | | | | | | | | | Use "cpu" for an arbitrary Per_CPU_Control variable. Use "cpu_self" for the Per_CPU_Control of the current processor. Use "cpu_index" for an arbitrary processor index. Use "cpu_index_self" for the processor index of the current processor. Use "cpu_count" for the processor count obtained via _SMP_Get_processor_count(). Use "cpu_max" for the processor maximum obtained by rtems_configuration_get_maximum_processors().
* score: Fix warningSebastian Huber2014-04-221-2/+0
|
* score: Delete superfluous assignmentsSebastian Huber2014-04-221-7/+0
| | | | These values are already zero initialized by C run-time setup.
* score: Simplify Giant lockSebastian Huber2014-04-221-9/+7
|
* score: Use _Per_CPU_Get_snapshot()Sebastian Huber2014-04-221-1/+1
|
* score: Clarify TLS supportSebastian Huber2014-04-174-5/+5
|
* doc: rtems_task_set_scheduler()Sebastian Huber2014-04-171-0/+3
|
* doc: rtems_get_processor_count()Sebastian Huber2014-04-171-8/+5
|
* sapi: Fix CONFIGURE_UNLIMITED_OBJECTSSebastian Huber2014-04-171-6/+8
| | | | POSIX keys and key value pairs support now the unlimited option.
* sapi: Error case for CONFIGURE_UNLIMITED_OBJECTSSebastian Huber2014-04-171-0/+6
|
* rtems: Add const qualifierSebastian Huber2014-04-162-6/+6
|
* score: DocumentationSebastian Huber2014-04-161-0/+5
|
* score: Critical fix for SMPSebastian Huber2014-04-163-18/+21
| | | | | | The _Scheduler_SMP_Allocate_processor() and _Thread_Dispatch() exchange information without locks. Make sure we use the right load/store ordering.
* score: Add clustered/partitioned schedulingSebastian Huber2014-04-1520-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.
* rtems: Add task get/set schedulerSebastian Huber2014-04-155-0/+180
|
* rtems: Add scheduler get processorsSebastian Huber2014-04-154-0/+92
|
* rtems: Add scheduler identificationSebastian Huber2014-04-156-1/+85
|
* score: Add scheduler nameSebastian Huber2014-04-153-22/+70
|
* score: Task get/set affinitySebastian Huber2014-04-159-90/+243
| | | | | Make rtems_task_get_affinity() and rtems_task_set_affinity() available on non-SMP configurations. Allow larger CPU sets.
* score: Simplify thread control initializationSebastian Huber2014-04-1525-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.
* score: Static scheduler configurationSebastian Huber2014-04-1579-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.
* score: Add and use RTEMS_ZERO_LENGTH_ARRAYSebastian Huber2014-04-153-2/+9
|
* capture: Use ISR lock for SMP supportSebastian Huber2014-04-141-71/+72
|
* score: SMP initialization changesSebastian Huber2014-04-147-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.
* score: Add _Per_CPU_Get_snapshot()Sebastian Huber2014-04-141-3/+12
|
* sparc: Use __leon__ multilib defineSebastian Huber2014-04-141-1/+8
|
* rtems: Rename rtems_smp_get_current_processor()Sebastian Huber2014-04-114-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.
* rtems: Rename rtems_smp_get_processor_count()Sebastian Huber2014-04-115-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.
* score: Statically initialize IO managerSebastian Huber2014-04-106-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.
* pppd: Delete exampleSebastian Huber2014-04-108-340/+0
| | | | This example is available via testsuites/samples/pppd.
* score: Fix workspace size estimate for TLSSebastian Huber2014-04-093-4/+17
|
* score: Fix for empty heapSebastian Huber2014-04-071-1/+6
|
* score: Use proper protectionSebastian Huber2014-04-071-6/+7
|
* score: Lazy key value pair allocationSebastian Huber2014-04-071-9/+13
|
* score: Delete _Thread_Ticks_per_timesliceSebastian Huber2014-04-078-15/+18
| | | | Use the Configuration instead.
* score: Delete _Thread_Maximum_extensionsSebastian Huber2014-04-073-18/+6
| | | | Use the Configuration instead.
* score: Fix POSIX threads size estimateSebastian Huber2014-04-071-12/+12
| | | | | The POSIX threads are separate objects. Account for the object administration overhead.
* score: Fix workspace size estimateSebastian Huber2014-04-071-7/+11
|
* score: Clarify CPU port alignment requirementsSebastian Huber2014-04-072-9/+42
|
* Disable per task variables when SMP is enabledJoel Sherrill2014-04-0411-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.
* schedulerpriorityaffinitysmp.h: Fix compilation error introduced by recent ↵Joel Sherrill2014-04-041-2/+6
| | | | changes
* privateenv.c: Remove unused variable warningJoel Sherrill2014-04-041-1/+0
|
* score: Add scheduler control to scheduler opsSebastian Huber2014-04-0480-380/+756
| | | | | Scheduler operations must be free of a global scheduler context to enable partitioned/clustered scheduling.
* score: Add and use Scheduler_simple_ControlSebastian Huber2014-04-046-18/+28
|
* score: Add and use Scheduler_EDF_ControlSebastian Huber2014-04-047-30/+45
|
* score: Delete superfluous fieldSebastian Huber2014-04-041-5/+0
|
* score: Include missing header fileSebastian Huber2014-04-041-5/+8
|
* score: Move declaration to end of fileSebastian Huber2014-04-041-7/+6
|
* pthreadimpl.h: Conditionalize thread affinity copyingJoel Sherrill2014-04-031-1/+1
|