summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libtests/termios04: Avoid use of freed memorySebastian Huber2015-11-121-7/+35
|
* sapi: Add rtems_chain_get_first_unprotected()Sebastian Huber2015-11-051-0/+7
| | | | Close #2459.
* sptests/spsimplesched02: Fix warningSebastian Huber2015-11-041-1/+1
| | | | Close #2455.
* libblock: Print block sizes and countSebastian Huber2015-11-022-2/+5
|
* CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK was undocumented and not error checkedJoel Sherrill2015-10-271-2/+2
| | | | closes #2431.
* basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber2015-10-266-43/+43
|
* Fail gracefully if pax is not foundBen Gras2015-10-221-1/+5
| | | | | The $(PAX) variable is used unconditionally so it shouldn't be left empty if not found at configure time. Fixes #2437.
* libfdt: Merge into librtemscpuSebastian Huber2015-10-191-2/+1
| | | | This allows BSPs to use this library.
* libfdt: Initial importSebastian Huber2015-10-169-0/+310
| | | | | | | | | | | | | | Import from: git://git.kernel.org/pub/scm/utils/dtc/dtc.git Commit: 604e61e081e3c6c8fa1a8189c71cb3908a5bbc1e Date: 2015-09-29T09:09:08Z
* Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber2015-10-154-8/+0
| | | | This define accidentally re-appeared.
* libstdthreads: Add C11 threadsSebastian Huber2015-10-146-0/+501
|
* SMP: Fix and optimize thread dispatchingSebastian Huber2015-09-281-1/+2
| | | | | | | | According to the C11 and C++11 memory models only a read-modify-write operation guarantees that we read the last value written in modification order. Avoid the sequential consistent thread fence and instead use the inter-processor interrupt to set the thread dispatch necessary indicator.
* score: Use uintptr_t for atomic pointer operationsSebastian Huber2015-09-264-64/+120
| | | | Do not obfuscate the standard API.
* score: Fix atomic compare exchangeSebastian Huber2015-09-251-16/+49
|
* score: Fix resource count for self-contained mutexSebastian Huber2015-09-141-3/+32
|
* 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. Close #2417.
* libtests/rbheap01: SimplifySebastian Huber2015-09-111-172/+95
| | | | Update #2417.
* Upgrade to 4.11.99.0Sebastian Huber2015-09-111-2/+2
|
* score: Implement priority boostingSebastian Huber2015-09-041-5/+56
|
* score: Implement SMP-specific priority queueSebastian Huber2015-09-046-0/+363
|
* rbtree: Replace implementationSebastian Huber2015-09-031-431/+422
| | | | | Use the BSD <sys/tree.h> implementation since it is faster, more flexible and uses less storage. See https://github.com/sebhub/rb-bench.
* posix: glibc compatibilitySebastian Huber2015-09-022-7/+7
|
* psxtests/psxcancel: Check return statusSebastian Huber2015-09-011-10/+24
| | | | Update #2402.
* score: Fix return status of mutex try acquireSebastian Huber2015-09-011-18/+18
| | | | This fixes a copy and paste error (from libbsd).
* 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.
* rbheap: Drop direction from _RBTree_Iterate()Sebastian Huber2015-08-312-6/+3
|
* sptests/sprbtree01: Avoid internal APISebastian Huber2015-08-311-939/+951
|
* sptests/sprbtree01: Fix random ops test caseSebastian Huber2015-08-311-3/+3
|
* score: Add self-contained condition implementationSebastian Huber2015-07-302-0/+113
|
* score: Add scheduler <sys/lock.h> supportSebastian Huber2015-07-302-0/+22
|
* score: Add self-contained futex implementationSebastian Huber2015-07-302-0/+79
|
* score: Add self-contained semaphore implementationSebastian Huber2015-07-302-0/+65
|
* score: Add self-contained mutex implementationSebastian Huber2015-07-306-0/+486
| | | | | | | This mutex implementation uses a thread priority queue with a simple priority inheritance mechanism (similar to the object based mutexes). The storage space must be supplied by the user (16 bytes on 32-bit targets).
* i2c: Fix return status of i2c dev read/writeSebastian Huber2015-07-231-2/+21
|
* score: Introduce Thread_queue_HeadsSebastian Huber2015-07-233-4/+4
| | | | | | | | | | | | | Move the storage for the thread queue heads to the threads. Each thread provides a set of thread queue heads allocated from a dedicated memory pool. In case a thread blocks on a queue, then it lends its heads to the queue. In case the thread unblocks, then it takes a free set of threads from the queue. Since a thread can block on at most one queue this works. This mechanism is used in FreeBSD. The motivation for this change is to reduce the memory demands of the synchronization objects. On a 32-bit uni-processor configuration the Thread_queue_Control size is now 8 bytes, compared to 64 bytes in RTEMS 4.10 (other changes reduced the size as well).
* score: Introduce Thread_queue_QueueSebastian Huber2015-07-231-2/+2
| | | | | | Separate the thread queue heads and lock from the operations. This enables the support for light weight objects which only support one queuing discipline.
* 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
|