Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | score: Provide struct _Thread_queue_Heads | Sebastian Huber | 2015-07-30 | 1 | -1/+7 |
| | | | | | Use a leading underscore in the structure name to allow forward declarations in standard header files provided by Newlib and GCC. | ||||
* | score: Rename struct Thread_Control | Sebastian Huber | 2015-07-30 | 3 | -7/+10 |
| | | | | | Add a leading underscore to the structure name to allow forward declarations in standard header files provided by Newlib and GCC. | ||||
* | tftpDriver: close() false error | Michael Davidsaver | 2015-07-29 | 1 | -1/+3 |
| | | | | closes #2376. | ||||
* | score: Rename _POSIX_Absolute_timeout_to_ticks() | Sebastian Huber | 2015-07-28 | 98 | -238/+101 |
| | | | | | | Rename _POSIX_Absolute_timeout_to_ticks() to _TOD_Absolute_timeout_to_ticks() and move it to the score directory. Delete empty <rtems/posix/time.h>. | ||||
* | m68k: Include proper header file | Sebastian Huber | 2015-07-24 | 1 | -3/+3 |
| | |||||
* | score: Add comment | Sebastian Huber | 2015-07-24 | 1 | -0/+5 |
| | |||||
* | monitor: Sort alphabetically | Sebastian Huber | 2015-07-24 | 1 | -15/+15 |
| | |||||
* | monitor: Add current CPU of thread | Sebastian Huber | 2015-07-24 | 2 | -2/+7 |
| | |||||
* | monitor: Print the wait queue to ease debugging | Sebastian Huber | 2015-07-24 | 2 | -18/+21 |
| | |||||
* | monitor: Print addresses like identifiers | Sebastian Huber | 2015-07-24 | 2 | -3/+3 |
| | | | | This avoids the "0x0xabc" output and is more compact. | ||||
* | monitor: Remove notepad support | Sebastian Huber | 2015-07-24 | 3 | -41/+1 |
| | |||||
* | arm: Include proper header file | Sebastian Huber | 2015-07-23 | 1 | -3/+3 |
| | |||||
* | i2c: Fix return status of i2c dev read/write | Sebastian Huber | 2015-07-23 | 1 | -6/+10 |
| | |||||
* | score: Move wait flag update to tq extract | Sebastian Huber | 2015-07-23 | 3 | -15/+34 |
| | | | | | | This makes it possible to use _Thread_queue_Extract_locked() for barrier operations which extract all threads on the queue in one critical section. | ||||
* | score: Introduce Thread_queue_Heads | Sebastian Huber | 2015-07-23 | 22 | -124/+313 |
| | | | | | | | | | | | | | 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). |