Commit Graph

23 Commits

Author SHA1 Message Date
Ralf Corsepius
031deada15 Add __attribute__((unused)) to unused function args. 2009-01-02 13:04:13 +00:00
Joel Sherrill
e41eaa881a 2008-12-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libmisc/serdbg/termios_printk.c, libmisc/serdbg/termios_printk.h:
	Fixed incompatible return value.

	* libmisc/cpuuse/cpuusagereport.c: Changed output format.

	* libmisc/Makefile.am, libmisc/monitor/mon-editor.c: New file.

	* libmisc/capture/capture-cli.c, libmisc/monitor/mon-command.c,
	libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
	libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-symbols.c,
	libmisc/monitor/monitor.h, libmisc/shell/cat_file.c,
	libmisc/shell/cmds.c, libmisc/shell/internal.h,
	libmisc/shell/main_help.c, libmisc/shell/shell.c,
	libmisc/shell/shell.h, libmisc/shell/shell_cmdset.c,
	libmisc/shell/shell_getchar.c, libmisc/shell/str2int.c: Various global
	data is now read only.  Added 'const' qualifier to many pointer
	parameters.  It is no longer possible to remove monitor commands.
	Moved monitor line editor into a separate file to avoid unnecessary
	dependencies.
2008-12-18 15:25:27 +00:00
Ralf Corsepius
11672356e7 Convert to using "bool". 2008-09-01 11:28:56 +00:00
Joel Sherrill
1487880d2c 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/rtems/libcsupport.h, libcsupport/src/scandir.c,
	libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-monitor.c,
	libmisc/serdbg/serdbg.c, libmisc/serdbg/serdbg.h,
	libnetworking/netinet/in_cksum_powerpc.h, shttpd/compat_rtems.h: Fix
	warnings.
2008-08-18 21:16:42 +00:00
Joel Sherrill
6f77f16f7b 2004-09-17 Joel Sherrill <joel@OARcorp.com>
PR 677/misc
	* libmisc/dumpbuf/dumpbuf.h, libmisc/fsmount/fsmount.h,
	libmisc/rtmonuse/rtmonuse.h, libmisc/serdbg/serdbg.h,
	libmisc/serdbg/serdbgcnf.h, libmisc/serdbg/termios_printk.h,
	libmisc/serdbg/termios_printk_cnf.h, libmisc/untar/untar.h: Add
	extern C wrappers.
2004-09-17 17:00:19 +00:00
Ralf Corsepius
aed742c9a0 Remove stray white spaces. 2004-04-16 12:06:28 +00:00
Ralf Corsepius
3239698d1f Remove stray white spaces. 2004-04-15 13:26:21 +00:00
Ralf Corsepius
9876707a73 2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>
* libmisc/serdbg/serdbgcnf.h: Include <rtems/serdbg.h> instead of
        <serdbg.h>
	* libmisc/serdbg/termios_printk_cnf.h: Include <rtems/termios_printk.h>
        instead of <termios_printk.h>.
2004-04-01 23:47:52 +00:00
Ralf Corsepius
1d34ebfdbe 2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>
* libmisc/Makefile.am: Install serdbg.h, serdbgcnf.h,
	termios_printk.h, termios_printk_cnf.h to $(includedir)/rtems.
	* libmisc/serdbg/serdbg.c: Include <rtems/serdbg.h> instead of
	<serdbg.h>.
	* libmisc/serdbg/serdbgio.c: Include <rtems/serdbg.h> instead of
	<serdbg.h>.
	* libmisc/serdbg/termios_printk.c: Include <rtems/termios_printk.h>
	instead of <termios_printk.h>.
2004-04-01 23:45:13 +00:00
Ralf Corsepius
3e08d4ee62 2004-03-26 Ralf Corsepius <ralf_corsepius@rtems.org>
* libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
	libmisc/capture/capture.h, libmisc/cpuuse/cpuuse.c,
	libmisc/devnull/devnull.c, libmisc/fsmount/fsmount.h,
	libmisc/monitor/mon-config.c, libmisc/monitor/mon-dname.c,
	libmisc/monitor/mon-driver.c, libmisc/monitor/mon-extension.c,
	libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
	libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
	libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-queue.c,
	libmisc/monitor/mon-server.c, libmisc/monitor/mon-symbols.c,
	libmisc/monitor/monitor.h, libmisc/monitor/symbols.h,
	libmisc/mw-fb/mw_uid.c, libmisc/rtmonuse/rtmonuse.c,
	libmisc/serdbg/serdbg.h, libmisc/serdbg/serdbgio.c,
	libmisc/serdbg/termios_printk.c, libmisc/serdbg/termios_printk.h,
	libmisc/shell/shell.c, libmisc/shell/shell.h, libmisc/stackchk/check.c,
	libmisc/stackchk/internal.h: Convert to using c99 fixed size types.
2004-03-26 06:59:18 +00:00
Ralf Corsepius
2609e83f77 Unused. 2004-03-08 16:26:41 +00:00
Ralf Corsepius
13962be603 2003-11-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* capture/Makefile.am: Remove.
	* cpuuse/Makefile.am: Remove.
	* devnull/Makefile.am: Remove.
	* dummy/Makefile.am: Remove.
	* dumpbuf/Makefile.am: Remove.
	* fsmount/Makefile.am: Remove.
	* monitor/Makefile.am: Remove.
	* mw-fb/Makefile.am: Remove.
	* rtmonuse/Makefile.am: Remove.
	* serdbg/Makefile.am: Remove.
	* shell/Makefile.am: Remove.
	* stackchk/Makefile.am: Remove.
	* untar/Makefile.am: Remove.
	* Makefile.am: Merge-in the Makefile.ams above.
2003-11-28 12:53:34 +00:00
Ralf Corsepius
0fa54a0be5 2003-11-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* capture/config.h: Remove.
	* capture/Makefile.am: Remove config.h.
	AM_CPPFLAGS += -I$(top_builddir).
	* cpuuse/config.h: Remove.
	* cpuuse/Makefile.am: Remove config.h.
	AM_CPPFLAGS += -I$(top_builddir).
	* devnull/config.h: Remove.
	* devnull/Makefile.am: Remove config.h.
	AM_CPPFLAGS += -I$(top_builddir).
	* dummy/config.h: Remove.
	* dummy/Makefile.am: Remove config.h.
	AM_CPPFLAGS += -I$(top_builddir).
	* dumpbuf/config.h: Remove.
	* dumpbuf/Makefile.am: Remove config.h.
	AM_CPPFLAGS += -I$(top_builddir).
	* monitor/config.h: Remove.
	* monitor/Makefile.am: Remove config.h.
	AM_CPPFLAGS += -I$(top_builddir).
	* mw-fb/config.h: Remove.
	* mw-fb/Makefile.am: Remove config.h.
	AM_CPPFLAGS += -I$(top_builddir).
	* rtmonuse/config.h: Remove.
	* rtmonuse/Makefile.am: Remove config.h.
	AM_CPPFLAGS += -I$(top_builddir).
	* serdbg/config.h: Remove.
	* serdbg/Makefile.am: Remove config.h.
	AM_CPPFLAGS += -I$(top_builddir).
	* shell/config.h: Remove.
	* shell/Makefile.am: Remove config.h.
	AM_CPPFLAGS += -I$(top_builddir).
	* stackchk/config.h: Remove.
	* stackchk/Makefile.am: Remove config.h.
	AM_CPPFLAGS += -I$(top_builddir).
	* untar/config.h: Remove.
	* untar/Makefile.am: Remove config.h.
	AM_CPPFLAGS += -I$(top_builddir).
2003-11-20 07:38:31 +00:00
Joel Sherrill
3160ff6241 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* cpuuse/cpuuse.c, cpuuse/cpuuse.h, devnull/devnull.c,
	devnull/devnull.h, dummy/dummy.c, dumpbuf/dumpbuf.c,
	dumpbuf/dumpbuf.h, fsmount/fsmount.c, fsmount/fsmount.h,
	serdbg/serdbgio.c, serdbg/termios_printk.c, stackchk/check.c,
	stackchk/internal.h, stackchk/stackchk.h, untar/untar.c,
	untar/untar.h: URL for license changed.
2003-09-04 18:54:19 +00:00
Ralf Corsepius
2cc936789e 2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove (Merged into ../configure.ac).
	* Makefile.am:
	Reflect having merged configure.ac into ../configure.ac.
	* capture/config.h: New.
	* capture/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* cpuuse/config.h: New.
	* cpuuse/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* devnull/config.h: New.
	* devnull/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* dummy/config.h: New.
	* dummy/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* dumpbuf/config.h: New.
	* dumpbuf/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* monitor/config.h: New.
	* monitor/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* mw-fb/config.h: New.
	* mw-fb/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* rtmonuse/config.h: New.
	* rtmonuse/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* serdbg/config.h: New.
	* serdbg/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* shell/config.h: New.
	* shell/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* stackchk/config.h: New.
	* stackchk/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* untar/config.h: New.
	* untar/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* wrapup/Makefile.am:
	Reflect having merged configure.ac into ../configure.ac.
2003-07-08 10:39:58 +00:00
Ralf Corsepius
550c3df787 2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* capture/capture-cli.c: Add config-header support.
	* capture/capture.c: Add config-header support.
	* cpuuse/cpuuse.c: Add config-header support.
	* devnull/devnull.c: Add config-header support.
	* dummy/dummy.c: Add config-header support.
	* dumpbuf/dumpbuf.c: Add config-header support.
	* monitor/mon-command.c: Add config-header support.
	* monitor/mon-config.c: Add config-header support.
	* monitor/mon-dname.c: Add config-header support.
	* monitor/mon-driver.c: Add config-header support.
	* monitor/mon-extension.c: Add config-header support.
	* monitor/mon-itask.c: Add config-header support.
	* monitor/mon-manager.c: Add config-header support.
	* monitor/mon-monitor.c: Add config-header support.
	* monitor/mon-mpci.c: Add config-header support.
	* monitor/mon-object.c: Add config-header support.
	* monitor/mon-prmisc.c: Add config-header support.
	* monitor/mon-queue.c: Add config-header support.
	* monitor/mon-server.c: Add config-header support.
	* monitor/mon-symbols.c: Add config-header support.
	* monitor/mon-task.c: Add config-header support.
	* mw-fb/mw_fb.c: Add config-header support.
	* mw-fb/mw_uid.c: Add config-header support.
	* rtmonuse/rtmonuse.c: Add config-header support.
	* serdbg/serdbg.c: Add config-header support.
	* serdbg/serdbgio.c: Add config-header support.
	* serdbg/termios_printk.c: Add config-header support.
	* shell/cmds.c: Add config-header support.
	* stackchk/check.c: Add config-header support.
	* untar/untar.c: Add config-header support.
2003-07-08 08:39:16 +00:00
Ralf Corsepius
5a8a05b2c9 2002-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add check for weak function attribute.
	Remove AM_CONDITIONAL([RTEMS_LIBSHELL].
	Add AM_CONDITIONAL(LIBSHELL), AM_CONDITIONAL(LIBSERDBG).
	* capture/Makefile.am:  Use *.a instead of *-tmp.a.
	* cpuuse/Makefile.am:  Use *.a instead of *-tmp.a.
	* devnull/Makefile.am:  Use *.a instead of *-tmp.a.
	* dummy/Makefile.am:  Use *.a instead of *-tmp.a.
	* dumpbuf/Makefile.am:  Use *.a instead of *-tmp.a.
	* monitor/Makefile.am:  Use *.a instead of *-tmp.a.
	* mw-fb/Makefile.am:  Use *.a instead of *-tmp.a.
	* rtmonuse/Makefile.am:  Use *.a instead of *-tmp.a.
	* serdbg/Makefile.am:  Use *.a instead of *-tmp.a.
	Build iff LIBSERDBG is true.
	* shell/Makefile.am:  Use *.a instead of *-tmp.a.
	Build iff LIBSHELL is true.
	* stackchk/Makefile.am:  Use *.a instead of *-tmp.a.
	* untar/Makefile.am:  Use *.a instead of *-tmp.a.
	* wrapup/Makefile.am: Reflect changes above.
2003-01-24 12:05:44 +00:00
Ralf Corsepius
126660c57d 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Require autoconf-2.57+automake-1.7.2.
	* capture/Makefile.am: Eliminate C_O_FILES.
	* cpuuse/Makefile.am: Ditto.
	* devnull/Makefile.am: Ditto.
	* dummy/Makefile.am: Ditto.
	* dumpbuf/Makefile.am: Ditto.
	* monitor/Makefile.am: Ditto.
	* rtmonuse/Makefile.am: Ditto.
	* serdbg/Makefile.am: Ditto.
	* shell/Makefile.am: Ditto.
	* stackchk/Makefile.am: Ditto.
	* untar/Makefile.am: Ditto.
	* mw-fb/Makefile.am: Eliminate C_O_FILES.
	Eliminate SRCS.
2002-12-12 06:09:21 +00:00
Ralf Corsepius
5e622a9125 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Moving libmisc from rtems/c/src to rtems/cpukit.

	* Makefile.am: Reflect new path.
	* configure.ac: Reflect new path.
	Use RTEMS_ENV_RTEMSCPU instead of RTEMS_ENV_RTEMSBSP.
	Remove RTEMS_PROJECT_ROOT.
	* capture/Makefile.am: Reflect new path.
	Remove OBJS from all-local.
	* cpuuse/Makefile.am: Ditto.
	* devnull/Makefile.am: Ditto.
	* dummy/Makefile.am: Ditto.
	* dumpbuf/Makefile.am: Ditto.
	* monitor/Makefile.am: Ditto.
	* mw-fb/Makefile.am: Ditto.
	* rtmonuse/Makefile.am: Ditto.
	* serdbg/Makefile.am: Ditto.
	* shell/Makefile.am: Ditto.
	* stackchk/Makefile.am: Ditto.
	* untar/Makefile.am: Ditto.
	* wrapup/Makefile.am: Reflect new path.
2002-12-12 03:08:54 +00:00
Ralf Corsepius
52058a6b0f 2002-12-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* capture/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* cpuuse/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* devnull/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* dummy/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* dumpbuf/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* monitor/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* mw-fb/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* rtmonuse/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* serdbg/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* shell/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* stackchk/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* untar/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
2002-12-10 08:48:53 +00:00
Ralf Corsepius
22b689b274 2002-11-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* capture/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* serdbg/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* serdbg/serdbgio.c: Add #include <unistd.h>.
	* shell/Makefile.am: Add RTEMS_LIBSHELL conditional.
	* wrapup/Makefile.am: Add RTEMS_LIBSHELL conditional.
	* configure.ac: Check for stdio assignments.
	Add RTEMS_LIBSHELL conditional.
2002-11-14 12:13:26 +00:00
Ralf Corsepius
45e4f321ed 2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* capture/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* cpuuse/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* devnull/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* dummy/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* dumpbuf/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* monitor/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* mw-fb/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* rtmonuse/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* serdbg/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* shell/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* stackchk/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* untar/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-08-11 05:51:17 +00:00
Joel Sherrill
9e633f58da 2002-06-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
* With the addition of serdbg, the standard polled I/O functions
	for gdbstub and/or printk are optionally routed to any termios-aware
	device driver, that supports polled mode. See libmisc/serdbg/README.
	* serdbg/Makefile.am, serdbg/README, serdbg/serdbg.c, serdbg/serdbg.h,
	serdbg/serdbgcnf.h, serdbg/serdbgio.c, serdbg/termios_printk.c,
	serdbg/termios_printk.h, serdbg/termios_printk_cnf.h,
	serdbg/.cvsignore: New files.
	* configure.ac, Makefile.am, wrapup/Makefile.am: Modified to
	reflect addition.
2002-06-27 21:25:14 +00:00