summaryrefslogtreecommitdiffstats
path: root/testsuites (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-11-12libtests/termios04: Avoid use of freed memorySebastian Huber1-7/+35
2015-11-05sapi: Add rtems_chain_get_first_unprotected()Sebastian Huber1-0/+7
Close #2459.
2015-11-04sptests/spsimplesched02: Fix warningSebastian Huber1-1/+1
Close #2455.
2015-11-02libblock: Print block sizes and countSebastian Huber2-2/+5
2015-10-27CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK was undocumented and not error checkedJoel Sherrill1-2/+2
closes #2431.
2015-10-26basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber6-43/+43
2015-10-22Fail 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-10-19libfdt: Merge into librtemscpuSebastian Huber1-2/+1
This allows BSPs to use this library.
2015-10-16libfdt: Initial importSebastian Huber9-0/+310
Import from: git://git.kernel.org/pub/scm/utils/dtc/dtc.git Commit: 604e61e081e3c6c8fa1a8189c71cb3908a5bbc1e Date: 2015-09-29T09:09:08Z
2015-10-15Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber4-8/+0
This define accidentally re-appeared.
2015-10-14libstdthreads: Add C11 threadsSebastian Huber6-0/+501
2015-09-28SMP: Fix and optimize thread dispatchingSebastian Huber1-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.
2015-09-26score: Use uintptr_t for atomic pointer operationsSebastian Huber4-64/+120
Do not obfuscate the standard API.
2015-09-25score: Fix atomic compare exchangeSebastian Huber1-16/+49
2015-09-14score: Fix resource count for self-contained mutexSebastian Huber1-3/+32
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. Close #2417.
2015-09-11libtests/rbheap01: SimplifySebastian Huber1-172/+95
Update #2417.
2015-09-11 Upgrade to 4.11.99.0Sebastian Huber1-2/+2
2015-09-04score: Implement priority boostingSebastian Huber1-5/+56
2015-09-04score: Implement SMP-specific priority queueSebastian Huber6-0/+363
2015-09-03rbtree: Replace implementationSebastian Huber1-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.
2015-09-02posix: glibc compatibilitySebastian Huber2-7/+7
2015-09-01psxtests/psxcancel: Check return statusSebastian Huber1-10/+24
Update #2402.
2015-09-01score: Fix return status of mutex try acquireSebastian Huber1-18/+18
This fixes a copy and paste error (from libbsd).
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-08-31rbheap: Drop direction from _RBTree_Iterate()Sebastian Huber2-6/+3
2015-08-31sptests/sprbtree01: Avoid internal APISebastian Huber1-939/+951
2015-08-31sptests/sprbtree01: Fix random ops test caseSebastian Huber1-3/+3
2015-07-30score: Add self-contained condition implementationSebastian Huber2-0/+113
2015-07-30score: Add scheduler <sys/lock.h> supportSebastian Huber2-0/+22
2015-07-30score: Add self-contained futex implementationSebastian Huber2-0/+79
2015-07-30score: Add self-contained semaphore implementationSebastian Huber2-0/+65
2015-07-30score: Add self-contained mutex implementationSebastian Huber6-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).
2015-07-23i2c: Fix return status of i2c dev read/writeSebastian Huber1-2/+21
2015-07-23score: Introduce Thread_queue_HeadsSebastian Huber3-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).
2015-07-23score: Introduce Thread_queue_QueueSebastian Huber1-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.
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