summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* score: PR2179: Fix initially locked PCP mutexesSebastian Huber2014-05-233-3/+53
| | | | | Elevate the priority of the creating task to the ceiling priority in case a semaphore is created as initially locked.
* c/src/aclocal/check-smp.m4: Use HAS_SMP not HAS_POSIX_APIJoel Sherrill2014-05-221-1/+1
|
* cpuset.c: Fix formattingJoel Sherrill2014-05-221-3/+3
|
* testsuite: Add a user keypress to start pppd.Chris Johns2014-05-221-0/+22
| | | | Allow the test to run and pass when automatic testing.
* bsp/zynq: Add BSP_ZYNQ_RAM_LENGTH to allow a user to override the RAM length.Chris Johns2014-05-221-10/+13
| | | | | The Zynq BSPs can be used with varations of hardware such as memory size. This option lets you set a length.
* bsps/zynq: Add BSP_ARM_A9MPCORE_UARTCLK to set the UART clock rate.Chris Johns2014-05-222-1/+8
| | | | | This value can be found the xparameters.h file generated by the Xilinx tools.
* rtems: Fix sp2038 test.Chris Johns2014-05-222-14/+130
| | | | | | | | Avoid using newlib's gmtime_r call which fails with a max signed int. Add an RTEMS specific version for 1/1/1988 to 31/12/2100. Update sp2038 to test every day from 1/1/1988 to 31/12/2100. Only days need be tested as the code splits the seconds based on days.
* rtems: Simplify rtems_semaphore_obtain()Sebastian Huber2014-05-221-2/+4
|
* schedulersmpimpl.h: Fix spacingJoel Sherrill2014-05-211-2/+2
|
* score: _Thread_Set_life_protection()Sebastian Huber2014-05-213-21/+80
| | | | | | | Enable usage of _Thread_Set_life_protection() in thread dispatch critical sections. This can be used to enable the thread life-protection with thread dispatching disabled and then enable thread dispatching.
* score: Add and use _Scheduler_Get_index_by_id()Sebastian Huber2014-05-211-2/+8
|
* score: Add const qualifierSebastian Huber2014-05-211-1/+1
|
* score: Add comment regarding TLS workspace sizeSebastian Huber2014-05-211-0/+8
|
* score: Simplify _Scheduler_Set()Sebastian Huber2014-05-211-1/+1
|
* rtems: Clarify task set/get scheduler parametersSebastian Huber2014-05-204-15/+17
|
* score: SMP scheduler support documentationSebastian Huber2014-05-201-1/+5
|
* dosfs: Fix read from invalid memory areaSebastian Huber2014-05-161-1/+1
|
* score: Simplify SMP scheduler supportSebastian Huber2014-05-161-8/+3
|
* score: Fix state diagramSebastian Huber2014-05-161-0/+1
|
* score: Split SMP scheduler enqueue functionSebastian Huber2014-05-159-86/+398
| | | | | | | | Extract code from _Scheduler_SMP_Enqueue_ordered() and move it to the new function _Scheduler_SMP_Enqueue_scheduled_ordered() to avoid untestable execution paths. Add and use function _Scheduler_SMP_Unblock().
* score: Make _Thread_queue_Requeue() staticSebastian Huber2014-05-154-76/+48
| | | | | | This function is only used by _Thread_Change_priority(). Make it static to avoid the function call overhead in the performance critical function _Thread_Change_priority().
* score: Add and use _Scheduler_SMP_Start_idle()Sebastian Huber2014-05-159-52/+39
|
* score: Add and use _Scheduler_default_Schedule()Sebastian Huber2014-05-158-32/+38
|
* score: Simplify _Thread_Change_priority()Sebastian Huber2014-05-1549-1155/+470
| | | | | | | | | | | | | | | | | | | | | | | | The function to change a thread priority was too complex. Simplify it with a new scheduler operation. This increases the average case performance due to the simplified logic. The interrupt disabled critical section is a bit prolonged since now the extract, update and enqueue steps are executed atomically. This should however not impact the worst-case interrupt latency since at least for the Deterministic Priority Scheduler this sequence can be carried out with a wee bit of instructions and no loops. Add _Scheduler_Change_priority() to replace the sequence of - _Thread_Set_transient(), - _Scheduler_Extract(), - _Scheduler_Enqueue(), and - _Scheduler_Enqueue_first(). Delete STATES_TRANSIENT, _States_Is_transient() and _Thread_Set_transient() since this state is now superfluous. With this change it is possible to get rid of the SCHEDULER_SMP_NODE_IN_THE_AIR state. This considerably simplifies the implementation of the new SMP locking protocols.
* score: Add and use _Scheduler_Get_context()Sebastian Huber2014-05-147-9/+17
|
* score: _Scheduler_priority_Ready_queue_requeue()Sebastian Huber2014-05-141-22/+0
| | | | Delete unused function _Scheduler_priority_Ready_queue_requeue().
* score: Add STATES_RESTARTINGSebastian Huber2014-05-143-1/+4
| | | | Use separate state for thread restart.
* score: TypoSebastian Huber2014-05-141-1/+1
|
* monitor: Support STATES_MIGRATINGSebastian Huber2014-05-141-0/+1
|
* bsps/sparc: Fix BSS initializationSebastian Huber2014-05-141-2/+0
| | | | | | | | Use __bss_start available via %g2 to clear the BSS section. The usage of _edata resulted in a copy of [_edata, __bss_start) from ROM to RAM and then a clear to zero of this area. Clear now only [__bss_start, _end).
* bsps/sparc: Fix data copy in start procedureSebastian Huber2014-05-141-9/+9
| | | | | | Use the register %g4 for the data content since it must be an even numbered register due to the std/ldd. Use the register %g2 for the BSS start address, so that it can be later re-used for the BSS zero loop.
* score: Use Scheduler_Context for SMP schedulerSebastian Huber2014-05-143-73/+88
| | | | | | Use the basic Scheduler_Context for the general SMP scheduler operations to avoid usage of structure offsets to get the specialized context variants.
* score: Capitalize SMP acronymSebastian Huber2014-05-142-50/+50
|
* score: SMP scheduler documentationSebastian Huber2014-05-141-0/+308
|
* score: Introduce scheduler nodesSebastian Huber2014-05-1440-230/+553
| | | | | | | | | | | | Rename scheduler per-thread information into scheduler nodes using Scheduler_Node as the base type. Use inheritance for specialized schedulers. Move the scheduler specific states from the thread control block into the scheduler node structure. Validate the SMP scheduler node state transitions in case RTEMS_DEBUG is defined.
* score: Scheduler documentationSebastian Huber2014-05-148-62/+57
|
* sparc: Change asm to __asm__ to compile with -std=c99.Daniel Cederman2014-05-141-1/+1
|
* bsp/altera-caclone-v: Early printk supportRalf Kirchner2014-05-121-24/+4
| | | | Make sure printk can work early during BSP startup.
* score: Move out of __RTEMS_HAVE_SYS_CPUSET_H__Sebastian Huber2014-05-121-34/+34
| | | | | Move _Scheduler_Get() and _Scheduler_Set() out of the #if defined(__RTEMS_HAVE_SYS_CPUSET_H__) block.
* bsps: Declare bsp_start_on_secondary_processors()Sebastian Huber2014-05-121-1/+11
|
* bsps: Use bsp_start_on_secondary_processor()Sebastian Huber2014-05-127-26/+12
| | | | Use a standard function for startup on secondary processors.
* bsps: Use standard file name for BSP supportSebastian Huber2014-05-129-28/+13
|
* bsp/leon3: Delete unused functionSebastian Huber2014-05-121-5/+0
|
* rtems: Move extern "C" in <rtems.h>Sebastian Huber2014-05-121-4/+4
| | | | Do not cover the includes with an extern "C".
* bsps/sparc: Move flags to grlib headerChristian Mauderer2014-05-125-10/+14
| | | | This enables re-use for other BSPs
* bsp/gen83xx: Disable interrupt nesting for br_uidSebastian Huber2014-05-081-2/+3
| | | | This is necessary for the USB support.
* score: Fix CPU context usage on SMPSebastian Huber2014-05-0814-58/+129
| | | | | | | | | | We must not alter the is executing indicator in _CPU_Context_Initialize() since this would cause an invalid state during a self restart. The is executing indicator must be valid at creation time since otherwise _Thread_Kill_zombies() uses an undefined value for not started threads. This could result in a system life lock.
* doc: Use @dfn for glossary termsSebastian Huber2014-05-081-1/+1
|
* doc: Move SMP glossary to global glossarySebastian Huber2014-05-082-126/+93
| | | | Add some terms.
* configure: Paravirtualization for all targetsSebastian Huber2014-05-082-14/+6
| | | | Virtual machines with paravirtualization exist not only on x86.