summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* sptests/spcontext01: Improve outputSebastian Huber2015-06-032-10/+20
|
* smptests/smpscheduler02: Reduce required CPU countSebastian Huber2015-06-031-41/+50
|
* smptests/smpmrsp01: Reduce required CPU countSebastian Huber2015-06-031-8/+13
|
* smptests/smpscheduler03: Use proper lockSebastian Huber2015-06-031-9/+9
|
* tmtests/tm26: Fix context switch to FP taskSebastian Huber2015-05-291-3/+0
| | | | | | | It is wrong to restore the floating point context here. The _Context_Switch() ends up in _Thread_Handler() which will call _Thread_Restore_fp(). In _Thread_Do_dispatch() the FP restore is after the context switch.
* Revert "tmtests/tm26: Avoid NULL pointer access"Sebastian Huber2015-05-291-0/+3
| | | | | | | There is no NULL pointer access. Please note that _Thread_Get_executing() != executing variable in Low_task(). This reverts commit 5611839a7e2e371dd1f327c336c785095f634e55.
* tmtests/tm26: Avoid NULL pointer accessSebastian Huber2015-05-291-3/+0
|
* libtests/i2c01: Avoid stack overflowSebastian Huber2015-05-271-0/+2
|
* score: Replace _API_Mutex_Is_locked()Sebastian Huber2015-05-271-26/+19
| | | | Replace _API_Mutex_Is_locked() with _API_Mutex_Is_owner().
* jffs2: Move into separate librarySebastian Huber2015-05-278-8/+16
| | | | | | | In case the zlib compression was used, then the librtemscpu.a depended on libz.a. To avoid a GCC patch or complicated link flags move the JFFS2 support into a separate library to use a simple "-ljffs2 -lz" to link the executable.
* sptests/spcontext01: Test deferred FP contextAlexander Krutwig2015-05-262-20/+47
|
* timecounter: Use in RTEMSAlexander Krutwig2015-05-208-11/+348
| | | | | | | | Replace timestamp implementation with FreeBSD bintime and timecounters. New test sptests/sptimecounter02. Update #2271.
* timecounter: Port to RTEMSAlexander Krutwig2015-05-206-0/+185
| | | | | | New test sptests/timecounter01. Update #2271.
* smptests/smpscheduler03: RestructureSebastian Huber2015-05-191-41/+42
| | | | Restructure to avoid large maximum thread dispatch disabled times.
* psxualarm: Avoid endless signal handlingSebastian Huber2015-05-191-2/+2
| | | | Increase the ualarm timer interval to avoid endless signal handling.
* score: Add static initializers for thread queuesSebastian Huber2015-05-191-0/+14
|
* score: Remove Giant lock in rtems_clock_tick()Sebastian Huber2015-05-191-4/+0
| | | | Update #2307.
* score: Rework _Thread_Change_priority()Sebastian Huber2015-05-191-19/+43
| | | | | | | | | | | | | Move the writes to Thread_Control::current_priority and Thread_Control::real_priority into _Thread_Change_priority() under the protection of the thread lock. Add a filter function to _Thread_Change_priority() to enable specialized variants. Avoid race conditions during a thread priority restore with the new Thread_Control::priority_restore_hint for an important average case optimizations used by priority inheritance mutexes. Update #2273.
* score: New thread queue implementationSebastian Huber2015-05-195-67/+54
| | | | | | | | | Use thread wait flags for synchronization. The enqueue operation is now part of the initial critical section. This is the key change and enables fine grained locking on SMP for objects using a thread queue like semaphores and message queues. Update #2273.
* score: Add Thread_queue_OperationsSebastian Huber2015-05-191-2/+2
| | | | | | | | Replace the Thread_Priority_control with more general Thread_queue_Operations which will be used for generic priority change, timeout, signal and wait queue operations in the future. Update #2273.
* score: Generalize _Event_Timeout()Sebastian Huber2015-05-191-3/+3
| | | | | | | Add a thread wait timeout code. Replace _Event_Timeout() with a general purpose _Thread_Timeout() watchdog handler. Update #2273.
* score: Reduce thread wait statesSebastian Huber2015-05-191-3/+3
| | | | | | | | | | Merge THREAD_WAIT_STATE_SATISFIED, THREAD_WAIT_STATE_TIMEOUT, THREAD_WAIT_STATE_INTERRUPT_SATISFIED, and THREAD_WAIT_STATE_INTERRUPT_TIMEOUT into one state THREAD_WAIT_STATE_READY_AGAIN. This helps to write generic routines to block a thread. Update #2273.
* score: New timer server implementationSebastian Huber2015-05-192-110/+59
| | | | | | | | Use mostly the standard watchdog operations. Use a system event for synchronization. This implementation is simpler and offers better SMP performance. Close #2131.
* score: Add Watchdog_IteratorSebastian Huber2015-05-192-3/+115
| | | | | | | | | | 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 header to _Watchdog_Remove()Sebastian Huber2015-05-192-2/+2
| | | | | | | | 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: _Thread_queue_Extract()Sebastian Huber2015-05-191-25/+4
| | | | | Remove thread queue parameter from _Thread_queue_Extract() since the current thread queue is stored in the thread control block.
* smptests/smpcache01: RestructureSebastian Huber2015-05-152-109/+105
| | | | Restructure to avoid large maximum thread dispatch disabled times.
* score: Fix scheduler helping protocolSebastian Huber2015-05-112-250/+478
| | | | | | 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.
* sptests/spcontext01: Check FPU task combinationsAlexander Krutwig2015-05-072-12/+43
|
* sptests/spstkalloc02: Fix namespace issueSebastian Huber2015-04-271-3/+3
| | | | Avoid collision with <sys/param.h> defined PAGE_SIZE.
* 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.
* score: Delete Thread_queue_Control::stateSebastian Huber2015-04-231-1/+1
| | | | | Use a parameter for _Thread_queue_Enqueue() instead to reduce memory usage.
* 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: Add _Thread_Get_interrupt_disable()Sebastian Huber2015-04-211-6/+6
| | | | | | | | | | 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: Add _ISR_lock_ISR_disable/enable()Sebastian Huber2015-04-201-0/+6
|
* score: Refactor SMP cache manager supportSebastian Huber2015-04-201-17/+6
|
* sp13: Document message buffer usage and adjust configurationJoel Sherrill2015-04-171-5/+26
|
* sptests/sp52: Reduce clock tick intervalSebastian Huber2015-04-171-0/+2
| | | | This helps on slow simulators.
* score: Fix _TOD_Set_with_timestamp()Sebastian Huber2015-04-171-15/+20
| | | | | Update the current time before the watchdog adjust so that timer routines observe the new time.
* sptests/sp68: Avoid use of internal variablesSebastian Huber2015-04-161-10/+12
|
* score: Add _ISR_lock_Flash()Sebastian Huber2015-04-161-0/+2
|
* spcpuset01: Reduce output to reduce run-timeJoel Sherrill2015-04-144-4045/+12
|
* sp13: Update configuration to account for messages on fourth message queueJoel Sherrill2015-04-142-1/+6
|
* Add test assertion for allocator mutex being unlockedJoel Sherrill2015-04-143-20/+54
| | | | | | | | | | The Allocator Mutex should not be locked outside a tested service call. In an SMP test or heavily multithreaded test, this is possible since another thread could have the lock for an extended period of time but this is not the norm for the tests. updates 2319.
* score: Add Watchdog_HeaderSebastian Huber2015-04-133-8/+8
| | | | | | | This type is intended to encapsulate all state to manage a watchdog chain. Update #2307.
* rtems: Atomically suspend/resume tasksSebastian Huber2015-04-081-1/+1
|
* fstests/fsfseeko01: Fix for long == off_tSebastian Huber2015-04-081-4/+11
| | | | Close #2317.
* disable-intrcritical-tests.tcfg: New fileJoel Sherrill2015-04-011-0/+30
| | | | | | This file contains the list of interrupt critical section tests. There are some simulators these are unreliable on so they should just be ignored.
* psxtmtests: Use timeout in more distant futureAlexander Krutwig2015-03-311-2/+3
| | | | Adds future compatibility with strict monontonic software timestamps.
* fstests: Increase stack size for symlink loop testAlexander Krutwig2015-03-311-1/+1
|