Commit Graph

4213 Commits

Author SHA1 Message Date
Joel Sherrill
fe4edc8ccf Include clockdrv.h and console.h per Frank Szczerba <frank@wmi.com>. 2000-05-31 14:14:27 +00:00
Joel Sherrill
6a8700de5f Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to:
This is the diff to let gcc-target-default.cfg use LINK.c -Wl,-r
  instead of LD -r for building *.rels.

  BTW: gcc -r works but seems to be undocumented, however
       as gcc -r -v shows it seems to works. Now I am using -Wl,-r :-)
2000-05-31 13:35:08 +00:00
Joel Sherrill
75061954c1 Patch from Nick Simon <Nick.SIMON@syntegra.bt.co.uk> to make
error.h C++ safe.
2000-05-30 14:07:37 +00:00
Joel Sherrill
a3f5b6be31 Added a special CPU model of "rtems_multilib". This is the beginnings
of an experiment to determine what it will take to multilib most of
RTEMS per GNU multilib conventions.  It is thought that only
interrupt processing and IO are not multlib-able.  This means that
a BSP Kit should include IRQ processing from score/cpu, all peripheral
support (header files from score/cpu, libchip, and libcpu), and the
BSPs themselves.  The rest of RTEMS should be multlib-able.  But to do
this, all RTEMS CPU model feature flags must be derivable from gcc
cpp predefines.  By configuring the bare bsp with the rtems_multilib
CPU model, you can try any combination of CPU CFLAGS and see well how the
logic in that section of the <CPU>.h works.   Once all CPU multilib
variations can be built, then RTEMS proper can be multilib'ed and
separated from the BSPs.
2000-05-28 20:14:45 +00:00
Joel Sherrill
63cf252f31 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-05-28 18:14:55 +00:00
cvs2git
22095e222d This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-28 18:03:55 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'Added on 4.5 branch':
    scripts/binutils/base-binutils.add
    scripts/binutils/binutils.add
    scripts/binutils/target-binutils.add
    scripts/gccnewlib/base-chill.add
    scripts/gccnewlib/base-g77.add
    scripts/gccnewlib/base-gcc.add
    scripts/gccnewlib/base-gcj.add
    scripts/gccnewlib/gccnewlib.add
    scripts/gccnewlib/target-chill.add
    scripts/gccnewlib/target-g77.add
    scripts/gccnewlib/target-gcc.add
    scripts/gccnewlib/target-gcj.add
    scripts/gccnewlib/target-objc.add
    scripts/gdb/base-gdb.add
    scripts/gdb/gdb.add
    scripts/gdb/target-gdb.add
2000-05-28 18:03:56 +00:00
Joel Sherrill
559cf7684d Updated newlib version which bumped the gnatnewlib version. 2000-05-28 17:53:39 +00:00
Joel Sherrill
5bd07d40e3 Updated newlib, gdb, and gcc patch versions which bumped the RPM release
of gccnewlib and gdb.
2000-05-28 17:53:16 +00:00
Joel Sherrill
19de118930 New version number. 2000-05-28 17:52:48 +00:00
Joel Sherrill
d102375e79 Removed definition of PPC_ABI and PPC_ASM as there are now defaults
that reflect the GNU toolset.
2000-05-28 17:52:30 +00:00
Joel Sherrill
dd72009e4e Added casts to avoid warnings. 2000-05-28 17:49:21 +00:00
Joel Sherrill
1d89b75c96 Removed more warnings. In particular added ifdef's on IPV6 for
variables only used in IPV6.
2000-05-28 17:47:39 +00:00
Joel Sherrill
f8d3664510 Added prototype of fdopen() since it is not strict ANSI and not
having a prototype caused warnings.
2000-05-28 17:46:40 +00:00
Joel Sherrill
9c948846fa Added cast to remove warning. 2000-05-28 17:45:55 +00:00
Joel Sherrill
96efaf679b Renamed delay() to avoid conflicts since it is a common name that
was in particular used by the ttcp test.
2000-05-28 17:45:17 +00:00
Joel Sherrill
3704a9a149 Added defaults for PPC_ABI and PPC_ASM so every PowerPC does not
have to define them to their default value.  The default values
reflect the ABI and Assembly format of the current GNU tools.
2000-05-28 17:43:00 +00:00
Joel Sherrill
cfca5dba95 Removed warning by adding return NULL. 2000-05-28 17:42:03 +00:00
Joel Sherrill
9d05d68fe6 Changed sed command to avoid severe limitations in Solaris /bin/sed.
Detected by Joel after multiple reports on the rtems-users mailing
list.  Final fix from Ralf Corsepius.
2000-05-28 17:41:43 +00:00
Joel Sherrill
05ff78ab00 Added INSTALL_CHANGE and INSTALL_VARIANT information. 2000-05-26 17:49:52 +00:00
Joel Sherrill
09c16269d9 Significant updates. 2000-05-26 17:17:40 +00:00
Joel Sherrill
3050704fa5 Corrected old-style usage of TARGET_ARCH. 2000-05-26 17:16:37 +00:00
Joel Sherrill
fa9b9f512b Corrected resource requirements. 2000-05-25 19:49:34 +00:00
Joel Sherrill
a12793743a Removed warning. 2000-05-25 17:17:35 +00:00
Joel Sherrill
60a3213b13 Increased memory reserved for stack requirements. 2000-05-25 16:06:30 +00:00
Joel Sherrill
f3b1664f51 Increased resources configured. 2000-05-25 16:04:37 +00:00
Joel Sherrill
c94c2518de Update from Stephan Wilms <Stephan.Wilms@CWA.de> that adds autodetection.
What I implemented in this new driver version is, that the driver will
first probe for a DEC21140 card and use it if found. If not found it
will probe for a DEC21143 card and use that if found. This removes the
need for defining/undefining a macro (as was required with my previous
version). I tested the driver with my 21143 card using netdemo and it
apears to work just fine.

Here are some cases that I did not test, mainly because I do not have
the required testing hardware:
   - I did not enhance or test PPC support
   - I did not test DEC21140 support
   - I did not use other test software than netdemo
2000-05-25 13:42:00 +00:00
Joel Sherrill
64bddf48af Patch to remove warnings from Eric Norum <eric@cls.usask.ca>. 2000-05-25 13:19:49 +00:00
Joel Sherrill
646decbd61 Patch from Nick Simom (Nick.SIMON@syntegra.bt.co.uk) so eth_comm
can return to start code without faulting.
2000-05-24 17:11:24 +00:00
Joel Sherrill
09b6a0938e Significantly lowered the default memory requirements:
- CONFIGURE_RTEMS_INIT_TASKS_TABLE was 10 now 0
    - CONFIGURE_POSIX_INIT_THREAD_TABLE was 10 now 0
    - CONFIGURE_ITRON_INIT_TASK_TABLE was 10 now 0
    - CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS was 20 now 3
    - added CONFIGURE_NUMBER_OF_TERMIOS_PORTS and defaulted to 1
    - added CONFIGURE_TERMIOS_DISABLED defaulted to "enabled"
    - miniIMFS is now the default

Added configuration error checks that:
  + Ensure > 0 tasks/threads are configured
  + Ensure at least one inititalization task/thread is defined

bsp.h now defines these so BSP specific requirements
are accounted for.
  + CONFIGURE_NUMBER_OF_TERMIOS_PORTS
  + CONFIGURE_INTERRUPT_STACK_MEMORY

console_reserve_resources and rtems_termios_reserve_resources
are no longer required and considered obsolete.  Calls to
rtems_termios_reserve_resources have been eliminated although
the routine is still there and the body "if 0'ed".

We are very close to having NO reason to modify the
configuration tables in the BSP.  Be warned that eventually
we would like to see the need for BSP_Configuration
eliminated!
2000-05-24 17:06:54 +00:00
Joel Sherrill
9a03459c44 Significantly lowered the default memory requirements:
- CONFIGURE_RTEMS_INIT_TASKS_TABLE was 10 now 0
    - CONFIGURE_POSIX_INIT_THREAD_TABDE was 10 now 0
    - CONFIGURE_ITRON_INIT_TASK_TABLE was 10 now 0
    - CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS was 20 now 3
    - added CONFIGURE_NUMBER_OF_TERMIOS_PORTS and defaulted to 1
    - added CONFIGURE_TERMIOS_DISABLED defaulted to "enabled"
    - miniIMFS is now the default

Added configuration error checks that:
  + Ensure > 0 tasks/threads are configured
  + Ensure at least one inititalization task/thread is defined

bsp.h now defines these so BSP specific requirements
are accounted for.
  + CONFIGURE_NUMBER_OF_TERMIOS_PORTS
  + CONFIGURE_INTERRUPT_STACK_MEMORY

console_reserve_resources and rtems_termios_reserve_resources
are no longer required and considered obsolete.  Calls to
rtems_termios_reserve_resources have been eliminated although
the routine is still there and the body "if 0'ed".

We are very close to having NO reason to modify the
configuration tables in the BSP.  Be warned that eventually
we would like to see the need for BSP_Configuration
eliminated!
2000-05-24 17:06:37 +00:00
Joel Sherrill
d38427f158 Handle mp variants better. 2000-05-24 17:01:13 +00:00
Joel Sherrill
77989a586e Make sure debug variant output goes into a different log file. 2000-05-24 17:01:02 +00:00
Joel Sherrill
9cad6a0214 Now can bring up an idle initialization task. 2000-05-24 16:57:07 +00:00
Joel Sherrill
1296960168 Added screen contents. 2000-05-24 16:52:34 +00:00
cvs2git
978b21bd73 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-24 16:51:23 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New file.':
    c/src/tests/libtests/malloctest/malloctest.scn
    scripts/config.guess
    scripts/config.sub
2000-05-24 16:51:24 +00:00
Joel Sherrill
d7bf62566d Increased task stack configured. 2000-05-24 16:50:26 +00:00
Joel Sherrill
95df6137e9 Added malloctest back in to set of tests to run. 2000-05-24 16:49:16 +00:00
Joel Sherrill
bef66a669f Fixed bug so debug variant of MP tests could be run. 2000-05-24 16:44:13 +00:00
Joel Sherrill
9b3cdfe85f Updated. 2000-05-24 15:56:20 +00:00
Joel Sherrill
70f1f1d971 Initial DEC 21143 support from Stephan Wilms <Stephan.Wilms@CWA.de>.
Comments follow:

 This support is (for now) only available for the __i386 target, because
 that's the only testing platform I have. It should to my best knowledge
 work in the same way for the "__PPC" target, but someone should test
 this first before it's put into the code. Thanks go to Andrew Klossner
 who provided the vital information about the Intel 21143 chip.

 (FWIW: my network card is a Kingston KNE100TX with 21143PD chip)
2000-05-24 15:55:00 +00:00
Joel Sherrill
2c8485b663 Eliminated printing from switch extension. 2000-05-24 15:37:32 +00:00
Joel Sherrill
2fbdbd4f14 Significantly lowered the default memory requirements:
- CONFIGURE_RTEMS_INIT_TASKS_TABLE was 10 now 0
    - CONFIGURE_POSIX_INIT_THREAD_TABLE was 10 now 0
    - CONFIGURE_ITRON_INIT_TASK_TABLE was 10 now 0
    - CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS was 20 now 3
    - added CONFIGURE_NUMBER_OF_TERMIOS_PORTS and defaulted to 1
    - added CONFIGURE_TERMIOS_DISABLED defaulted to "enabled"
    - miniIMFS is now the default

Added configuration error checks that:
  + Ensure > 0 tasks/threads are configured
  + Ensure at least one inititalization task/thread is defined


bsp.h now defines so BSP specific requirements are accounted for:
  + CONFIGURE_NUMBER_OF_TERMIOS_PORTS
  + CONFIGURE_INTERRUPT_STACK_MEMORY

console_reserve_resources and rtems_termios_reserve_resources
are no longer required and considered obsolete.  Calls to
rtems_termios_reserve_resources have been eliminated although
the routine is still there and the body "if 0'ed".

We are very close to having NO reason to modify the
configuration tables in the BSP.  Be warned that eventually
we would like to see the need for BSP_Configuration
eliminated!
2000-05-24 14:36:52 +00:00
Joel Sherrill
1a9006a68a Added a return to the bottom. 2000-05-24 14:23:34 +00:00
Joel Sherrill
8fe36e1c4d Removed some warnings. 2000-05-24 14:21:27 +00:00
Joel Sherrill
625f1a61a1 Remove NO_CPU reference. 2000-05-23 21:31:44 +00:00
Joel Sherrill
7c1a82facd Patch from Jennifer Averett <jennifer.averett@oarcorp.com> to make
this C++ safe.
2000-05-23 15:41:04 +00:00
Joel Sherrill
1b6969373d Added routines addr2ascii.c and ascii2addr.c even though they
are not reentrant.  Eric Norum <eric@cls.usask.ca> at
request of John Cotton <john.cotton@nrc.ca>.
2000-05-23 15:15:19 +00:00
Joel Sherrill
58271f676d Added code to determine RPM CPU type for the host OS. This is
needed to determine that on x86-linux, RPM builds "i386" RPMs
while on Sparc/Solaris, it builds "sparc" RPMs.  Since the
buildall script installs the binutils RPM to build the gccnewlib
RPM, it needs to know this.
2000-05-21 15:23:02 +00:00
Joel Sherrill
f9c0574793 This is an update of all Classic API Message Manager tests to
eliminate code which assumes that 4 * sizeof(unsigned32) == 16)
and that a 16 byte message can be assumed to be 4 unsigned32's.
These assumptions are invalid on target processors that are
not byte-addressable.
2000-05-19 19:13:09 +00:00
Joel Sherrill
9f2e6c6c7d Changed versions. 2000-05-19 19:07:04 +00:00