Commit Graph

38 Commits

Author SHA1 Message Date
Sebastian Huber
a0b1b5edb8 Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
This define was superfluous, undocumented and used inconsistently.
2014-12-16 11:34:38 +01:00
Sebastian Huber
e870941bb0 libmisc: More useful default configuration
The dummy.c was a de-facto default configuration.  Rename it to
default-configuration.c.  Use unlimited objects and the stack checker.
This makes it easier for new RTEMS users which will likely use this file
if they just work with the usual main() function as the application
entry point.  Provide proper arguments for main() using the BSP command
line.  Add spare user extensions and drivers.

Do not initialize the network by default.  Delete bspinit.c.
2014-12-05 07:47:06 +01:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Sebastian Huber
7571a235c5 sapi: PR1911: Add CONFIGURE_DISABLE_BSP_SETTINGS 2013-02-12 09:31:27 +01:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Sebastian Huber
6c6b2f13f4 2010-12-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* 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-12-08 10:30:27 +00:00
Chris Johns
0d15414ed6 009-08-05 Chris Johns <chrisj@rtems.org>
* libmisc/dummy/dummy-networking.c: New.
        * libmisc/dummy/dummy.c, libmisc/Makefile.am: Move
        trhe networking configuration into a separate file so
        configuration varations do not cause conflicts.
        * score/inline/rtems/score/object.inl,
        score/include/rtems/score/object.h: Remove warnings.
        * score/inline/rtems/score/object.inl: Add _Chain_First,
        _Chain_Last, _Chain_Mext, and _Chain_Previous.
        * sapi/inline/rtems/chain.inl: Add rtems_chain_first,
        rtems_chain_last, rtems_chain_mext, and rtems_chain_previous.
        * libblock/include/rtems/diskdevs.h: Remove the bdbuf pool id and
        block_size_log2. Add media_block_size.
        * libblock/src/diskdevs.c: Remove size restrictions on block
        size. Add media block size initialisation. Remove comment to clean
        up the bdbuf cache.
        * libblock/src/blkdev.c: Remove references to
        block_size_log2. Allow any block size.
        * libblock/include/rtems/bdbuf.h, libblock/src/bdbuf.c: Remove all
        references to pools and make the cache handle demand driver
        variable buffer size allocation. Added worker threads support the
        swapout task.
        * sapi/include/confdefs.h: Updated the bdbuf configutation.
2009-08-05 00:00:54 +00:00
Ralf Corsepius
b7cfd627b3 Add missing initializers. 2008-12-23 05:00:57 +00:00
Joel Sherrill
aa4a3f1ac4 2008-08-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/dummy/dummy.c: Add missing initializers.
	* score/src/threadinitialize.c: Change type of loop counter.
2008-08-20 22:24:09 +00:00
Joel Sherrill
ccec63e98d 2008-08-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/error.c, libmisc/dummy/dummy.c,
	rtems/src/rtemsobjectgetapiclassname.c,
	rtems/src/rtemsobjectgetapiname.c: Add 0 for missing initializers.
2008-08-20 19:31:24 +00:00
Joel Sherrill
46cb968176 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 741/networking
	* libmisc/dummy/dummy.c: Add dummy network configuration.
2008-08-05 16:33:03 +00:00
Joel Sherrill
df0bfdf068 2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for
	application configuration errors. If any POSIX objects or a POSIX
	init thread is configured without POSIX being configure, then error
	out. Similarly for ITRON. Add
	CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER configuration
	parameter so the application has to explicitly configure the Clock
	driver in or out if the Timer driver is not configured. Also verify
	RTEMS was built for multiprocessing, if the user tries to configure a
	multiprocessing application.
2008-04-17 22:42:10 +00:00
Ralf Corsepius
3239698d1f Remove stray white spaces. 2004-04-15 13:26:21 +00:00
Ralf Corsepius
8df1cfbc76 2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>
* libmisc/dummy/dummy.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
2004-04-01 15:23:13 +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
ccb1a6ecbb Merger from rtems-4-6-branch. 2003-04-17 10:55:40 +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
b3afc0f89d 2001-05-14 Joel Sherrill <joel@OARcorp.com>
* dummy/Makefile.am, wrapup/Makefile.am: Fixed to generate
	a library of the same name.
2002-05-14 22:09:29 +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
d805c4961d 2001-09-28 Joel Sherrill <joel@OARcorp.com>
* dummy/dummy.c: Now a useful configuration that starts main().
	* wrapup/Makefile.am: Include a base level configuration in
	RTEMS library.
2001-09-28 23:15:51 +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
e6b3db9eff Increased the defaults to be more reasonable. 2000-08-01 15:16:18 +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
4e36a2f133 Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> that contain:

    * Modifications, (minor) corrections, cleanups to most existing
      Makefile.ams
    * Adds automake support to all remaining BSPs which have not yet been
      converted to automake.
    * Makefile.am for all remaining wrapup/Makefile.ams
2000-01-31 15:27:02 +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
08311cc3a9 Updated copyright notice. 1999-11-17 17:51:34 +00:00
Joel Sherrill
b07e06a1bc New files from Ralf Corsepius <corsepiu@faw.uni-ulm.de> which
are a dummy for linking programs together when you are primarily
concerned with tricking another package into building.

This may grow into something which could help link programs on
the command line by having a default start sequence.
1999-10-27 19:35:36 +00:00