summaryrefslogtreecommitdiffstats
path: root/cpukit (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-16libfdt: Initial importSebastian Huber19-0/+4219
Import from: git://git.kernel.org/pub/scm/utils/dtc/dtc.git Commit: 604e61e081e3c6c8fa1a8189c71cb3908a5bbc1e Date: 2015-09-29T09:09:08Z
2015-10-14libstdthreads: Add C11 threadsSebastian Huber9-75/+53
2015-10-14libstdthreads: Import from FreeBSDSebastian Huber5-0/+455
2015-10-07epiphany: Delete CPU_UNROLL_ENQUEUE_PRIORITYSebastian Huber1-21/+0
2015-10-02SMP: Optimize ticket lock implementationSebastian Huber1-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.
2015-10-02powerpc: Use wrtee for e6500 multilibSebastian Huber1-0/+17
This reduces the code size.
2015-09-28SMP: Fix and optimize thread dispatchingSebastian Huber5-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.
2015-09-28SMP: Simplify thread lock operationsSebastian Huber1-27/+25
2015-09-26score: Use uintptr_t for atomic pointer operationsSebastian Huber2-71/+69
Do not obfuscate the standard API.
2015-09-25score: Fix atomic compare exchangeSebastian Huber2-5/+21
2015-09-23ARMv7M: Improve exception handler routine and add comments on SP selectionMartin Galvan1-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.
2015-09-23Fix exception handler for supporting FPUSudarshan Rajagopalan1-4/+4
2015-09-14score: Fix resource count for self-contained mutexSebastian Huber1-2/+3
2015-09-11rbheap: Fix rtems_rbheap_free()Sebastian Huber1-21/+16
Remove unused descriptor of merged free chunks from the free chain and add them to the spare descriptors. Close #2417.
2015-09-11 Upgrade to 4.11.99.0Sebastian Huber1-2/+2
2015-09-04score: Implement priority boostingSebastian Huber7-6/+124
2015-09-04score: Implement SMP-specific priority queueSebastian Huber6-16/+128
2015-09-04score: DocumentationSebastian Huber1-2/+29
2015-09-03cpukit/libmisc/dumpbuf/dumpbuf.c: Fix compilation warningsMartin Galvan1-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.
2015-09-03cpukit/libnetworking/rtems/rtems_dhcp.c: Fix compilation errorMartin Galvan1-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.
2015-09-03cpukit/libmisc/dumpbuf/dumpbuf.c: Fix undefined behavior for sprintf()Martin Galvan1-46/+75
I also used the 'n' versions of the string functions, #define'd magic numbers and added a few comments. Updates #2405.
2015-09-03cpukit/libnetworking/rtems/rtems_dhcp.c: Fix leak on realloc failure for ↵Martin Galvan1-5/+13
dhcp_hostname. Closes #2405.
2015-09-03various .h files: Add missing C++ extern wrappersMartin Galvan2-2/+9
Updates #2405.
2015-09-03JFFS2: Use RTEMS red-black tree implementationSebastian Huber3-453/+112
2015-09-03rbtree: Add _RBTree_Replace_node()Sebastian Huber3-0/+75
2015-09-03rbtree: Replace implementationSebastian Huber6-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.
2015-09-02score: Optimize thread queue first operationSebastian Huber1-5/+10
In case the thread queue heads exist, then the queue is not empty. See _Thread_queue_First_locked().
2015-09-02posix: glibc compatibilitySebastian Huber2-8/+6
2015-09-01score: Fix return status of mutex try acquireSebastian Huber1-9/+9
This fixes a copy and paste error (from libbsd).
2015-09-01arm: Replace __sync_synchronize() implementationSebastian Huber1-8/+19
2015-09-01arm: Use compiler memory barrier by defaultSebastian Huber1-1/+7
2015-09-01rbtree: Delete rtems_rbtree_find_control()Sebastian Huber2-35/+0
This function is hard to support in alternative implementations. It has no internal use case.
2015-08-31rbtree: Delete unused RBTREE_NODE_*() macrosSebastian Huber1-12/+0
2015-08-31rbtree: Delete _RBTree_Initialize()Sebastian Huber6-79/+58
This function has no internal use case.
2015-08-31rbtree: Delete _RBTree_Get()Sebastian Huber2-41/+32
This function has no internal use case.
2015-08-31rbheap: Drop direction from _RBTree_Iterate()Sebastian Huber3-12/+3
2015-08-31rbtree: Delete _RBTree_Is_first()Sebastian Huber2-22/+2
2015-08-31rbtree: Add _RBTree_Minimum(), _RBTree_Maximum()Sebastian Huber4-12/+38
2015-08-31rbheap: Avoid internal APISebastian Huber1-10/+11
2015-08-31posix: Avoid _RBTree_Next()Sebastian Huber1-3/+3
2015-08-06Respect 2^32 - 1 B NFSv2 maximum file sizeNick Withers1-3/+45
closes #2384
2015-08-01Add __synch_synchronize function for armJan Sommer2-0/+10
Fixes link failure when linking Ada programs on the raspberry pi
2015-07-30score: Add self-contained condition implementationSebastian Huber4-0/+314
2015-07-30score: Add scheduler <sys/lock.h> supportSebastian Huber2-0/+71
2015-07-30score: Add self-contained futex implementationSebastian Huber4-0/+204
2015-07-30score: Add self-contained semaphore implementationSebastian Huber4-0/+146
2015-07-30score: Add self-contained mutex implementationSebastian Huber4-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).
2015-07-30score: Add thread queue for self-contained objectsSebastian Huber3-0/+55
2015-07-30score: Use a plain ticket lock for thread locksSebastian Huber9-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.
2015-07-30score: Add potpourri lock statisticsSebastian Huber3-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.