Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libfdt: Initial import | Sebastian Huber | 2015-10-16 | 19 | -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 threads | Sebastian Huber | 2015-10-14 | 9 | -75/+53 |
| | |||||
* | libstdthreads: Import from FreeBSD | Sebastian Huber | 2015-10-14 | 5 | -0/+455 |
| | |||||
* | epiphany: Delete CPU_UNROLL_ENQUEUE_PRIORITY | Sebastian Huber | 2015-10-07 | 1 | -21/+0 |
| | |||||
* | SMP: Optimize ticket lock implementation | Sebastian Huber | 2015-10-02 | 1 | -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 multilib | Sebastian Huber | 2015-10-02 | 1 | -0/+17 |
| | | | | This reduces the code size. | ||||
* | SMP: Fix and optimize thread dispatching | Sebastian Huber | 2015-09-28 | 5 | -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 operations | Sebastian Huber | 2015-09-28 | 1 | -27/+25 |
| | |||||
* | score: Use uintptr_t for atomic pointer operations | Sebastian Huber | 2015-09-26 | 2 | -71/+69 |
| | | | | Do not obfuscate the standard API. | ||||
* | score: Fix atomic compare exchange | Sebastian Huber | 2015-09-25 | 2 | -5/+21 |
| | |||||
* | ARMv7M: Improve exception handler routine and add comments on SP selection | Martin Galvan | 2015-09-23 | 1 | -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 FPU | Sudarshan Rajagopalan | 2015-09-23 | 1 | -4/+4 |
| | |||||
* | score: Fix resource count for self-contained mutex | Sebastian Huber | 2015-09-14 | 1 | -2/+3 |
| | |||||
* | rbheap: Fix rtems_rbheap_free() | Sebastian Huber | 2015-09-11 | 1 | -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.0 | Sebastian Huber | 2015-09-11 | 1 | -2/+2 |
| | |||||
* | score: Implement priority boosting | Sebastian Huber | 2015-09-04 | 7 | -6/+124 |
| | |||||
* | score: Implement SMP-specific priority queue | Sebastian Huber | 2015-09-04 | 6 | -16/+128 |
| | |||||
* | score: Documentation | Sebastian Huber | 2015-09-04 | 1 | -2/+29 |
| | |||||
* | cpukit/libmisc/dumpbuf/dumpbuf.c: Fix compilation warnings | Martin Galvan | 2015-09-03 | 1 | -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 error | Martin Galvan | 2015-09-03 | 1 | -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 Galvan | 2015-09-03 | 1 | -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 Galvan | 2015-09-03 | 1 | -5/+13 |
| | | | | | | dhcp_hostname. Closes #2405. | ||||
* | various .h files: Add missing C++ extern wrappers | Martin Galvan | 2015-09-03 | 2 | -2/+9 |
| | | | | Updates #2405. | ||||
* | JFFS2: Use RTEMS red-black tree implementation | Sebastian Huber | 2015-09-03 | 3 | -453/+112 |
| | |||||
* | rbtree: Add _RBTree_Replace_node() | Sebastian Huber | 2015-09-03 | 3 | -0/+75 |
| | |||||
* | rbtree: Replace implementation | Sebastian Huber | 2015-09-03 | 6 | -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 operation | Sebastian Huber | 2015-09-02 | 1 | -5/+10 |
| | | | | | In case the thread queue heads exist, then the queue is not empty. See _Thread_queue_First_locked(). | ||||
* | posix: glibc compatibility | Sebastian Huber | 2015-09-02 | 2 | -8/+6 |
| | |||||
* | score: Fix return status of mutex try acquire | Sebastian Huber | 2015-09-01 | 1 | -9/+9 |
| | | | | This fixes a copy and paste error (from libbsd). | ||||
* | arm: Replace __sync_synchronize() implementation | Sebastian Huber | 2015-09-01 | 1 | -8/+19 |
| | |||||
* | arm: Use compiler memory barrier by default | Sebastian Huber | 2015-09-01 | 1 | -1/+7 |
| | |||||
* | rbtree: Delete rtems_rbtree_find_control() | Sebastian Huber | 2015-09-01 | 2 | -35/+0 |
| | | | | | This function is hard to support in alternative implementations. It has no internal use case. | ||||
* | rbtree: Delete unused RBTREE_NODE_*() macros | Sebastian Huber | 2015-08-31 | 1 | -12/+0 |
| | |||||
* | rbtree: Delete _RBTree_Initialize() | Sebastian Huber | 2015-08-31 | 6 | -79/+58 |
| | | | | This function has no internal use case. | ||||
* | rbtree: Delete _RBTree_Get() | Sebastian Huber | 2015-08-31 | 2 | -41/+32 |
| | | | | This function has no internal use case. | ||||
* | rbheap: Drop direction from _RBTree_Iterate() | Sebastian Huber | 2015-08-31 | 3 | -12/+3 |
| | |||||
* | rbtree: Delete _RBTree_Is_first() | Sebastian Huber | 2015-08-31 | 2 | -22/+2 |
| | |||||
* | rbtree: Add _RBTree_Minimum(), _RBTree_Maximum() | Sebastian Huber | 2015-08-31 | 4 | -12/+38 |
| | |||||
* | rbheap: Avoid internal API | Sebastian Huber | 2015-08-31 | 1 | -10/+11 |
| | |||||
* | posix: Avoid _RBTree_Next() | Sebastian Huber | 2015-08-31 | 1 | -3/+3 |
| | |||||
* | Respect 2^32 - 1 B NFSv2 maximum file size | Nick Withers | 2015-08-06 | 1 | -3/+45 |
| | | | | closes #2384 | ||||
* | Add __synch_synchronize function for arm | Jan Sommer | 2015-08-01 | 2 | -0/+10 |
| | | | | Fixes link failure when linking Ada programs on the raspberry pi | ||||
* | score: Add self-contained condition implementation | Sebastian Huber | 2015-07-30 | 4 | -0/+314 |
| | |||||
* | score: Add scheduler <sys/lock.h> support | Sebastian Huber | 2015-07-30 | 2 | -0/+71 |
| | |||||
* | score: Add self-contained futex implementation | Sebastian Huber | 2015-07-30 | 4 | -0/+204 |
| | |||||
* | score: Add self-contained semaphore implementation | Sebastian Huber | 2015-07-30 | 4 | -0/+146 |
| | |||||
* | score: Add self-contained mutex implementation | Sebastian Huber | 2015-07-30 | 4 | -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 objects | Sebastian Huber | 2015-07-30 | 3 | -0/+55 |
| | |||||
* | score: Use a plain ticket lock for thread locks | Sebastian Huber | 2015-07-30 | 9 | -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 statistics | Sebastian Huber | 2015-07-30 | 3 | -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. |