summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-151-1/+1
| | | | * libmisc/cpuuse/cpuusagereport.c: Make compile again.
* 2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-151-10/+3
| | | | | * libmisc/shell/main_setenv.c: Revert after discussion. Mark as intentional in Coverity.
* 2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-151-3/+10
| | | | | * libmisc/shell/main_setenv.c: Address Coverity issue 134 which recommends using strnXXX methods.
* 2011-03-15 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-03-151-0/+1
| | | | | * libmisc/cpuuse/cpuusagereport.c: Avoid assumptions on execution context.
* 2011-03-15 Chris Johns <chrisj@rtems.org>Chris Johns2011-03-151-2/+0
| | | | | | | | | | | | | | | | | | PR 1763/shell * libmisc/shell/hexdump-conv.c: Remove debug hacks. PR 1757/filesystem * libfs/src/rfs/rtems-rfs-block-pos.h, libfs/src/rfs/rtems-rfs-block.h, libfs/src/rfs/rtems-rfs-file.c, libfs/src/rfs/rtems-rfs-rtems-file.c: Set the file size in iop-size when a file is open. Fix lseek to end of file then write for sizes less than half the file system block size. * libfs/src/rfs/rtems-rfs-rtems-dev.c, libfs/src/rfs/rtems-rfs-rtems-dir.c, libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs-rtems.h: Fix the fstat and fchmod calls due to the change in the iop struct where pathinfo went away. The node_access field in pathinfo was overloaded.
* 2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-142-2/+0
| | | | | * libmisc/mouse/mouse_parser.c, libmisc/mouse/serial_mouse.c: Remove include of bsp.h
* 2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-146-0/+980
| | | | | | | | | | | PR 1762/cpukit * Makefile.am, preinstall.am, libmisc/Makefile.am, wrapup/Makefile.am: Add generic serial mouse driver and mouse parser. The parser code was in the pc386 BSP but was generic so cleaned up and placed here. Serial mouse driver itself is new. * libmisc/mouse/README, libmisc/mouse/mouse_parser.c, libmisc/mouse/mouse_parser.h, libmisc/mouse/serial_mouse.c, libmisc/mouse/serial_mouse.h: New files.
* 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.