| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* include/rtems/irq-extension.h: Documentation.
* libmisc/monitor/mon-prmisc.c: Fix for multiprocessing configuration.
|
|
|
|
|
| |
* libmisc/devnull/devnull.h, libmisc/stackchk/stackchk.h:
Fix header guard. Add missing includes.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* libmisc/shell/fdisk.c: Reflect changes above.
|
|
|
|
|
|
|
|
|
| |
* 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).
|
|
|
|
|
| |
* libmisc/stringto/stringtounsignedchar.c,
libmisc/stringto/stringtounsignedint.c: Reformat range check.
|
|
|
|
|
| |
* libmisc/Makefile.am: Add stringto/stringtolongdouble.c.
* libmisc/stringto/stringtolongdouble.c: New.
|
|
|
|
|
| |
* libmisc/stringto/stringto.h: Rename header-guard.
Add rtems_string_to_long_double.
|
|
|
|
|
| |
* libmisc/stringto/stringtoint.c: Reformat range check.
Add check for result==0.
|
|
|
|
|
| |
* libmisc/stringto/stringtofloat.c: Reformat range check.
Add check for result = -HUGE_VALF.
|
|
|
|
|
| |
* libmisc/stringto/stringtodouble.c: Reformat range check.
Add check for result = -HUGE_VAL.
|
|
|
|
|
| |
* libmisc/stringto/stringtolonglong.c: Reformat range check.
c99 portability improvements. Add check for result==0.
|
|
|
|
|
| |
* libmisc/stringto/stringtounsignedlonglong.c: Reformat range check.
c99 portability improvements.
|
|
|
|
| |
* libmisc/stringto/stringtounsignedlong.c: Reformat range check.
|
|
|
|
|
| |
* libmisc/stringto/stringtolong.c: Reformat range check.
Add check for result==0.
|
|
|
|
|
| |
* libmisc/Makefile.am: Remove stringto/stringto_template.h.
* libmisc/stringto/stringto_template.h: Remove.
|
|
|
|
|
| |
* libmisc/stringto/stringtodouble.c,
libmisc/stringto/stringtofloat.c: Rework.
|
|
|
|
|
|
|
|
| |
* libmisc/stringto/stringtolong.c,
libmisc/stringto/stringtolonglong.c,
libmisc/stringto/stringtounsignedlong.c,
libmisc/stringto/stringtounsignedlonglong.c:
Rework.
|
|
|
|
|
|
| |
* libmisc/stringto/stringtoint.c,
libmisc/stringto/stringtounsignedint.c,
libmisc/stringto/stringtounsignedchar.c: Rework.
|
|
|
|
| |
* libmisc/stringto/stringtopointer.c: Rework.
|
|
|
|
| |
* libmisc/capture/capture.c: Avoid using TCB of task just deleted.
|
|
|
|
|
| |
* libmisc/shell/main_dd.c: Make symbol unique to avoid conflict with
same name in <sys/stat.h>.
|
|
|
|
|
|
|
|
|
| |
* 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().
|
|
|
|
|
| |
* libmisc/cpuuse/cpuusagereport.c: We have to take the time since the
last context switch before the uptime.
|
|
|
|
|
|
|
| |
* 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().
|
|
|
|
|
| |
* score/src/iterateoverthreads.c, libmisc/cpuuse/cpuusagereport.c:
Avoid dead code if POSIX API is enabled.
|
|
|
|
|
| |
* score/src/iterateoverthreads.c, libmisc/cpuuse/cpuusagereport.c:
Fixed NULL pointer access in case POSIX API is disabled.
|
|
|
|
| |
* libmisc/monitor/mon-monitor.c: Fixed broken monitor command list.
|
|
|
|
|
| |
* libmisc/monitor/mon-monitor.c: Move node code into multiprocessing
ifdef.
|
|
|
|
|
|
| |
* libmisc/stackchk/check.c: Make compile again.
* sapi/src/io.c, score/src/heap.c: Address dead assignment
issues found by clang.
|
|
|
|
|
| |
* libmisc/stackchk/check.c: Address casting issue highlighted by clang.
There was no need for an intermediate cast to a structure pointer.
|
|
|
|
|
|
| |
PR 1694/shell
* libmisc/shell/main_setenv.c: Address memory leak identified by
Coverity.
|
|
|
|
| |
* libmisc/shell/main_date.c: Use snprintf() not sprintf().
|
|
|
|
|
| |
* libmisc/monitor/mon-symbols.c: Fix length of buffer passed to
strncpy() so there is room for a NULL terminator.
|
|
|
|
|
|
| |
Coverity Id 169
* libmisc/stackchk/check.c: Readd line accidentally deleted between
1.67 and 1.68.
|
|
|
|
|
| |
Coverity Id 163
* libmisc/stackchk/check.c: Adjust conditional compilation.
|
|
|
|
|
| |
* libmisc/untar/untar.c: Return if open fails.
Use ssize_t for read() return value.
|
|
|
|
| |
* libmisc/fb/fb.h: Add constants for buffer modes.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* libfs/src/imfs/imfs_load_tar.c, libmisc/untar/untar.c: Now supports
both pax and GNU tar created tar files.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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().
|
|
|
|
| |
* libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Add const.
|
|
|
|
| |
* libmisc/stackchk/check.c: More clean up and coverage improvements..
|
|
|
|
| |
* libmisc/stackchk/check.c: Clean up to improve coverage.
|
|
|
|
|
|
| |
PR 1559/misc
Coverity Id 16
* libmisc/monitor/mon-editor.c: Fix buffer overflow.
|