Commit Graph

205 Commits

Author SHA1 Message Date
Joel Sherrill
96e6a86cd3 2001-03-28 Joel Sherrill <joel@OARcorp.com>
* PR132 requested some tinkering ot lower memory.
	* include/confdefs.h: Lowered footprint of device driver table
	and statically configure user extensions.  Now if no static
	extensions are configured, then the table is not instantiated.
2002-03-28 19:32:16 +00:00
Joel Sherrill
ef7ceb4f5e 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:45:40 +00:00
Joel Sherrill
ac97074f37 2001-03-15 Joel Sherrill <joel@OARcorp.com>
* src/extension.c: Split to reduce minimum code size per PR134.
	* src/extensioncreate.c, src/extensiondelete.c, src/extensionident.c:
	New files.
	src/Makefile.am: Modified to reflect above.
2002-03-15 14:32:22 +00:00
Joel Sherrill
93011536d9 2002-01-07 Joel Sherrill <joel@OARcorp.com>
* optman/, optman/.cvsignore, optman/Makefile.am, optman/no-ext.c,
	optman/no-io.c: Removed entire contents of optman/ directory since
	it has been moved.
2002-01-07 14:16:17 +00:00
Joel Sherrill
8217c40656 2001-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use AS_IF instead of if/then/else.
	Add AC_DEFINE_UNQUOTED(RTEMS_UNIX) for RTEMS_CPU==unix.
	Add AC_DEFINE_UNQUOTED(RTEMS_UNIXLIB) for RTEMS_CPU==unix.
	Add include/Makefile to CONFIG_FILES.
	Add AC_ENABLE_MULITLIB.
	Remove wrapup/rtems, wrapup/itron, wrapup/posix.
	Remove */optman/Makefile from CONFIG_FILES.
	* Makefile.am: Add include to SUBDIRS.
	* rtems/Makefile.am: Remove optman from SUBDIRS.
	* sapi/Makefile.am: Remove optman from SUBDIRS.
	* include/Makefile.am: New file.
	* include/rtems/bspIo.h: Relocated from lib/include.
	* include/rtems/libio_.h: Relocated from lib/include.
2002-01-04 17:57:28 +00:00
Joel Sherrill
624c881ae0 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* optman/Makefile.am: Add multilib support.
	* src/Makefile.am: Add multilib support.
2001-12-19 14:35:14 +00:00
Joel Sherrill
059a371409 2001-10-16 Chris Johns <ccj@acm.org>
* include/confdefs.h, include/rtems/config.h, include/rtems/io.h,
	optman/no-io.c, src/exinit.c, src/io.c: Added a device driver
	register/unregister interface to allow device drivers to be
	installed and removed at runtime. This means you do not need devices
	present in the device table when you build.
2001-10-16 19:05:29 +00:00
Joel Sherrill
a11e5d35cd 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/Makefile.am: Remove.
	* include/Makefile.am: Handle subdirs, require automake-1.5.
	* inline/rtems/Makefile.am: Remove.
	* inline/Makefile.am: Handle subdirs, require automake-1.5.
	* macros/rtems/Makefile.am: Remove.
	* Makefile.am: require automake-1.5.
2001-10-16 13:31:15 +00:00
Joel Sherrill
2a691da6aa 2001-10-12 Joel Sherrill <joel@OARcorp.com>
* include/rtems/directives.h: Fixed typo.
2001-10-12 20:57:31 +00:00
Joel Sherrill
0e053e83ae 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
	* include/Makefile.am: Use 'PREINSTALL_FILES ='.
	* inline/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
	* macros/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-28 13:36:26 +00:00
Joel Sherrill
fa1661b611 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* optman/Makefile.am: Adapt ASM4FLAGS to automake-1.5.
2001-09-24 18:20:53 +00:00
Joel Sherrill
1d4bac927a 2001-04-16 Joel Sherrill <joel@OARcorp.com>
* include/confdefs.h: Fix real-time clock support.
2001-04-16 20:32:16 +00:00
Joel Sherrill
3ebf5df3c6 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am, include/rtems/Makefile.am,
	inline/rtems/Makefile.am, macros/rtems/Makefile.am:
	Apply include_*HEADERS instead of H_FILES.
2001-02-05 18:32:28 +00:00
Joel Sherrill
623893cc0d 2001-01-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/confdefs.h: define CONFIGURE_NEWLIB_EXTENSION 0 if not
	using NEWLIB, cleanup related comment.
2001-01-29 15:43:46 +00:00
Joel Sherrill
9c63d90561 2001-01-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/confdefs.h: include cpuopts.h, replace stubdr w/ devnull.
2001-01-26 21:54:57 +00:00
Joel Sherrill
72ad6aac90 2000-10-30 Joel Sherrill <joel@OARcorp.com>
* POSIX include files merged into newlib.  This resulted in
	some definitions moving to other files and thus some secondary
	effects in RTEMS source code.
	* include/confdefs.h: Replaced include of <sys/siginfo.h> with
	<signal.h> since that file no longer exists.
2000-10-31 16:35:16 +00:00
Joel Sherrill
45c3da3b36 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* include/confdefs.h: Set CONFIGURE_INIT_TASK_STACK_SIZE to 0
	if there is no Classic API Initialization Tasks Table defined.
2000-10-18 18:08:32 +00:00
Joel Sherrill
399c2e5d5a 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* include/confdefs.h: Modified code that accounts for initialization
	task/threads with greater than minimum stack sizes so it would
	compile even if optional APIs are disabled.
2000-10-18 12:55:58 +00:00
Joel Sherrill
563ed952ce 2000-10-12 Joel Sherrill <joel@OARcorp.com>
* include/confdefs.h: Account for initialization tasks and
	threads which use larger than minimum stack sizes.
2000-10-12 19:44:30 +00:00
Joel Sherrill
2e61938324 2000-09-28 Joel Sherrill <joel@OARcorp.com>
* include/rtems/io.h (rtems_driver_address_table): Added "_entry"
	to all names.
	* src/io.c: Accounted for above.
2000-09-28 20:22:40 +00:00
Joel Sherrill
3ac5d4e276 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/Makefile.am, optman/Makefile.am: Include compile.am.
2000-09-05 15:34:41 +00:00
Joel Sherrill
e94ad1feb9 Adding ChangeLogs. 2000-08-10 13:24:00 +00:00
Joel Sherrill
168ba07c84 Patch from Eric Valette <valette@crf.canon.fr> and Yacine El Kolli
<elkolli@crf.canon.fr> to add support for the mbx860_005b.
2000-07-06 20:36:48 +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
db3e01084a Patch rtems-rc-19991203-6.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which fixes a nasty dependency bug in optman/Makefile.am. Those
directories have been build twice before, i.e. re-running make after
having built rtems before, was rebuilding the files in optman/
directories.

    To apply:
        patch -p1 < rtems-rc-19991203-6.diff
        ./bootstrap
1999-12-21 14:32:00 +00:00
Joel Sherrill
49da88cc99 Patch rtems-rc-19991117-16.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
* the PACKHEX etc problem
  * prevents the *.rels being removed inside the build-tree
  * a typo which only shows for when MP is activated
  * Alters some custom/*cfg files
1999-11-23 15:53:09 +00:00
Joel Sherrill
fba12eb6ff Patch rtems-rc-19991117-11.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libc directory to automake and "dozens of
small fixes for Makefile.ins/configure.ins below c/src/lib."
1999-11-23 13:29:04 +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
f4b76ab569 Fixed so can be included multiple times in the executive source. 1999-11-16 16:04:51 +00:00
Joel Sherrill
352c9b2035 This patch adds the basic framework for the ITRON 3.0 API implementation
for RTEMS.
1999-11-09 22:07:23 +00:00
Joel Sherrill
1007c3c8ba Fixed warning where initialized default POSIX API structure did
have have semaphores and message queue fields.
1999-11-09 19:54:40 +00:00
Joel Sherrill
968f774296 Fixed typo. 1999-11-05 17:45:55 +00:00
Joel Sherrill
458bd343e2 This is another pass at making sure that nothing outside the BSP
unnecessarily uses any variables defined by the BSP.  On this
sweep, use of BSP_Configuration and Cpu_table was eliminated.

A significant part of this modification was the addition of
macros to access fields in the RTEMS configuration structures.

This is necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves.  This started after
comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-11-05 16:44:02 +00:00
Joel Sherrill
f817b0283c The files in libcpu should not be directly dependent on any BSP. In
particular, using bsp.h, or getting information from the BSP which
should properly be obtained from RTEMS is forbidden.  This is
necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves.  This started after
comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
The changes primarily eliminated the need to include bsp.h and
peeking at BSP_Configuration.  The use of Cpu_table in each
BSP needs to be eliminated.
1999-11-04 18:05:09 +00:00
Joel Sherrill
86ed4f09d7 Added CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM as a configuration
parameter.
1999-11-03 12:48:41 +00:00
Joel Sherrill
3f421dab80 Added message queues and semaphores. 1999-11-02 15:56:10 +00:00
Joel Sherrill
be0fc09935 Added CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES and
CONFIGURE_MAXIMUM_POSIX_SEMAPHORES.
1999-11-02 15:55:34 +00:00
Joel Sherrill
43f7a90fc2 Enabled configuring mini or full IMFS. 1999-11-01 20:58:23 +00:00
Joel Sherrill
9583f6eacc Renamed CONFIGURE_POSIX_INIT_TASK_STACK_SIZE to
CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE because in POSIX they are threads.
1999-10-21 16:41:59 +00:00
Joel Sherrill
811804fec8 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make fix bug
where wrapup left pieces out of the librtemsall.a.
1999-10-04 19:15:14 +00:00
Joel Sherrill
4f021c01cc Removed Makefile.in generated from Makefile.am 1999-10-04 17:33:23 +00:00
Joel Sherrill
473b4e58d0 Regenerated. 1999-10-04 13:30:15 +00:00
Joel Sherrill
e1d8abbe28 Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many
Makefile.in's to Makefile.am's.  This added a lot of files.
1999-09-07 13:45:03 +00:00
Joel Sherrill
c935c5f9db Removed by patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many
Makefile.in's to Makefile.am's.
1999-09-07 12:55:28 +00:00
Joel Sherrill
1896a650fc Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The main topic is replacing the hard-coded values for HAS_MP and
  HAS_RDBG in custom/*.cfg with per-bsp configuration-time autoconf checks
  (This is the patch I had mentioned before earlier this week).

  CHANGES

  * HAS_MP removed from custom/*.cfg, replaced with configuration time
    autoconf check
  * HAS_RDBG removed from custom/*.cfg, replaced with configuration-time
    autoconf check
  * NEW: c/src/make/bsp.cfg.in, takes configuration-time checked per-bsp
    values (i.e. HAS_MP, HAS_RDBG), gets installed as
    $(prefix)/<bsp>/make/bsp.cfg
  * NEW: default.cfg includes bsp.cfg - this change is backward
    compatible.
  * IMPORT_SRC: apply VPATH instead for ts_386ex/i386ex subdirectory
    Makefile.ins
  * HACK: a bug in acpolish mis-handles addtions to makefile variables
    which are enclosed in gmake conditionals:
    c/src/lib/libbsp/m68k/ods68302/start302/Makefile.in
  * Apply inline_dir, HAS_MP and HAS_RDBG for avoiding configuration of
    unneeded subdirectories in various configure.in files.
  * Several minor changes in Makefile.ins and configure.ins, wrt. to the
    order of including *.cfg and defining Makefile variables

  APPLYING THE PATCH:

      patch -p1 < rtems-rc-19990709-4.diff
      ./autogen
1999-07-30 17:52:50 +00:00
Joel Sherrill
29e68b7584 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch is an addition to "The big-patch"

  CHANGES:
  * FIX: c/Makefile.am: bogus comment which changed the behavior of
    c/Makefile.am removed
  * FIX: make/custom/ts_i386ex.cfg did not set HAS_NETWORKING correctly
    (Me thinks it might have been me who added this bogus setting :-).

  * NEW: removing make targets get, protos, debug_install, profile_install

  * NEW: replacing clobber with distclean
  * NEW: Reimplement distclean and clean as reverse depth first make
    targets (adaptation to automake's behavior)
  * NEW: removing RCS_CLEAN from make distclean (tools/build/rcs_clean is
    still in - remove it?)
  * NEW: "$(RM) Makefile" added to make distclean (adaptation to
    automake's behavior)
  * NEW: "$(RM) config.cache config.log" to CLOBBER_ADDITIONS in
    [lib|exec|tests]/Makefile.in (adaptation to automake's behavior)
  * NEW: "$(CLEAN_PROTOS)" removed (Not used anywhere)
  * NEW: binpatch.c moved from i386 bsp tools to tools/build (AFAIS,
    binpatch is not specific to the pc386 BSP at all)
  * NEW: AC_EXEEXT added to all configure scripts which contain AC_PROG_CC
    (Cygwin support)

  * NEW/Experimental: An experimental implementation of temporary
    installation tree support in libbsp/i386/pc386/tools/Makefile.am, based
    on dependency tracking with make, instead of applying INSTALL_CHANGE.


  REMARK:
  * This patch is small in size, but changes the behavior of "make
    clean|distclean|clobber" basically.
  * This patch does not alter building/compiling RTEMS, ie. there should
    be no need to rerun all "make all" building tests.

  KNOWN BUGS:
  * make RTEMS_BSP="..." distclean in c/ runs "make distclean" in BSPs
    subdirectories passed through RTEMS_BSP and in "c/." only, but does not
    descend into other BSP subdirectories previously configured with
    different settings of make RTEMS_BSP="...".
    => Workaround: always use the same setting of RTEMS_BSP when working
    inside the build-tree.

  * "make [distclean|clean]" do not clean subdirectories, which have been
    configured at configuration time, but  which are not used due to
    make-time configuration (e.g. macros/networking/rdgb subdirectories).
    This will problem will vanish by itself when migrating from make-time to
    configuration-time configuration

  APPLYING THE PATCH

      mv c/src/lib/libbsp/i386/pc386/tools/binpatch.c tools/build
      patch -p1 < rtems-rc-19990709-2.diff
      autogen
1999-07-26 21:26:44 +00:00
Joel Sherrill
08b5f55b6f Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
A bug in acpolish made it into rtems-rc-19990709-0.diff, which
    unfortunately affects all Makefile.ins:

    * The maintainer mode conditional was erroniously applied to the
      dependencies of "Makefile".

    In case you already checked in rtems-rc-19990709-0.diff to CVS you have
    to check in all Makefile.ins again after applying the patch below :).

    Please apply the patch below as follows:

        patch -p1 < rtems-rc-19990709-1.diff
        tools/update/rtems-polish.sh -ac

    Note: There is no need to rerun your tests if you have used
    --enable-maintainer-mode to configure RTEMS, because this patch converts
    all Makefile.ins to the same settings as used for
    --enable-maintainer-mode.
1999-07-26 20:31:49 +00:00