summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* score: Add Watchdog_IteratorSebastian Huber2015-05-198-169/+337
| | | | | | | | | | Rewrite the _Watchdog_Insert(), _Watchdog_Remove() and _Watchdog_Tickle() functions to use iterator items to synchronize concurrent operations. This makes it possible to get rid of the global variables _Watchdog_Sync_level and _Watchdog_Sync_count which are a blocking point for scalable SMP solutions. Update #2307.
* score: Add _Watchdog_Acquire|Release|Flash()Sebastian Huber2015-05-196-26/+56
| | | | Update #2307.
* score: Add header to _Watchdog_Remove()Sebastian Huber2015-05-1930-35/+94
| | | | | | | | Add watchdog header parameter to _Watchdog_Remove() to be in line with the other operations. Add _Watchdog_Remove_ticks() and _Watchdog_Remove_seconds() for convenience. Update #2307.
* score: Optimize _Thread_queue_Compare_priority()Sebastian Huber2015-05-191-9/+10
|
* score: Delete STATES_WAITING_ON_THREAD_QUEUESebastian Huber2015-05-193-30/+7
| | | | | | Avoid the usage of the current thread state in _Thread_queue_Extract_with_return_code() since thread queues should not know anything about thread states.
* score: _Thread_queue_Extract()Sebastian Huber2015-05-1912-58/+23
| | | | | Remove thread queue parameter from _Thread_queue_Extract() since the current thread queue is stored in the thread control block.
* score: Add _SMP_Assert()Sebastian Huber2015-05-191-0/+9
|
* score: Fix assertSebastian Huber2015-05-191-2/+4
|
* smptests/smpcache01: RestructureSebastian Huber2015-05-152-109/+105
| | | | Restructure to avoid large maximum thread dispatch disabled times.
* Remove obsolete rtems_clock_major/minorSebastian Huber2015-05-142-31/+0
| | | | | These global variables are obsolete since 65f71f8472fa904ca48b816301ed0810def47001.
* score: Avoid Giant lock in _Objects_Id_to_name()Sebastian Huber2015-05-121-2/+8
| | | | This prevents a deadlock situation in the capture engine.
* score: Fix scheduler helping protocolSebastian Huber2015-05-115-354/+680
| | | | | | Account for priority changes of threads executing in a foreign partition. Exchange idle threads in case a victim node uses an idle thread and the new scheduled node needs an idle thread.
* mrm332-testsuite.tcfg: Add fileioJoel Sherrill2015-05-071-0/+1
|
* sptests/spcontext01: Check FPU task combinationsAlexander Krutwig2015-05-072-12/+43
|
* score: Fix Thread_Control and Thread_Proxy_controlSebastian Huber2015-05-062-59/+84
| | | | | Fix layout of the common block of Thread_Control and Thread_Proxy_control. Ensure that the offsets match.
* score: Delete unused Thread_queue_Timeout_calloutSebastian Huber2015-04-301-9/+0
|
* libmisc/cpuuse: Top support for current load.Chris Johns2015-04-291-195/+541
| | | | | | | | | | | | | | | | | | The cpuuse top command now supports the current load where the list of tasks is ordered based on the current load rather than the total cpu usage. This lets you see what is using the processor at any specific instance. The ability to sort on a range of thread values is now supported. Added memory usage stats for unified and separate workspace and C heaps as well as displaying the allocated stack space. Added a few more command keys to refresh the display, show all tasks in the system, control the lines display and a scrolling mode that does not clear the display on each refresh. Removed support for tick kernel builds. The tick support in the kernel is to be removed.
* sptests/spstkalloc02: Fix namespace issueSebastian Huber2015-04-271-3/+3
| | | | Avoid collision with <sys/param.h> defined PAGE_SIZE.
* bsps/sparc: Use inline functions for cache managerSebastian Huber2015-04-273-46/+32
|
* bsps/cache: Clarify range functions supportSebastian Huber2015-04-272-4/+6
|
* Fix broken BSPs due to a shared cache function declaration.Hesham ALMatary2015-04-271-1/+0
| | | | | Get rid of _CPU_cache_invalidate_instruction_range declaration as it doesn't make sense here.
* dosfs: Fix warning fixSebastian Huber2015-04-271-1/+1
|
* Fix or1k C++ build failureHesham ALMatary2015-04-261-0/+7
| | | | Closes #2329
* posix: Use right thread dispatch disable functionSebastian Huber2015-04-241-1/+1
|
* score: Fix POSIX thread joinSebastian Huber2015-04-233-2/+5
| | | | | | | | | | | | A thread join is twofold. There is one thread that exists and an arbitrary number of threads that wait for the thread exit (one-to-many relation). The exiting thread may want to wait for a thread that wants to join its exit (STATES_WAITING_FOR_JOIN_AT_EXIT in _POSIX_Thread_Exit()). On the other side we need a thread queue for all the threads that wait for the exit of one particular thread (STATES_WAITING_FOR_JOIN in pthread_join()). Update #2035.
* sp13/system.h: Account for all message buffersJoel Sherrill2015-04-231-2/+2
| | | | | | | There may be a way to reduce the memory requirements but it will require time to ensure the math is right and it passes on all targets. At the current time, it fails on 22 BSPs which run on simulators.
* simsh*.tcfg: Add iostreamJoel Sherrill2015-04-234-0/+4
|
* gensh2-testsuite.tcfg: Add iostreamJoel Sherrill2015-04-231-0/+1
|
* gensh1-testsuite.tcfg: Add iostreamJoel Sherrill2015-04-231-0/+1
|
* mbx8xx/include/bsp.h: Add include of <rtems/irq.h>Joel Sherrill2015-04-231-0/+1
|
* ods68302-testsuite.tcfg: Add iosteamJoel Sherrill2015-04-231-0/+1
|
* mrm332-testsuite.tcfg: Add iostream and sptls02Joel Sherrill2015-04-231-0/+2
|
* mcf5225x-testsuite.tcfg: Add iostreamJoel Sherrill2015-04-231-0/+1
|
* lpc1768_mbed_ahb_ram_eth-testsuite.tcfg: Add sptls02Joel Sherrill2015-04-231-0/+1
|
* lm3s3749-testsuite.tcfg: Add cdtestJoel Sherrill2015-04-232-0/+2
|
* score: Delete _Thread_queue_Dequeue_priority()Sebastian Huber2015-04-231-19/+0
|
* score: _CORE_mutex_Seize_interrupt_blocking()Sebastian Huber2015-04-232-7/+15
| | | | | Move some code into _CORE_mutex_Seize_interrupt_blocking() so that the thread queue handling is in one place.
* score: Delete Thread_queue_Control::stateSebastian Huber2015-04-2328-62/+65
| | | | | Use a parameter for _Thread_queue_Enqueue() instead to reduce memory usage.
* score: Fix priority message queue insertSebastian Huber2015-04-232-95/+44
| | | | | | | | Move the linear search into a critical section to avoid corruption due to higher priority interrupts. The interrupt disable time depends now on the count of pending messages. Close #2328.
* score: Delete _CORE_RWLock_Timeout()Sebastian Huber2015-04-227-92/+14
| | | | | This function was identical to _Thread_queue_Timeout(). This makes _Thread_queue_Enqueue_with_handler() obsolete.
* score: Delete bogus THREAD_QUEUE_WAIT_FOREVERSebastian Huber2015-04-228-12/+7
| | | | | It makes no sense to use this indirection since the type for timeout values is Watchdog_Interval.
* smptests/smpcache01: Enable interrupts before waiting for other CPUsDaniel Cederman2015-04-221-2/+2
| | | | | Otherwise there is a risk that a CPU misses a cache manager message from another CPU and the test hangs.
* score: Delete object control block ISR lockSebastian Huber2015-04-216-181/+1
| | | | | | | The Objects_Control::Lock was a software layer violation. It worked only for the threads since they are somewhat special. Update #2273.
* score: Add _Thread_Get_interrupt_disable()Sebastian Huber2015-04-2110-108/+145
| | | | | | | | | | Remove _Thread_Acquire() and _Thread_Acquire_for_executing(). Add utility functions for the default thread lock. Use the default thread lock for the RTEMS events. There is no need to disable thread dispatching and a Giant acquire in _Event_Timeout() since this was already done by the caller. Update #2273.
* score: Modify _Thread_Dispatch_disable_critical()Sebastian Huber2015-04-212-9/+11
| | | | | Return the current processor to be in line with _Thread_Disable_dispatch().
* score: _Objects_Get_isr_disable()Sebastian Huber2015-04-214-9/+14
| | | | | | | | Do not disable thread dispatching and do not acquire the Giant lock. This makes it possible to use this object get variant for fine grained locking. Update #2273.
* score: _Objects_Get_isr_disable()Sebastian Huber2015-04-2111-55/+65
| | | | | | | Use ISR_lock_Context instead of ISR_Level to allow use of ISR locks for low-level locking. Update #2273.
* score: Add _ISR_lock_ISR_disable/enable()Sebastian Huber2015-04-203-2/+44
|
* score: Refactor SMP cache manager supportSebastian Huber2015-04-205-197/+224
|
* Rename or1ksim BSP to generic_or1kHesham ALMatary2015-04-1924-255/+255
| | | | | | | or1ksim BSP was initially named after or1ksim simulator, and it was intented to only run there. But now it can also run on QEMU, jor1k and real FPGA boards without modifications. It makes more sense to give it a new generic name like generic_or1k.