Commit Graph
22127 Commits
Author SHA1 Message Date
Joel Sherrill 6f93bb49b4 Patch from Chris Johns <cjohns@cybertec.com.au> to enhance network
initialization.  This adds an interface which makes it easier to
control the BSD stack from user code. The BSD stack initialise uses
it. It is a sort of `function' interface for an ifconfig
command.

I also added support for attaching and removing interfaces. With hot
swap PCI comming online support for hot swap PCI will be an important
factor in "state of art" RTOS's. This is also part of a general move on
my part to allow RTEMS to be configured at runtime by calls rather than
table driven at initialisation.
2000-06-14 17:18:18 +00:00
Joel Sherrill ec6968b1c4 Patch rtems-rc-20000614-2-cvs.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> to evaluate ACLOCAL_AMFLAGS in
Makefile.ams before running aclocal.

  Remark: This patch is in preparation to switching to Cygnus/GNU
  canonicalization. I plan to introduce to an alternate aclocal macros
  directory which shall contain Cygnus/GNU conforming macros only,
  soon.
2000-06-14 17:15:18 +00:00
Joel Sherrill c63a5cfe57 Patch rtems-rc-20000614-1-cvs.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> that addresses a couple of
minor configuration issues which popped up when
experimenting with multilibs.

  Note: The multigen generated make/custom/bare-*.cfg will still be
  non-functional, even after having applied this patch.
2000-06-14 17:12:23 +00:00
Joel Sherrill ac81543051 Patch rtems-rc-20000614-sh.tar.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> that migrates the SH port to
multilib'ing.  This patch involved moving a number of
files in the CVS repository, adding new files, and
deleting files from their previous location.  Ralf
gave good instructions (not repeated here) and here
are his notes:

  Note 1: In this version, I did not change the installation points of
  the headers which are moved inside of the source-tree. This is a
  temporary hack for not breaking compatibility with 4.5 based BSPs,
  but will probably not last once having real multilibs (We would have
  include file conflicts when several BSPs/CPU_MODELS share a common
  installation prefix).

  Note 2: I hope not to have broken too much, but I would not be
  astonished if something goes wrong.

  Note 3: There are more patches to come :)
2000-06-14 17:07:54 +00:00
Joel Sherrill 61bd030179 Moved PowerPC cache management code to libcpu. Also compiled
mpc8xx libcpu support for the first time and remove includes
of bsp.h, references to BSP_Configuration, and Cpu_table.  All
of these can be obtained directly from RTEMS now.
2000-06-14 15:52:24 +00:00
Joel Sherrill e4d7169f1c Must now pull in cache management code from libcpu. 2000-06-14 15:51:16 +00:00
Joel Sherrill 7ea5f34962 Removed alloc860.c and mmu.c from C_FILES since they are now in libcpu. 2000-06-14 15:48:51 +00:00
Joel Sherrill 14210f5279 Do not build if networking disabled. 2000-06-14 15:48:17 +00:00
Joel Sherrill 134b163f42 Removed building of libcpu.a. It is now the individual BSPs
responsibility to explicitly pick up the components they
require.  This makes it easier to override default implmentations.
2000-06-14 15:47:38 +00:00
Joel Sherrill bb47a3ba21 Changed to standard make-exe type rule. 2000-06-14 15:46:14 +00:00
Joel Sherrill b31839e7bc Moved PPC_VECTOR_FILE_BASE to targopts.h 2000-06-14 15:45:57 +00:00
Joel Sherrill 1188c0c692 Thread iterate not ready for submission -- removed. 2000-06-14 15:41:13 +00:00
Joel Sherrill ddbaa1ef6e Moved to include subdirectory. 2000-06-14 15:39:53 +00:00
Joel Sherrill 0a18747e56 New files containing cache manager functionality stripped from
score/cpu/powerpc.
2000-06-14 15:39:31 +00:00
Joel Sherrill 18dbd6a6ed New file. 2000-06-14 15:39:00 +00:00
Joel Sherrill abd9401a4a Functionality moved from directory above to accomodate building
shared source code.
2000-06-14 15:38:08 +00:00
Joel Sherrill 90ff45b78d Moved from score/cpu/PowerPC. 2000-06-14 15:37:30 +00:00
Joel Sherrill e90e428e14 Patch rtemsdoc-4.5.0-rc-13-cvs.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which:

* should fix the building rtemsdoc outside of the sourcetree with
  relative srcdir issue
* adds --enable-papersize=[letter|a4|]
2000-06-14 14:25:49 +00:00
Joel Sherrill fdcb2b52b7 Thread iterator and libgjc support submitted too early. 2000-06-14 13:38:47 +00:00
Joel Sherrill caacc739ff Fix typo. 2000-06-14 13:08:41 +00:00
Joel Sherrill afd63b7656 Added crude i960ka support. 2000-06-13 22:57:19 +00:00
Joel Sherrill df01ecce97 Pickup console-polled.c from the libbsp/shared directory. 2000-06-13 22:52:26 +00:00
Joel Sherrill 98a45c063a Removing clock and timer since this BSP does not currently
have them.
2000-06-13 22:34:54 +00:00
Joel Sherrill 8358faa427 Prototypes for cache manager support functions now agree. 2000-06-13 22:25:28 +00:00
Joel Sherrill 7d52750d9c New file. 2000-06-13 22:14:16 +00:00
Joel Sherrill cf1f72ea33 Moved i386 and m68k cache management code to libcpu. Everything
now is an implementation of the prototypes in rtems/rtems/cache.h.
The libcpu/i386/wrapup directory is no longer needed.
The PowerPC needs this done to it.
2000-06-13 21:53:38 +00:00
Joel Sherrill f0b11d63bc Added .cvsignore. 2000-06-13 21:52:13 +00:00
Joel Sherrill 310a2ec478 Added .cvsignore. 2000-06-13 21:45:42 +00:00
Joel Sherrill f94441ee91 Added .cvsignore files. 2000-06-13 21:45:04 +00:00
Joel Sherrill d2803ea634 Accounted for 1 task used. 2000-06-13 21:44:57 +00:00
Joel Sherrill c30f5e88ce Removed unused directories from Makefile.am and warnings
from cvs by adding .cvsignore files.
2000-06-13 21:44:09 +00:00
Joel Sherrill 80ad143b73 Temporary hack to compile. Need to probably address definition
of all FIO constants and conflict with libnetworking code.
2000-06-13 21:42:55 +00:00
Joel Sherrill 2adcb4dda6 Temporary hack to compile. 2000-06-13 21:41:45 +00:00
Joel Sherrill 3ab61f0a35 Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine Gauthier
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart
<Darlene.Stewart@nrc.ca> to add support for a number of very
significant things:

  + BSPs for many variations on the Motorola MBX8xx board series
  + Cache Manager including initial support for m68040
    and PowerPC
  + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use
    same code base.
  + Rework of eth_comm BSP to utiltize above.

John reports this works on the 821 and 860.
2000-06-12 21:34:51 +00:00
Joel Sherrill edc61d488b Fixed so hppa1.1 compiles with only problems in simhppa BSP. 2000-06-12 20:27:50 +00:00
Joel Sherrill 41ab696625 Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine Gauthier
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart
<Darlene.Stewart@nrc.ca> to add support for a number of very
significant things:

  + BSPs for many variations on the Motorola MBX8xx board series
  + Cache Manager including initial support for m68040
    and PowerPC
  + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use
    same code base.
  + Rework of eth_comm BSP to utiltize above.

John reports this works on the 821 and 860
2000-06-12 20:06:59 +00:00
Joel Sherrill 8ef38186fa Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine Gauthier
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart
<Darlene.Stewart@nrc.ca> to add support for a number of very
significant things:

  + BSPs for many variations on the Motorola MBX8xx board series
  + Cache Manager including initial support for m68040
    and PowerPC
  + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use
    same code base.
  + Rework of eth_comm BSP to utiltize above.

John reports this works on the 821 and 860
2000-06-12 19:57:02 +00:00
Joel Sherrill f481c39c01 Ensure that when -msoft-float is specified for multilib builds, that
something indicates this.  Eventually this needs to be merged into
gcc.
2000-06-12 18:46:54 +00:00
Joel Sherrill ce5b291fa4 Works on Solaris and Linux. 2000-06-12 18:45:54 +00:00
Joel Sherrill e275cabc4f Patch rtemsdoc-4.5.0-rc-12-cvs.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> that makes the following changes:

  * Don't use a temporary file for ch19.texi anymore
  * pass all files to be handled by summarize as commandline arguments
  * Remove a dangling empty first line in posix1003_1.texi (texi2html
    (!) expects \input texinfo on the first line)
2000-06-12 17:09:16 +00:00
Joel Sherrill 91a49b38b8 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to correct problems
on RELEASE versus VERSION.
2000-06-12 16:46:36 +00:00
Joel Sherrill f535868ae4 Added out of date comment. 2000-06-12 16:45:31 +00:00
Joel Sherrill 12b64d7bff Removed references to printk as part of moving it to a more shareable
location in libc.
2000-06-12 16:44:11 +00:00
Joel Sherrill 1bce637587 Added printk as a generic, shared routine. 2000-06-12 16:37:04 +00:00
Joel Sherrill 1f5cb74eb0 New file. This is a simple termios console driver which is sufficient
to do polled IO on a single port with VERY little support code.
2000-06-12 16:36:25 +00:00
Joel Sherrill 68c498f477 Added i960sim BSP which (ignoring the 3 instructions not supported
by gdb 5.0's i960 simulator) is enough to run hello world.
2000-06-12 16:34:46 +00:00
Joel Sherrill edeed26a86 Merge lossage. Apparently the DOS/UNIX CRLF issue got lost. 2000-06-12 15:39:38 +00:00
Joel Sherrill df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill 0ab6547431 Purged as many egcs references as possible. 2000-06-10 20:33:47 +00:00
Joel Sherrill 110445cba5 Patch rtems-rc-4.5.0-21.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which splits the current monolithic specs files into a sequence of
subparts.  These can be concatenated togather to make a the whole .spec
file.  This cleans up the maintenance problem of having "all languages"
and a "C/C++ only" gccnewlib spec files.  Plus it should make it easier
to produce variants like the gdb-m68k-bdm which require special hackery. :)
Ralf's comments:

  It addresses the way *.spec.in get composed inside of the source
  tree.

  Changes:
    * Each spec.in is broken into several files (*.add), one *.add file
      per sub-package.
    * Each Makefile.am composes spec.ins from the *.add files
    * Removal of redundant automake support files.
    * Default value for BuildRoot changed to /tmp/<spec-file-name>
    * %clean stage added to *specs

  Advantages (IMHO).
    * The *.add files are easier to adminstrate and more flexible in
      comparison to the former *.specs.ins.
    * gccnewlib_c_only.spec.in now is composed from the same sources as
      gccnewlib.spec.in (less errors)
    * If using the default BuildRoot --clean now deletes all files that
      were generated while building.

  Notes:
    * rtems.spec.in has not yet been adapted to the scheme used for the
      other *spec.ins
    * Except for cosmetical changes the internals of the  *.spec files
      should not have changed.

  To Apply:
    cvs rm -f scripts/binutils/binutils.spec.in
    cvs rm -f scripts/gccnewlib/gccnewlib.spec.in
    cvs rm -f scripts/gccnewlib/gccnewlib_c_only.spec.in
    cvs rm -f scripts/gdb/gdb.spec.in
    cvs rm -f scripts/config.sub
    cvs rm -f scripts/config.guess
    cvs rm -f scripts/install-sh
    cvs rm -f scripts/mkinstalldirs
    cvs rm -f scripts/missing

    patch -p1 < rtems-rc-4.5.0-21.diff

    cvs add scripts/*/*.add
    cvs add scripts/*/README
2000-06-10 19:41:09 +00:00