summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* dosfs: Fix msdos_find_file_in_directory()Sebastian Huber2017-02-141-0/+22
| | | | | | For a filename match the entry must match without anything remaining. Update #2908.
* Change version to 4.11.1.99Sebastian Huber2017-01-261-1/+1
| | | | Update #2886.
* sptests/spclock_err02: Update screen fileSebastian Huber2016-11-021-18/+22
|
* posix: Fix pthread_spin_unlock() error statusSebastian Huber2016-05-252-5/+11
| | | | Update #2719.
* posix: Fix return states of pthread_kill()Sebastian Huber2016-05-171-6/+2
| | | | | | POSIX mandates that an error code is returned and not -1 plus errno. Update #2715.
* posix: Fix return status of pthread_cancel()Sebastian Huber2016-05-171-2/+2
| | | | | | | POSIX recommends ESRCH in case no thread exists for the specified identifier. Update #2713.
* smptests/README: Delete obsolete informationSebastian Huber2016-01-111-5/+0
|
* score: Fix watchdog insertSebastian Huber2016-01-051-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.
* score: Fix watchdog removalSebastian Huber2015-12-211-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.
* CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK was undocumented and not error checkedJoel Sherrill2015-10-271-2/+2
| | | | closes #2431.
* Fail gracefully if pax is not foundBen Gras2015-10-231-1/+5
| | | | | The $(PAX) variable is used unconditionally so it shouldn't be left empty if not found at configure time. Fixes #2437.
* rbheap: Fix rtems_rbheap_free()Sebastian Huber2015-09-111-0/+5
| | | | | | | Remove unused descriptor of merged free chunks from the free chain and add them to the spare descriptors. Update #2417.
* libtests/rbheap01: SimplifySebastian Huber2015-09-111-172/+95
| | | | Update #2417.
* rbtree: Delete rtems_rbtree_find_control()Sebastian Huber2015-09-011-7/+0
| | | | | This function is hard to support in alternative implementations. It has no internal use case.
* i2c: Fix return status of i2c dev read/writeSebastian Huber2015-07-231-2/+21
|
* score: TypoSebastian Huber2015-07-131-1/+1
|
* score: Accept NULL pointer in _Freechain_Put()Sebastian Huber2015-07-011-0/+2
| | | | With this a _Freechain_Put( _Freechain_Get() ) works always.
* score: Freechain handler API changesSebastian Huber2015-07-012-152/+19
| | | | | Replace the extend function with an allocator since this fits better to the current use case.
* score: Hide SMP lock profiling impl if disabledSebastian Huber2015-06-261-2/+2
| | | | The problem is that empty structures have a different size in C and C++.
* libmisc: Simplify <rtems/stackchk.h>Sebastian Huber2015-06-261-0/+1
| | | | | Drop the <rtems/score/percpu.h> include since this file exposes a lot of implementation details.
* rtems: Add rtems_interrupt_local_disable|enable()Sebastian Huber2015-06-226-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.
* tmtests/tm27: Use scheduler lockSebastian Huber2015-06-191-10/+5
|
* sptests/sp37: Fix type and simplifySebastian Huber2015-06-191-15/+7
|
* Remove use ticks for statistics configure option.Joel Sherrill2015-06-151-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.
* score: Add _Watchdog_Preinitialize()Sebastian Huber2015-06-131-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.
* sptests/sptasknopreempt01: New testSebastian Huber2015-06-126-0/+130
| | | | Update #2365.
* sptests/sptimecounter03: New testSebastian Huber2015-06-096-0/+144
|
* sptests/spcontext01: Add second volatile clobberSebastian Huber2015-06-091-1/+10
| | | | | Do a volatile clobber in the context switch extension to cover the path through _Thread_Do_dispatch() invoked after interrupt processing.
* 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.