Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sparc in_cksum: Use __sparc__ which is available in -ansi mode | Joel Sherrill | 2013-06-20 | 2 | -2/+2 |
| | |||||
* | bsps/arm: Fix some GIC functions | Ric Claus | 2013-06-20 | 1 | -2/+3 |
| | |||||
* | bsps/arm: Set vector base address if necessary | Sebastian Huber | 2013-06-20 | 4 | -0/+78 |
| | |||||
* | greth: do not advertise 1000M capability if MAC does not support it. | Jiri Gaisler | 2013-06-19 | 1 | -0/+11 |
| | |||||
* | greth: prefer full duplex if available | Jiri Gaisler | 2013-06-19 | 1 | -3/+3 |
| | |||||
* | Added in_cksum_sparc.h to optimize IP checksum calculations for SPARC. | Jiri Gaisler | 2013-06-19 | 2 | -0/+312 |
| | |||||
* | bsp/xilinx-zynq: Use magic UART baud divisor | Sebastian Huber | 2013-06-19 | 1 | -2/+2 |
| | | | | Use a baud divisor suitable for the evaluation board. | ||||
* | bsp/xilinx-zynq: Do not start transmitter break | Sebastian Huber | 2013-06-19 | 1 | -1/+0 |
| | |||||
* | Update from automake-1.13.3. | Ralf Corsépius | 2013-06-18 | 2 | -66/+81 |
| | |||||
* | bsp/xilinx-zynq: Use second UART for console | Sebastian Huber | 2013-06-18 | 1 | -1/+1 |
| | | | | This is in now line with the evaluation board. | ||||
* | smptests/smpschedule01: Update due to API change | Sebastian Huber | 2013-06-17 | 1 | -1/+1 |
| | |||||
* | Revert "sptests/sp02: Fix maximum task count" | Sebastian Huber | 2013-06-17 | 1 | -1/+1 |
| | | | | | | This reverts commit 6f8adb073b0c1b4d2a638f99710fda4e99938332. The resource count was correct. | ||||
* | bsps: Provide simple console selection | Sebastian Huber | 2013-06-17 | 3 | -1/+26 |
| | |||||
* | bsps: Add missing include | Sebastian Huber | 2013-06-17 | 1 | -0/+2 |
| | |||||
* | documentation: Fix Doxygen comments | Sebastian Huber | 2013-06-14 | 10 | -28/+28 |
| | |||||
* | smptests/smpschedule01: New test | Sebastian Huber | 2013-06-14 | 6 | -0/+246 |
| | |||||
* | scheduler: New simple SMP scheduler implementation | Sebastian Huber | 2013-06-14 | 12 | -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 scheduler | Sebastian Huber | 2013-06-14 | 3 | -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 Huber | 2013-06-14 | 9 | -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 operation | Sebastian Huber | 2013-06-14 | 12 | -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 operation | Sebastian Huber | 2013-06-14 | 13 | -14/+96 |
| | | | | Add and use _Scheduler_Start_idle(). | ||||
* | score: Simplify _Thread_Create_idle() | Sebastian Huber | 2013-06-14 | 1 | -23/+12 |
| | |||||
* | score: Rename rtems_smp_get_number_of_processors() | Sebastian Huber | 2013-06-14 | 28 | -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 Huber | 2013-06-14 | 2 | -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 Huber | 2013-06-14 | 17 | -59/+32 |
| | | | | | Delete _Thread_Dispatch_in_critical_section() and _Thread_Is_dispatching_enabled(). | ||||
* | score: Add _Chain_Insert_ordered_unprotected() | Sebastian Huber | 2013-06-14 | 4 | -0/+77 |
| | |||||
* | rtems: Simplify rtems_task_mode() | Sebastian Huber | 2013-06-14 | 1 | -6/+4 |
| | |||||
* | sptests/sp02: Fix maximum task count | Sebastian Huber | 2013-06-14 | 1 | -1/+1 |
| | |||||
* | Make the default values easier for the configuration GUI to parse | Cynthia Rempel | 2013-06-12 | 1 | -91/+94 |
| | |||||
* | smp: Fix _Thread_Dispatch_decrement_disable_level | Sebastian Huber | 2013-06-12 | 1 | -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 operation | Sebastian Huber | 2013-06-12 | 1 | -4/+4 |
| | |||||
* | smp: Add and use _Per_CPU_Lock_acquire() | Sebastian Huber | 2013-06-12 | 2 | -6/+12 |
| | | | | Add and use _Per_CPU_Lock_release(). | ||||
* | score: Avoid cyclic include dependency | Sebastian Huber | 2013-06-12 | 1 | -1/+2 |
| | |||||
* | score: Add missing include | Sebastian Huber | 2013-06-12 | 1 | -0/+1 |
| | |||||
* | libchip: Use Termios API change for NS16550 | Sebastian Huber | 2013-06-12 | 1 | -13/+9 |
| | | | | This avoids a race condition on SMP configurations. | ||||
* | libchip: Delete superfluous assignments | Sebastian Huber | 2013-06-12 | 1 | -4/+0 |
| | |||||
* | termios: SMP support | Sebastian Huber | 2013-06-12 | 2 | -20/+30 |
| | |||||
* | termios: Notify driver about inactive transmit | Sebastian Huber | 2013-06-12 | 2 | -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 section | Sebastian Huber | 2013-06-12 | 1 | -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 action | Sebastian Huber | 2013-06-12 | 1 | -2/+8 |
| | |||||
* | termios: Avoid second return path | Sebastian Huber | 2013-06-12 | 1 | -10/+9 |
| | |||||
* | rtems: Add interrupt locks | Sebastian Huber | 2013-06-12 | 3 | -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 Huber | 2013-06-12 | 4 | -8/+12 |
| | |||||
* | configure: Documentation | Sebastian Huber | 2013-06-12 | 6 | -6/+17 |
| | |||||
* | smp: Fix PowerPC context switch | Sebastian Huber | 2013-06-07 | 1 | -1/+1 |
| | |||||
* | smp: Set state PER_CPU_STATE_UP on main processor | Sebastian Huber | 2013-06-07 | 1 | -4/+6 |
| | |||||
* | score: Add and use _Objects_Put() | Sebastian Huber | 2013-06-07 | 114 | -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 Huber | 2013-06-07 | 4 | -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 Huber | 2013-06-07 | 1 | -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 file | Sebastian Huber | 2013-06-07 | 25 | -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. |