summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libfdt: Initial importSebastian Huber2015-10-1619-0/+4219
| | | | | | | | | | | | | | Import from: git://git.kernel.org/pub/scm/utils/dtc/dtc.git Commit: 604e61e081e3c6c8fa1a8189c71cb3908a5bbc1e Date: 2015-09-29T09:09:08Z
* libstdthreads: Add C11 threadsSebastian Huber2015-10-149-75/+53
|
* libstdthreads: Import from FreeBSDSebastian Huber2015-10-145-0/+455
|
* epiphany: Delete CPU_UNROLL_ENQUEUE_PRIORITYSebastian Huber2015-10-071-21/+0
|
* SMP: Optimize ticket lock implementationSebastian Huber2015-10-021-1/+1
| | | | | | | | This reverts the relevant part of commit da06fe948c0878057e5f563ebd3dfe40c0f1b0d2. The acquire/release order is superfluous for the next ticket increment. The mutual exclusion is guaranteed by the acquire load from and release store to the next serving atomic variable.
* powerpc: Use wrtee for e6500 multilibSebastian Huber2015-10-021-0/+17
| | | | This reduces the code size.
* SMP: Fix and optimize thread dispatchingSebastian Huber2015-09-285-70/+66
| | | | | | | | 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.
* SMP: Simplify thread lock operationsSebastian Huber2015-09-281-27/+25
|
* score: Use uintptr_t for atomic pointer operationsSebastian Huber2015-09-262-71/+69
| | | | Do not obfuscate the standard API.
* score: Fix atomic compare exchangeSebastian Huber2015-09-252-5/+21
|
* ARMv7M: Improve exception handler routine and add comments on SP selectionMartin Galvan2015-09-231-11/+21
| | | | | | | | | This patch adds a brief description of how context state is saved into the SP on exception entry, and makes a few changes to _ARMV7M_Exception_default in order to make it a bit more efficient. I also removed the unused 'v7mfsz' input parameter. This should apply over Sudarshan's patch.
* Fix exception handler for supporting FPUSudarshan Rajagopalan2015-09-231-4/+4
|
* score: Fix resource count for self-contained mutexSebastian Huber2015-09-141-2/+3
|
* rbheap: Fix rtems_rbheap_free()Sebastian Huber2015-09-111-21/+16
| | | | | | | Remove unused descriptor of merged free chunks from the free chain and add them to the spare descriptors. Close #2417.
* Upgrade to 4.11.99.0Sebastian Huber2015-09-111-2/+2
|
* score: Implement priority boostingSebastian Huber2015-09-047-6/+124
|
* score: Implement SMP-specific priority queueSebastian Huber2015-09-046-16/+128
|
* score: DocumentationSebastian Huber2015-09-041-2/+29
|
* cpukit/libmisc/dumpbuf/dumpbuf.c: Fix compilation warningsMartin Galvan2015-09-031-1/+1
| | | | | | | | | | Compiling dumpbuf.c causes the following warning to be issued: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] This happens because line_buffer is declared as unsigned. Closes #2411.
* cpukit/libnetworking/rtems/rtems_dhcp.c: Fix compilation errorMartin Galvan2015-09-031-1/+1
| | | | | | | | Apparently 'free' is defined as a macro which takes two arguments and calls rtems_bsdnet_free. When fixing #2405 I added a missing 'free' but didn't notice it was non-standard. Closes #2410.
* cpukit/libmisc/dumpbuf/dumpbuf.c: Fix undefined behavior for sprintf()Martin Galvan2015-09-031-46/+75
| | | | | | | I also used the 'n' versions of the string functions, #define'd magic numbers and added a few comments. Updates #2405.
* cpukit/libnetworking/rtems/rtems_dhcp.c: Fix leak on realloc failure for ↵Martin Galvan2015-09-031-5/+13
| | | | | | dhcp_hostname. Closes #2405.
* various .h files: Add missing C++ extern wrappersMartin Galvan2015-09-032-2/+9
| | | | Updates #2405.
* JFFS2: Use RTEMS red-black tree implementationSebastian Huber2015-09-033-453/+112
|
* rbtree: Add _RBTree_Replace_node()Sebastian Huber2015-09-033-0/+75
|
* rbtree: Replace implementationSebastian Huber2015-09-036-578/+202
| | | | | Use the BSD <sys/tree.h> implementation since it is faster, more flexible and uses less storage. See https://github.com/sebhub/rb-bench.
* score: Optimize thread queue first operationSebastian Huber2015-09-021-5/+10
| | | | | In case the thread queue heads exist, then the queue is not empty. See _Thread_queue_First_locked().
* posix: glibc compatibilitySebastian Huber2015-09-022-8/+6
|
* score: Fix return status of mutex try acquireSebastian Huber2015-09-011-9/+9
| | | | This fixes a copy and paste error (from libbsd).
* arm: Replace __sync_synchronize() implementationSebastian Huber2015-09-011-8/+19
|
* arm: Use compiler memory barrier by defaultSebastian Huber2015-09-011-1/+7
|
* rbtree: Delete rtems_rbtree_find_control()Sebastian Huber2015-09-012-35/+0
| | | | | This function is hard to support in alternative implementations. It has no internal use case.
* rbtree: Delete unused RBTREE_NODE_*() macrosSebastian Huber2015-08-311-12/+0
|
* rbtree: Delete _RBTree_Initialize()Sebastian Huber2015-08-316-79/+58
| | | | This function has no internal use case.
* rbtree: Delete _RBTree_Get()Sebastian Huber2015-08-312-41/+32
| | | | This function has no internal use case.
* rbheap: Drop direction from _RBTree_Iterate()Sebastian Huber2015-08-313-12/+3
|
* rbtree: Delete _RBTree_Is_first()Sebastian Huber2015-08-312-22/+2
|
* rbtree: Add _RBTree_Minimum(), _RBTree_Maximum()Sebastian Huber2015-08-314-12/+38
|
* rbheap: Avoid internal APISebastian Huber2015-08-311-10/+11
|
* posix: Avoid _RBTree_Next()Sebastian Huber2015-08-311-3/+3
|
* Respect 2^32 - 1 B NFSv2 maximum file sizeNick Withers2015-08-061-3/+45
| | | | closes #2384
* Add __synch_synchronize function for armJan Sommer2015-08-012-0/+10
| | | | Fixes link failure when linking Ada programs on the raspberry pi
* score: Add self-contained condition implementationSebastian Huber2015-07-304-0/+314
|
* score: Add scheduler <sys/lock.h> supportSebastian Huber2015-07-302-0/+71
|
* score: Add self-contained futex implementationSebastian Huber2015-07-304-0/+204
|
* score: Add self-contained semaphore implementationSebastian Huber2015-07-304-0/+146
|
* score: Add self-contained mutex implementationSebastian Huber2015-07-304-0/+447
| | | | | | | 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).
* score: Add thread queue for self-contained objectsSebastian Huber2015-07-303-0/+55
|
* score: Use a plain ticket lock for thread locksSebastian Huber2015-07-309-45/+149
| | | | | | This enables external libraries to use thread locks since they are independent of the actual RTEMS build configuration, e.g. profiling enabled or disabled.
* score: Add potpourri lock statisticsSebastian Huber2015-07-303-0/+14
| | | | | | | These SMP lock statistics are used for all lock objects that lack a storage space for the statistics. Examples are lock objects used in external libraries which are independent of the actual RTEMS build configuration.