summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* sparc in_cksum: Use __sparc__ which is available in -ansi modeJoel Sherrill2013-06-202-2/+2
|
* bsps/arm: Fix some GIC functionsRic Claus2013-06-201-2/+3
|
* bsps/arm: Set vector base address if necessarySebastian Huber2013-06-204-0/+78
|
* greth: do not advertise 1000M capability if MAC does not support it.Jiri Gaisler2013-06-191-0/+11
|
* greth: prefer full duplex if availableJiri Gaisler2013-06-191-3/+3
|
* Added in_cksum_sparc.h to optimize IP checksum calculations for SPARC.Jiri Gaisler2013-06-192-0/+312
|
* bsp/xilinx-zynq: Use magic UART baud divisorSebastian Huber2013-06-191-2/+2
| | | | Use a baud divisor suitable for the evaluation board.
* bsp/xilinx-zynq: Do not start transmitter breakSebastian Huber2013-06-191-1/+0
|
* Update from automake-1.13.3.Ralf Corsépius2013-06-182-66/+81
|
* bsp/xilinx-zynq: Use second UART for consoleSebastian Huber2013-06-181-1/+1
| | | | This is in now line with the evaluation board.
* smptests/smpschedule01: Update due to API changeSebastian Huber2013-06-171-1/+1
|
* Revert "sptests/sp02: Fix maximum task count"Sebastian Huber2013-06-171-1/+1
| | | | | | This reverts commit 6f8adb073b0c1b4d2a638f99710fda4e99938332. The resource count was correct.
* bsps: Provide simple console selectionSebastian Huber2013-06-173-1/+26
|
* bsps: Add missing includeSebastian Huber2013-06-171-0/+2
|
* documentation: Fix Doxygen commentsSebastian Huber2013-06-1410-28/+28
|
* smptests/smpschedule01: New testSebastian Huber2013-06-146-0/+246
|
* scheduler: New simple SMP scheduler implementationSebastian Huber2013-06-1412-412/+294
| | | | | | | | | | | | | | | | | 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: Simplify simple schedulerSebastian Huber2013-06-143-43/+50
| | | | | | | Add and use _Scheduler_simple_Insert_priority_fifo_order(), _Scheduler_simple_Insert_priority_lifo_order(), _Scheduler_simple_Insert_priority_fifo() and _Scheduler_simple_Insert_priority_lifo().
* scheduler: Add and use _Scheduler_default_Tick()Sebastian Huber2013-06-149-139/+32
| | | | | 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-1412-52/+74
| | | | | | 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-1413-14/+96
| | | | Add and use _Scheduler_Start_idle().
* score: Simplify _Thread_Create_idle()Sebastian Huber2013-06-141-23/+12
|
* score: Rename rtems_smp_get_number_of_processors()Sebastian Huber2013-06-1428-120/+117
| | | | | | | | | 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_if_necessary()Sebastian Huber2013-06-142-30/+27
| | | | | | | | | Delete _Thread_Evaluate_is_dispatch_needed(). Use _Thread_Dispatch_is_enabled() in rtems_task_mode() instead of the system state to determine if a thread dispatch is allowed. Signales are now delivered in rtems_task_mode() even if preemption is disabled. This is in line with rtems_signal_send().
* score: Add and use _Thread_Dispatch_is_enabled()Sebastian Huber2013-06-1417-59/+32
| | | | | Delete _Thread_Dispatch_in_critical_section() and _Thread_Is_dispatching_enabled().
* score: Add _Chain_Insert_ordered_unprotected()Sebastian Huber2013-06-144-0/+77
|
* rtems: Simplify rtems_task_mode()Sebastian Huber2013-06-141-6/+4
|
* sptests/sp02: Fix maximum task countSebastian Huber2013-06-141-1/+1
|
* Make the default values easier for the configuration GUI to parseCynthia Rempel2013-06-121-91/+94
|
* smp: Fix _Thread_Dispatch_decrement_disable_levelSebastian Huber2013-06-121-1/+7
| | | | | | We must obtain the processor ID after interrupts are disabled since a non-optimizing compiler may store the value on the stack and read it back.
* smp: Protect decrement operationSebastian Huber2013-06-121-4/+4
|
* smp: Add and use _Per_CPU_Lock_acquire()Sebastian Huber2013-06-122-6/+12
| | | | 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
|
* libchip: Use Termios API change for NS16550Sebastian Huber2013-06-121-13/+9
| | | | This avoids a race condition on SMP configurations.
* libchip: Delete superfluous assignmentsSebastian Huber2013-06-121-4/+0
|
* termios: SMP supportSebastian Huber2013-06-122-20/+30
|
* termios: Notify driver about inactive transmitSebastian Huber2013-06-122-0/+9
| | | | | | Returning this state in the return value leads to race conditions on SMP. The inactive state notification must be inside the critical section.
* termios: Expand critical sectionSebastian Huber2013-06-121-8/+4
| | | | | | Use interrupt disable/enable to protect the complete refill state change. This avoids race conditions for the task driven configuration and a later SMP support.
* termios: Move wake up writer task actionSebastian Huber2013-06-121-2/+8
|
* termios: Avoid second return pathSebastian Huber2013-06-121-10/+9
|
* rtems: Add interrupt locksSebastian Huber2013-06-123-0/+322
| | | | | Interrupt locks are low-level lock to protect critical sections accessed by threads and interrupt service routines.
* score: Always provide <rtems/score/smplock.h>Sebastian Huber2013-06-124-8/+12
|
* configure: DocumentationSebastian Huber2013-06-126-6/+17
|
* smp: Fix PowerPC context switchSebastian Huber2013-06-071-1/+1
|
* smp: Set state PER_CPU_STATE_UP on main processorSebastian Huber2013-06-071-4/+6
|
* score: Add and use _Objects_Put()Sebastian Huber2013-06-07114-209/+253
| | | | | | Add and use _Objects_Put_without_thread_dispatch(). These two functions pair with the _Objects_Get() function. This helps to introduce object specific SMP locks to avoid lock contention.
* score: Add _Objects_Put_for_get_isr_disable()Sebastian Huber2013-06-074-0/+23
| | | | | Provide SMP support. The ISR disable/enable is not enough to ensure mutual exclusion for SMP configurations.
* score: Align _Objects_Get_isr_disable()Sebastian Huber2013-06-071-2/+1
| | | | | Align ISR disable/enable sequence in _Objects_Get_isr_disable() with thread dispatch disable/enable sequence in _Objects_Get().
* score: Move thread dispatch content to new fileSebastian Huber2013-06-0725-247/+291
| | | | | | | 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.