summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* score: Provide struct _Thread_queue_HeadsSebastian Huber2015-07-301-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_ControlSebastian Huber2015-07-303-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 errorMichael Davidsaver2015-07-291-1/+3
| | | | closes #2376.
* score: Rename _POSIX_Absolute_timeout_to_ticks()Sebastian Huber2015-07-2898-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 fileSebastian Huber2015-07-241-3/+3
|
* score: Add commentSebastian Huber2015-07-241-0/+5
|
* monitor: Sort alphabeticallySebastian Huber2015-07-241-15/+15
|
* monitor: Add current CPU of threadSebastian Huber2015-07-242-2/+7
|
* monitor: Print the wait queue to ease debuggingSebastian Huber2015-07-242-18/+21
|
* monitor: Print addresses like identifiersSebastian Huber2015-07-242-3/+3
| | | | This avoids the "0x0xabc" output and is more compact.
* monitor: Remove notepad supportSebastian Huber2015-07-243-41/+1
|
* arm: Include proper header fileSebastian Huber2015-07-231-3/+3
|
* i2c: Fix return status of i2c dev read/writeSebastian Huber2015-07-231-6/+10
|
* score: Move wait flag update to tq extractSebastian Huber2015-07-233-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_HeadsSebastian Huber2015-07-2322-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).