summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2011-03-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-03-071-6/+9
| | | | | | * libmisc/cpuuse/cpuusagereport.c: Fix calculation in case a thread dispatch happends in the meantime. The percent values will not sum up to one hundred percent.
* 2011-03-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-03-071-1/+1
| | | | | * include/rtems/irq-extension.h: Documentation. * libmisc/monitor/mon-prmisc.c: Fix for multiprocessing configuration.
* 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-232-4/+9
| | | | | * libmisc/devnull/devnull.h, libmisc/stackchk/stackchk.h: Fix header guard. Add missing includes.
* 2011-02-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-02-174-117/+252
| | | | | | * libmisc/Makefile.am, libmisc/fb/mw_uid.c, libmisc/fb/mw_uid.h: Clean up. Add Doxygen style comments. Add method to print uid structure. * libmisc/fb/mw_print.c: New file.
* 2011-02-17 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-02-171-4/+4
| | | | | | | | * libblock/include/rtems/bdpart.h (rtems_bdpart_format): Preserve previous API. * libblock/src/bdpart-create.c, libblock/src/bdpart-read.c, libblock/src/bdpart-write.c: Reflect changes above. * libmisc/shell/fdisk.c: Reflect changes above.
* 2011-02-15 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-02-161-2/+1
| | | | | | | | | | | | * libmisc/capture/capture.c, posix/src/keyfreememory.c, posix/src/pthread.c, score/include/rtems/score/wkspace.h, score/src/objectextendinformation.c, score/src/objectnamespaceremove.c, score/src/objectsetname.c, score/src/threadclose.c, score/src/threadinitialize.c, score/src/wkspace.c: Many places were checking for a NULL pointer before calling _Workspace_Free. By moving the check into _Workspace_Free, we eliminate a number of conditional paths and make it harder to return a NULL pointer.
* 2011-02-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-111-4/+4
| | | | * libmisc/shell/fdisk.c: Reflect changes above.
* 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-025-15/+14
| | | | | | | | | * libmisc/shell/hexdump-display.c: Eliminate bcopy, bzero, bcmp, index (Obsolete). * libmisc/shell/hexdump-parse.c: Eliminate index (Obsolete). * libmisc/shell/hexsyntax.c: Eliminate rindex (Obsolete). * libmisc/shell/main_hexdump.c: Eliminate rindex (Obsolete). * libmisc/shell/main_rm.c: Eliminate rindex (Obsolete).
* 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-012-10/+6
| | | | | * libmisc/stringto/stringtounsignedchar.c, libmisc/stringto/stringtounsignedint.c: Reformat range check.
* 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-012-0/+59
| | | | | * libmisc/Makefile.am: Add stringto/stringtolongdouble.c. * libmisc/stringto/stringtolongdouble.c: New.
* 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-011-2/+21
| | | | | * libmisc/stringto/stringto.h: Rename header-guard. Add rtems_string_to_long_double.
* 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-011-5/+3
| | | | | * libmisc/stringto/stringtoint.c: Reformat range check. Add check for result==0.
* 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-011-3/+2
| | | | | * libmisc/stringto/stringtofloat.c: Reformat range check. Add check for result = -HUGE_VALF.
* 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-011-3/+2
| | | | | * libmisc/stringto/stringtodouble.c: Reformat range check. Add check for result = -HUGE_VAL.
* 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-011-5/+12
| | | | | * libmisc/stringto/stringtolonglong.c: Reformat range check. c99 portability improvements. Add check for result==0.
* 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-011-5/+8
| | | | | * libmisc/stringto/stringtounsignedlonglong.c: Reformat range check. c99 portability improvements.
* 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-011-5/+3
| | | | * libmisc/stringto/stringtounsignedlong.c: Reformat range check.
* 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-011-5/+3
| | | | | * libmisc/stringto/stringtolong.c: Reformat range check. Add check for result==0.
* 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-012-138/+1
| | | | | * libmisc/Makefile.am: Remove stringto/stringto_template.h. * libmisc/stringto/stringto_template.h: Remove.
* 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-012-12/+81
| | | | | * libmisc/stringto/stringtodouble.c, libmisc/stringto/stringtofloat.c: Rework.
* 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-014-26/+172
| | | | | | | | * libmisc/stringto/stringtolong.c, libmisc/stringto/stringtolonglong.c, libmisc/stringto/stringtounsignedlong.c, libmisc/stringto/stringtounsignedlonglong.c: Rework.
* 2011-01-31 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-01-313-19/+158
| | | | | | * libmisc/stringto/stringtoint.c, libmisc/stringto/stringtounsignedint.c, libmisc/stringto/stringtounsignedchar.c: Rework.
* 2011-01-31 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2011-01-311-12/+30
| | | | * libmisc/stringto/stringtopointer.c: Rework.
* 2011-01-21 Eric Norum <wenorum@lbl.gov>Joel Sherrill2011-01-211-1/+3
| | | | * libmisc/capture/capture.c: Avoid using TCB of task just deleted.
* 2011-01-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-01-171-3/+3
| | | | | * libmisc/shell/main_dd.c: Make symbol unique to avoid conflict with same name in <sys/stat.h>.
* 2011-01-17 Alin Rus <alin.codejunkie@gmail.com>Joel Sherrill2011-01-172-8/+10
| | | | | | | | | * posix/src/aio_cancel.c: Fixed ending of if braces. 2011-01-17 Alin Rus <alin.codejunkie@gmail.com> * posix/src/aio_misc.c: Add debug information. Fixed idle_threads/ active_threads issues. Fixed infinite loop in rtems_aio_handle().
* 2010-12-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-12-161-4/+3
| | | | | * libmisc/cpuuse/cpuusagereport.c: We have to take the time since the last context switch before the uptime.
* 2010-12-08 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-12-081-15/+1
| | | | | | | * libnetworking/loop.h, libnetworking/net/if_loop.c, libnetworking/rtems/rtems_glue.c, libmisc/dummy/dummy-networking.c: Initialize loop back interface during normal initialization via rtems_bsdnet_initialize_network().
* 2010-11-23 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-11-231-10/+8
| | | | | * score/src/iterateoverthreads.c, libmisc/cpuuse/cpuusagereport.c: Avoid dead code if POSIX API is enabled.
* 2010-11-23 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-11-231-10/+6
| | | | | * score/src/iterateoverthreads.c, libmisc/cpuuse/cpuusagereport.c: Fixed NULL pointer access in case POSIX API is disabled.
* 2010-11-19 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-11-191-26/+29
| | | | * libmisc/monitor/mon-monitor.c: Fixed broken monitor command list.
* 2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-11-161-19/+20
| | | | | * libmisc/monitor/mon-monitor.c: Move node code into multiprocessing ifdef.
* 2010-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-11-041-4/+3
| | | | | | * libmisc/stackchk/check.c: Make compile again. * sapi/src/io.c, score/src/heap.c: Address dead assignment issues found by clang.
* 2010-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-11-041-10/+16
| | | | | * libmisc/stackchk/check.c: Address casting issue highlighted by clang. There was no need for an intermediate cast to a structure pointer.
* 2010-08-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-281-17/+14
| | | | | | PR 1694/shell * libmisc/shell/main_setenv.c: Address memory leak identified by Coverity.
* 2010-08-27 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-271-1/+1
| | | | * libmisc/shell/main_date.c: Use snprintf() not sprintf().
* 2010-08-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-261-4/+4
| | | | | * libmisc/monitor/mon-symbols.c: Fix length of buffer passed to strncpy() so there is room for a NULL terminator.
* 2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-251-0/+1
| | | | | | Coverity Id 169 * libmisc/stackchk/check.c: Readd line accidentally deleted between 1.67 and 1.68.
* 2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-251-2/+1
| | | | | Coverity Id 163 * libmisc/stackchk/check.c: Adjust conditional compilation.
* 2010-08-24 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-08-241-6/+8
| | | | | * libmisc/untar/untar.c: Return if open fails. Use ssize_t for read() return value.
* 2010-08-20 <yann.sionneau@telecom-sudparis.eu>Joel Sherrill2010-08-201-0/+4
| | | | * libmisc/fb/fb.h: Add constants for buffer modes.
* 2010-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-021-10/+17
| | | | | | * libmisc/stackchk/check.c: If this port does not allocate the interrupt stack, then it must always be a thread stack. Do not include code to print the interrupt stack information.
* 2010-07-27 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-271-3/+4
| | | | | * libfs/src/imfs/imfs_load_tar.c, libmisc/untar/untar.c: Now supports both pax and GNU tar created tar files.
* 2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-261-8/+18
| | | | | | | | | | * libcsupport/src/privateenv.c, libmisc/cpuuse/cpuusagereport.c, posix/Makefile.am, posix/include/rtems/posix/key.h, posix/src/keycreate.c, posix/src/keydelete.c, score/src/iterateoverthreads.c: Since removing ITRON, the loop over all APIs for tasks has a path that cannot be reached. Either modify the code or mark tests for NULL as RTEMS_DEBUG. * posix/src/keyfreememory.c: New file.
* 2010-07-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-043-3/+0
| | | | | | | | | | | | | | | | * libblock/include/rtems/ide_part_table.h, libblock/src/bdbuf.c, libcsupport/src/__times.c, libcsupport/src/libio_init.c, libcsupport/src/mallocfreespace.c, libcsupport/src/mount-mgr.c, libcsupport/src/mount.c, libcsupport/src/rewinddir.c, libcsupport/src/seekdir.c, libcsupport/src/telldir.c, libcsupport/src/unmount.c, libfs/src/dosfs/fat.c, libfs/src/dosfs/fat_fat_operations.c, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c, libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c, libfs/src/dosfs/msdos_fsunmount.c, libfs/src/dosfs/msdos_initsupp.c, libfs/src/dosfs/msdos_rename.c, libmisc/cpuuse/cpuusagereport.c, libmisc/shell/vis.c, libmisc/stackchk/check.c, sapi/src/posixapi.c, telnetd/telnetd.c: Remove include of assert.h when it is not needed.
* 2010-07-01 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-011-1/+1
| | | | | | | | | | | | * libcsupport/include/rtems/libio_.h: Removed rtems_filesystem_mount_table_control. * libcsupport/include/rtems/libio.h, libcsupport/src/mount-mgr.c, libcsupport/src/mount.c libcsupport/src/statvfs.c, libcsupport/src/unmount.c, libmisc/shell/main_mount.c: Documentation. Removed rtems_filesystem_mounts_first() and rtems_filesystem_mounts_next(). Added rtems_filesystem_mount_iterate(). Changed return type of rtems_filesystem_iterate(). Removed rtems_filesystem_nodes_equal().
* 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-282-8/+8
| | | | * libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Add const.
* 2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-231-10/+15
| | | | * libmisc/stackchk/check.c: More clean up and coverage improvements..
* 2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-231-22/+28
| | | | * libmisc/stackchk/check.c: Clean up to improve coverage.
* 2010-06-21 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-211-1/+1
| | | | | | PR 1559/misc Coverity Id 16 * libmisc/monitor/mon-editor.c: Fix buffer overflow.