summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* score: Add self-contained condition implementationSebastian Huber2015-07-301-0/+1
|
* score: Add self-contained futex implementationSebastian Huber2015-07-301-0/+1
|
* score: Add self-contained semaphore implementationSebastian Huber2015-07-301-0/+1
|
* score: Add self-contained mutex implementationSebastian Huber2015-07-301-0/+1
| | | | | | | 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).
* 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
|
* score: Introduce Thread_queue_HeadsSebastian Huber2015-07-231-2/+2
| | | | | | | | | | | | | 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).
* libmisc: Use SMP application by default on SMPSebastian Huber2015-07-081-0/+4
|
* libmisc: Simplify <rtems/stackchk.h>Sebastian Huber2015-06-262-1/+2
| | | | | Drop the <rtems/score/percpu.h> include since this file exposes a lot of implementation details.
* score: Simplify <rtems/system.h>Sebastian Huber2015-06-261-1/+1
| | | | | Drop the <rtems/score/percpu.h> include since this file exposes a lot of implementation details.
* Remove use ticks for statistics configure option.Joel Sherrill2015-06-155-134/+33
| | | | | | | | | | This was obsolete and broken based upon recent time keeping changes. Thie build option was previously enabled by adding USE_TICKS_FOR_STATISTICS=1 to the configure command line. This propagated into the code as preprocessor conditionals using the __RTEMS_USE_TICKS_FOR_STATISTICS__ conditional.
* libmisc/cpuuse: Top support for current load.Chris Johns2015-04-291-195/+541
| | | | | | | | | | | | | | | | | | The cpuuse top command now supports the current load where the list of tasks is ordered based on the current load rather than the total cpu usage. This lets you see what is using the processor at any specific instance. The ability to sort on a range of thread values is now supported. Added memory usage stats for unified and separate workspace and C heaps as well as displaying the allocated stack space. Added a few more command keys to refresh the display, show all tasks in the system, control the lines display and a scrolling mode that does not clear the display on each refresh. Removed support for tick kernel builds. The tick support in the kernel is to be removed.
* score: Fix POSIX thread joinSebastian Huber2015-04-231-0/+1
| | | | | | | | | | | | A thread join is twofold. There is one thread that exists and an arbitrary number of threads that wait for the thread exit (one-to-many relation). The exiting thread may want to wait for a thread that wants to join its exit (STATES_WAITING_FOR_JOIN_AT_EXIT in _POSIX_Thread_Exit()). On the other side we need a thread queue for all the threads that wait for the exit of one particular thread (STATES_WAITING_FOR_JOIN in pthread_join()). Update #2035.
* Fix build for non-SPARC targetsSebastian Huber2015-04-171-2/+9
|
* DRVMGR: KEY_TYPE now a enum drvmgr_ktDaniel Hellstrom2015-04-171-8/+8
|
* DRVMGR: added drvmgr shell commandDaniel Hellstrom2015-04-173-1/+436
|
* LIBPCI: added PCI shell commandDaniel Hellstrom2015-04-173-1/+543
|
* shell/main_rtrace.c: Fix warningJoel Sherrill2015-04-031-1/+1
|
* capture: Define __rtld_tbg_lockSebastian Huber2015-04-021-0/+2
|
* libmisc/shell: Add the rtrace command for buffered tracing support.Chris Johns2015-03-315-2/+1037
| | | | | The rtrace command interfaces to the RTEMS Trace Linker's trace buffering data allowing users to capture and report trace data.
* testsupport: Generate unique worker namesSebastian Huber2015-03-251-1/+11
|
* monitor: Fix notepad dumpSebastian Huber2015-03-241-4/+7
|
* cpukit/libmisc/utf8proc/utf8proc.c: Avoid overflowJoel Sherrill2015-03-241-0/+5
|
* shell/utils-cp.c: Avoid redefinition of TIMESPEC_TO_TIMEVALJoel Sherrill2015-03-241-0/+9
|
* dummy/default-configuration.c: Tune configuration down for small targetsJoel Sherrill2015-03-241-4/+10
|
* capture/capture_support.c: Fix printf() warning and formattingJoel Sherrill2015-03-241-10/+14
|
* cpukit/libmisc/shell/hexdump-conv.c: Eliminate printf() format warningJoel Sherrill2015-03-221-1/+5
|
* cpukit/libmisc/shell/main_df.c: Eliminate printf() format warningJoel Sherrill2015-03-221-2/+3
|
* Replace www.rtems.com with www.rtems.orgSebastian Huber2015-03-201-1/+1
|
* libmisc/capture: Clean up formatting on ARM.Chris Johns2015-03-192-22/+29
| | | | | | | | The printing of 64bit diff's for the timestamp did not work on ARM so I have changed this to 32bit. A 32bit nano-second diff between events should be more than enough time. Print '____' for POSIX thread output.
* testsupport: Do not suspend worker tasksSebastian Huber2015-03-181-1/+3
|
* libmisc/redirector: Fix unlock on exit from the handler.Chris Johns2015-03-181-1/+1
|
* libmisc/monitor/mon-task.c: Disable deprecated warning for use of notepadsJoel Sherrill2015-03-171-2/+21
|
* testsupport: Add worker setup handlerSebastian Huber2015-03-172-12/+71
| | | | Add rtems_test_parallel_get_task_id().
* shell: remove rtems ifdef, upstream is correctGedare Bloom2015-03-161-8/+0
|
* shell: fix printf warningsGedare Bloom2015-03-161-4/+5
|
* capture: fix warnings in printGedare Bloom2015-03-161-4/+6
|
* cpukit: Remove old DESCRIPTION: in commentsJoel Sherrill2015-03-115-77/+5
| | | | These were remnants of pre-Doxygen comment style.
* cpukit: deprecate notepadsGedare Bloom2015-03-101-1/+2
| | | | | | | | | | | | | | | Deprecate Classic API Notepads. Mark task_set/get_note() with the deprecated attribute, and also mark the notepads field. Replace disable with enable option for notepads in confdefs.h, and make notepads disabled by default. The previous option CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS is now unused and will emit a compile-time warning. A new option CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS is available to turn on notepads, but it also will emit a compile-time warning to indicate that notepads are deprecated. Closes #2265
* cpukit/libmisc/fsmount/fsmount.h: Remove duplicate comments and copyrightJoel Sherrill2015-03-091-29/+7
|
* Fix a number of minor Doxygen formatting issuesJoel Sherrill2015-03-062-1/+3
|
* testsupport: Add cascade option to parallel testAlexander Krutwig2015-03-062-11/+44
|
* shell: Add PROFREPORT commandSebastian Huber2015-03-063-0/+50
|
* capture: Fix warningsSebastian Huber2015-03-051-5/+5
|
* tests: Fix warningSebastian Huber2015-03-051-2/+1
|
* tests: Refactor parallel test executionAlexander Krutwig2015-03-053-0/+269
|