Commit Graph

31 Commits

Author SHA1 Message Date
Joel Sherrill
bf89c76217 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* libmisc/rtmonuse/rtmonuse.c: Do not use float for calculations.
2006-11-17 22:55:51 +00:00
Joel Sherrill
352332193c 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-command.c,
	libmisc/monitor/mon-driver.c, libmisc/monitor/mon-symbols.c,
	libmisc/rtmonuse/rtmonuse.c, libmisc/stackchk/check.c,
	libnetworking/libc/res_debug.c, telnetd/telnetd.c: Remove printf
	format warnings.
2006-08-30 13:53:02 +00:00
Ralf Corsepius
cbd76915cf 2004-12-02 Ralf Corsepius <ralf.corsepius@rtems.org>
* libmisc/capture/capture-cli.h, libmisc/capture/capture.h,
	libmisc/monitor/monitor.h, libmisc/rtmonuse/rtmonuse.h,
	libmisc/shell/shell.h: Partial doxygenification.
	* libmisc/capture/capture.h: Use INT32_C for constants.
2004-12-02 18:20:51 +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
714f06c7fa 2004-04-17 Ralf Corsepius <ralf_corsepius@rtems.org>
* libmisc/capture/capture-cli.c, libmisc/cpuuse/cpuuse.c,
	libmisc/dumpbuf/dumpbuf.c, libmisc/fsmount/fsmount.c,
	libmisc/monitor/mon-command.c, 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-symbols.c,
	libmisc/monitor/mon-task.c, libmisc/rtmonuse/rtmonuse.c,
	libmisc/shell/cmds.c, libmisc/shell/shell.c, libmisc/shell/shell.h,
	libmisc/stackchk/check.c, libmisc/untar/untar.c: Use
	fprintf(stdout,...) instead of printf.
2004-04-17 08:12:02 +00:00
Ralf Corsepius
aed742c9a0 Remove stray white spaces. 2004-04-16 12:06:28 +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
Joel Sherrill
e482c59285 2003-12-11 Joel Sherrill <joel@OARcorp.com>
PR 540/rtems_misc
	* cpuuse/cpuuse.c, rtmonuse/rtmonuse.c: Correct object name printing.
2003-12-11 14:21:00 +00:00
Joel Sherrill
028e84cf16 2003-12-11 Joel Sherrill <joel@OARcorp.com>
PR 531/rtems_misc
	* rtmonuse/rtmonuse.c, stackchk/check.c: Correct indexing.
2003-12-11 14:18:16 +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
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
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
be2cd08cb5 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* cpuuse/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* devnull/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* dummy/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* dumpbuf/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* monitor/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mw-fb/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rootfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtmonuse/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* shell/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* stackchk/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* untar/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:49:39 +00:00
Joel Sherrill
aea9bb4695 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* untar/Makefile.am: Use 'PREINSTALL_FILES ='.
	* monitor/Makefile.am: Use 'PREINSTALL_FILES ='.
	* shell/Makefile.am: Use 'PREINSTALL_FILES ='.
	* devnull/Makefile.am: Use 'PREINSTALL_FILES ='.
	* dumpbuf/Makefile.am: Use 'PREINSTALL_FILES ='.
	* mw-fb/Makefile.am: Use 'PREINSTALL_FILES ='.
	* stackchk/Makefile.am: Use 'PREINSTALL_FILES ='.
	* rtmonuse/Makefile.am: Use 'PREINSTALL_FILES ='.
	* cpuuse/Makefile.am: Use 'PREINSTALL_FILES ='.
	* rootfs/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-28 13:34:40 +00:00
Joel Sherrill
620e82636b 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* untar/Makefile.am, monitor/Makefile.am, dummy/Makefile.am,
	devnull/Makefile.am, dumpbuf/Makefile.am, mw-fb/Makefile.am,
	stackchk/Makefile.am, rtmonuse/Makefile.am, cpuuse/Makefile.am:
	Apply include_*HEADERS instead of H_FILES.
2001-02-05 18:26:26 +00:00
Joel Sherrill
7fcc26ac64 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* cpuuse/Makefile.am, dummy/Makefile.am, dumpbuf/Makefile.am,
	monitor/Makefile.am, rtmonuse/Makefile.am, stackchk/Makefile.am,
	untar/Makefile.am, wrapup/Makefile.am, mw-fb/Makefile.am:
	Include compile.am.
2000-09-05 15:32:34 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill
bf85b19188 Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
adds .cvsignore.
2000-04-13 14:37:14 +00:00
Joel Sherrill
70810dcd89 Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains:

* Removes remaining (now illegal) references to $(SRC) from a couple of
  Makefile.ams
* Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in
* Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR
  from most configure scripts, i.e. LIBCDIR becomes less visible)
* Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to
  libbsp/*/configure.ins (A minor bug in previous implementations, which
  only has an impact when switching to GNU/Cygnus canonicalization)
* Cleans up several bogus comments.
* Removes MKLIB
* Switches the version number to 4.5.0 (for testing version number
  handling)
2000-02-08 22:33:25 +00:00
Joel Sherrill
d5b004b6e3 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libmisc directory from Makefile.in to Makefile.am.
1999-11-23 13:52:59 +00:00
Joel Sherrill
9608320702 Patch rtems-rc-19991117-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
.. a major configuration cleanup
    ... major enhancement of automake support.

    ... and it contains a *major*  breakthough:

    Automake support for libchip and libmisc *LEAF* directories.

    To implement this I have used several nasty tricks
        * The basical trick is to wrap an old Makefile.in's contents into a
          Makefile.am and still continue to use (i.e include) the old
          *.cfg files.

        * Replaced each INSTALL_IF_CHANGE and INSTALL_VARIANT with make
          dependencies
        * Add a gnu-make ifdef AUTOMAKE to main.cfg to avoid conflicts between
          automake and RTEMS make rules
        * Replaced each install:: and preinstall:: rule with make dependencies
        * Replaced SUB_DIRS with SUBDIRS in all Makefile.ins (Automake
          convention)
        * Removed each manually added autoconf substitution which automake
          performs automatically.

    This is not yet full automake support, because using the temporary
    installation directory, preinstallation in general and building variants
    are in contradiction to automake's basic working principles ...

    ... the new Makefile.ams work still somewhat clumsy
    ... nevertheless they work (quite well).

    WARNING:

    At first glance this patch is small, but
        * it affects the whole configuration system.
        * it opens the road to introducing automake to all Makefile.ins
          currently not being under automake control.

    JOEL> Does this remove or add any files?

    Both, all Makefile.ins below libchip and libmisc get replaced with
    Makefile.ams.
1999-11-22 13:41:11 +00:00
Joel Sherrill
bfc3533594 Include files now installed as <rtems/*.h>. 1998-12-01 13:56:46 +00:00
Joel Sherrill
b57992a382 Removed assert condition when not initialized or there are 0 periods. 1997-08-22 19:17:54 +00:00
Joel Sherrill
fc7bc517db new files. 1997-04-09 20:18:54 +00:00