summaryrefslogtreecommitdiffstats
path: root/testsuites (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-02-14dosfs: Fix msdos_find_file_in_directory()Sebastian Huber1-0/+22
For a filename match the entry must match without anything remaining. Update #2908.
2017-01-26Change version to 4.11.1.99Sebastian Huber1-1/+1
Update #2886.
2016-11-02sptests/spclock_err02: Update screen fileSebastian Huber1-18/+22
2016-05-25posix: Fix pthread_spin_unlock() error statusSebastian Huber2-5/+11
Update #2719.
2016-05-17posix: Fix return states of pthread_kill()Sebastian Huber1-6/+2
POSIX mandates that an error code is returned and not -1 plus errno. Update #2715.
2016-05-17posix: Fix return status of pthread_cancel()Sebastian Huber1-2/+2
POSIX recommends ESRCH in case no thread exists for the specified identifier. Update #2713.
2016-01-11smptests/README: Delete obsolete informationSebastian Huber1-5/+0
2016-01-05score: Fix watchdog insertSebastian Huber1-4/+44
Under certain conditions a new watchdog was inserted with a wrong and very large delta interval due to a wrong iterator update. Bug was introduced by 1ccbd052910ed16131c74b0d5595c8a94066942d. Close #2507.
2015-12-21score: Fix watchdog removalSebastian Huber1-5/+57
Under certain conditions a new watchdog was inserted with a wrong and very large delta interval due to an incomplete iterator update. Bug was introduced by 1ccbd052910ed16131c74b0d5595c8a94066942d. Close #2501.
2015-10-27CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK was undocumented and not error checkedJoel Sherrill1-2/+2
closes #2431.
2015-10-23Fail gracefully if pax is not foundBen Gras1-1/+5
The $(PAX) variable is used unconditionally so it shouldn't be left empty if not found at configure time. Fixes #2437.
2015-09-11rbheap: Fix rtems_rbheap_free()Sebastian Huber1-0/+5
Remove unused descriptor of merged free chunks from the free chain and add them to the spare descriptors. Update #2417.
2015-09-11libtests/rbheap01: SimplifySebastian Huber1-172/+95
Update #2417.
2015-09-01rbtree: Delete rtems_rbtree_find_control()Sebastian Huber1-7/+0
This function is hard to support in alternative implementations. It has no internal use case.
2015-07-23i2c: Fix return status of i2c dev read/writeSebastian Huber1-2/+21
2015-07-13score: TypoSebastian Huber1-1/+1
2015-07-01score: Accept NULL pointer in _Freechain_Put()Sebastian Huber1-0/+2
With this a _Freechain_Put( _Freechain_Get() ) works always.
2015-07-01score: Freechain handler API changesSebastian Huber2-152/+19
Replace the extend function with an allocator since this fits better to the current use case.
2015-06-26score: Hide SMP lock profiling impl if disabledSebastian Huber1-2/+2
The problem is that empty structures have a different size in C and C++.
2015-06-26libmisc: Simplify <rtems/stackchk.h>Sebastian Huber1-0/+1
Drop the <rtems/score/percpu.h> include since this file exposes a lot of implementation details.
2015-06-22rtems: Add rtems_interrupt_local_disable|enable()Sebastian Huber6-81/+101
Add rtems_interrupt_local_disable|enable() as suggested by Pavel Pisa to emphasize that interrupts are only disabled on the current processor. Do not define the rtems_interrupt_disable|enable|flash() macros and functions on SMP configurations since they don't ensure system wide mutual exclusion.
2015-06-19tmtests/tm27: Use scheduler lockSebastian Huber1-10/+5
2015-06-19sptests/sp37: Fix type and simplifySebastian Huber1-15/+7
2015-06-15Remove use ticks for statistics configure option.Joel Sherrill1-42/+22
This was obsolete and broken based upon recent time keeping changes. Thie build option was previously enabled by adding USE_TICKS_FOR_STATISTICS=1 to the configure command line. This propagated into the code as preprocessor conditionals using the __RTEMS_USE_TICKS_FOR_STATISTICS__ conditional.
2015-06-13score: Add _Watchdog_Preinitialize()Sebastian Huber1-4/+4
Add an assert to ensure that the watchdog is the proper state for a _Watchdog_Initialize(). This helps to detect invalid initializations which may lead to a corrupt watchdog chain.
2015-06-12sptests/sptasknopreempt01: New testSebastian Huber6-0/+130
Update #2365.
2015-06-09sptests/sptimecounter03: New testSebastian Huber6-0/+144
2015-06-09sptests/spcontext01: Add second volatile clobberSebastian Huber1-1/+10
Do a volatile clobber in the context switch extension to cover the path through _Thread_Do_dispatch() invoked after interrupt processing.
2015-06-03sptests/spcontext01: Improve outputSebastian Huber2-10/+20
2015-06-03smptests/smpscheduler02: Reduce required CPU countSebastian Huber1-41/+50
2015-06-03smptests/smpmrsp01: Reduce required CPU countSebastian Huber1-8/+13
2015-06-03smptests/smpscheduler03: Use proper lockSebastian Huber1-9/+9
2015-05-29tmtests/tm26: Fix context switch to FP taskSebastian Huber1-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.
2015-05-29Revert "tmtests/tm26: Avoid NULL pointer access"Sebastian Huber1-0/+3
There is no NULL pointer access. Please note that _Thread_Get_executing() != executing variable in Low_task(). This reverts commit 5611839a7e2e371dd1f327c336c785095f634e55.
2015-05-29tmtests/tm26: Avoid NULL pointer accessSebastian Huber1-3/+0
2015-05-27libtests/i2c01: Avoid stack overflowSebastian Huber1-0/+2
2015-05-27score: Replace _API_Mutex_Is_locked()Sebastian Huber1-26/+19
Replace _API_Mutex_Is_locked() with _API_Mutex_Is_owner().
2015-05-27jffs2: Move into separate librarySebastian Huber8-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.
2015-05-26sptests/spcontext01: Test deferred FP contextAlexander Krutwig2-20/+47
2015-05-20timecounter: Use in RTEMSAlexander Krutwig8-11/+348
Replace timestamp implementation with FreeBSD bintime and timecounters. New test sptests/sptimecounter02. Update #2271.
2015-05-20timecounter: Port to RTEMSAlexander Krutwig6-0/+185
New test sptests/timecounter01. Update #2271.
2015-05-19smptests/smpscheduler03: RestructureSebastian Huber1-41/+42
Restructure to avoid large maximum thread dispatch disabled times.
2015-05-19psxualarm: Avoid endless signal handlingSebastian Huber1-2/+2
Increase the ualarm timer interval to avoid endless signal handling.
2015-05-19score: Add static initializers for thread queuesSebastian Huber1-0/+14
2015-05-19score: Remove Giant lock in rtems_clock_tick()Sebastian Huber1-4/+0
Update #2307.
2015-05-19score: Rework _Thread_Change_priority()Sebastian Huber1-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.
2015-05-19score: New thread queue implementationSebastian Huber5-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.
2015-05-19score: Add Thread_queue_OperationsSebastian Huber1-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.
2015-05-19score: Generalize _Event_Timeout()Sebastian Huber1-3/+3
Add a thread wait timeout code. Replace _Event_Timeout() with a general purpose _Thread_Timeout() watchdog handler. Update #2273.
2015-05-19score: Reduce thread wait statesSebastian Huber1-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.