Commit Graph

3220 Commits

Author SHA1 Message Date
Joel Sherrill
47ca0d0a51 The fp_context field is needed if software or hardware floating point
is available.
2000-08-01 18:26:02 +00:00
Joel Sherrill
4f8473e268 Reversing spurious change.. disk crash? 2000-08-01 18:22:22 +00:00
Joel Sherrill
e6890ba1f5 Patch from Eric Norum <eric@cls.usask.ca> to avoid lockup under
the correct circumstances of DMA buffer size, serial
line interrupts, and ethernet interrupts the termios osend routine would
lock up waiting for the raw output buffer semaphore.
2000-08-01 15:23:59 +00:00
Joel Sherrill
1611244202 Even more updates. 2000-08-01 15:21:02 +00:00
Joel Sherrill
e6b3db9eff Increased the defaults to be more reasonable. 2000-08-01 15:16:18 +00:00
Joel Sherrill
343ac93b41 Patch rtems-rc-20000801-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that switches the sparc from targopts.h to cpuopts.h.
2000-08-01 14:19:13 +00:00
Joel Sherrill
ff0187023f Removed unused macro. 2000-08-01 14:13:02 +00:00
Joel Sherrill
327cf9134c Corrected BSP name in script. 2000-08-01 14:12:46 +00:00
Joel Sherrill
dc12bf41d5 Added numerous BSPs. 2000-08-01 14:12:33 +00:00
Joel Sherrill
c9f7123ae9 New files. 2000-08-01 14:06:35 +00:00
Joel Sherrill
68132f2e8e ARMulator BSP now runs with gdb 5.0. 2000-08-01 14:06:11 +00:00
Joel Sherrill
3631dad88f Closer to linking. h8300-rtems-ld now core dumps. 2000-07-31 19:23:21 +00:00
Joel Sherrill
caf8869939 New bsp for simulator in gdb. Does not work yet. 2000-07-31 18:29:37 +00:00
Joel Sherrill
2d354ea6a5 Minor problems addressed with the merger and with the arm_bare_bsp.
That BSP now has a stub clock driver so the tests can link even
if they won't execute.  A handful of Makefiles had to be updated
and we had to account for printk.c being a shared file now.
2000-07-27 06:17:44 +00:00
Joel Sherrill
08330bf0be Port of RTEMS to the ARM processor family by Eric Valette
<valette@crf.canon.fr> and Emmanuel Raguet <raguet@crf.canon.fr>
of Canon CRF - Communication Dept.  This port includes a
basic BSP that is sufficient to link hello world.
2000-07-27 01:04:11 +00:00
Joel Sherrill
db9ae7078d Patch from Charles-Antoine Gauthier <charles.gauthier@nrc.ca> that
removes warnings from the network.c file and has slight additions
to the configuration file to support Java.
2000-07-26 21:15:27 +00:00
Joel Sherrill
8c3c1763f0 Added ifdef on C4x to avoid invalid address alignment checks since there
is no such thing on the C4x.
2000-07-26 20:44:11 +00:00
Joel Sherrill
ca7858bb88 Port of RTEMS to the Texas Instruments C3x/C4x DSP families including
a BSP (c4xsim) supporting the simulator included with gdb.  This port
was done by Joel Sherrill and Jennifer Averett of OAR Corporation.
Also included with this port is a space/time optimization to eliminate
FP context switch management on CPUs without hardware or software FP.

An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8)
on this CPU.  This required addressing alignment checks and assumptions
as well as fixing code that assumed sizeof(unsigned32) == 4.
2000-07-26 19:28:11 +00:00
Joel Sherrill
17508d02bb Port of RTEMS to the Texas Instruments C3x/C4x DSP families including
a BSP (c4xsim) supporting the simulator included with gdb.  This port
was done by Joel Sherrill and Jennifer Averett of OAR Corporation.
Also included with this port is a space/time optimization to eliminate
FP context switch management on CPUs without hardware or software FP.

An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8)
on this CPU.  This required addressing alignment checks and assumptions
as well as fixing code that assumed sizeof(unsigned32) == 4.
2000-07-26 19:26:28 +00:00
Joel Sherrill
6b4a11bf4e Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that removes an unnecessary inclusion of @RTEMS_BSP@.cfg.
2000-07-25 13:38:03 +00:00
Joel Sherrill
ca8dfbcc6b Forgot to remove these when code moved. 2000-07-25 11:48:33 +00:00
Joel Sherrill
e001d84afb Use bitwise and not cast to unsigned16 to remove upper bits. 2000-07-24 22:28:15 +00:00
Joel Sherrill
30a1617192 Corrected spelling mistake. 2000-07-24 20:33:07 +00:00
Joel Sherrill
3c5118178e Corrected file name in EXTRA_DIST setting. 2000-07-24 20:32:47 +00:00
Joel Sherrill
7d5077c1f4 Patch from Eric Valette <valette@crf.canon.fr> with debugging
by Till Straumann <strauman@SLAC.Stanford.EDU>.  With this
patch, the motorola_shared BSP should also support the MVME2303.
2000-07-24 19:18:42 +00:00
Joel Sherrill
09f52f00de Make _ISR_Dispatch global. 2000-07-17 13:05:28 +00:00
Joel Sherrill
fb31e1a2e7 Update from Philip Quaife <rtemsdev@qs.co.nz> that was hand-merged.
This update addresses the following:

  + the ISR enable/disable/flash macros now work with old gcc versions.
  + the UI CCR bits are now masked since other example code did so
  + _ISR_Dispatch disables interrupts during call setup

Together these removed the instabilities he was seeing.
2000-07-17 13:01:44 +00:00
Joel Sherrill
4dcd9436d4 Changed name of static table versions to avoid conflict. 2000-07-14 18:52:54 +00:00
Joel Sherrill
62e1271aef Switch logical in conditional. 2000-07-13 16:17:09 +00:00
Joel Sherrill
b8a30d07a5 Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is yet another multilib-related structual cleanup patch:

  Changes:
  * Make RTEMS_TEST_NO_PAUSE a tests/ subpackage specific option.
    - Remove RTEMS_TEST_NO_PAUSE from custom/*.cfg, targopts.h and
      cpuopts.h.
    - Add autoconf macros RTEMS_*_RTEMS_TEST_NO_PAUSE
      (aclocal/rtems-test-no-pause.m4).
    - Add RTEMS_*_RTEMS_TEST_NO_PAUSE support to sptests/configure.ins
      and tmtests/configure.in. These are the only subdirectories which
      currently apply RTEMS_TEST_NO_PAUSE.
    - Add autoconf-DEFS support to all test subpackages' configure.ins
      below tests/. I.e. AC_DEFINES now get explicitly propagated as
      preprocessor defines into Makefiles, cf. AM_CPPFLAGS in
      tests/*/*.am, instead of using a global config-files.
    - Remove NDEBUG from custom/*.cfg.

  * AC_DEFINE POSIX_API, ITRON_API and MULTIPROCESSING in
    exec/configure.in, only.
    - All other sources now should relay on the values from cpuopts.h
      and should not define them themselves.
    - Several related changes to many configure.ins

  * Bug-fixes to RTEMS_*_RTEMS_DEBUG macros (Actually workarounds to
    quoting bugs in autoconf).

  Notes:
    * This patch is rather immature and only tested for a small subset
      of BSPs (requires the tests to be enabled and therefore takes an
      tremendous amount of disc space and time.)
    * The patches to *cfg were generated by a script. Expect file
      formating changes :)
2000-07-13 15:05:38 +00:00
Joel Sherrill
396079844d Patch rtems-rc-20000712-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is yet another multilib-related structual cleanup patch:

  Changes:
    * Make RTEMS_DEBUG a global per-cpu configuration option
    * Remove RTEMS_DEBUG from targopts.h
    * Add a global --enable-rtems-debug option disabled by default.
    * Add RTEMS_DEBUG to cpuopts.h
    * Remove all references to RTEMS_DEBUG from custom/*.cfg

  Notes:
    * RTEMS_DEBUG is set in c/src/exec/configure.in only
      (RTEMS_CHECK_RTEMS_DEBUG) and should be defined in cpuopts.h only.
      BSPs should not redefine it, but use the value being provided by
      cpuopts.h.
      => With multilibs, users have to choose: Either enable RTEMS_DEBUG
         for all BSPs and CPU_MODELs of a cpu or not.
    * Only few BSPs had RTEMS_DEBUG enabled, therefore I set the default
      to disabled.
    * This patch influences the per-BSP building scheme. Existing BSPs
      which set RTEMS_DEBUG in their make-target-options rule might have
      problems at runtime.
2000-07-12 19:23:14 +00:00
Joel Sherrill
8bb456a4ce Added comment. 2000-07-12 13:50:45 +00:00
Joel Sherrill
71f578ef61 Removed unnecessary include of targopts.h. 2000-07-12 13:50:28 +00:00
Joel Sherrill
c3b7608768 Added comment. 2000-07-12 13:44:27 +00:00
Joel Sherrill
60179c23fc Removed unnecessary include of targopts.h. 2000-07-12 13:42:40 +00:00
Joel Sherrill
3a6bfc6b86 Added comment. 2000-07-12 13:15:01 +00:00
Joel Sherrill
5ffa4e456a New file missed in earlier commit. 2000-07-12 12:36:00 +00:00
Joel Sherrill
0e7da150a9 Removed no cpu references. 2000-07-11 21:38:41 +00:00
Joel Sherrill
0daf588a12 New file. 2000-07-11 21:18:13 +00:00
Joel Sherrill
4159370f5d Reworked score/cpu/sparc so it can be safely compiled multilib. All
routines and structures that require CPU model specific information
are now in libcpu.  This primarily required moving erc32 specific
information from score/cpu files to libcpu/sparc and the erc32 BSP.
2000-07-11 21:16:53 +00:00
Joel Sherrill
f38d829af4 Added Hitachi H8/300 to the list of CPUs that should be OK with
using cpuopts.h and not targopts.h.
2000-07-11 20:45:13 +00:00
Joel Sherrill
073e2411d3 Adding .cvsignore files. 2000-07-11 19:41:38 +00:00
Joel Sherrill
bc85fd5a6d Reworked score/cpu/i960 so it can be safely compiled multilib. All
routines and structures that require CPU model specific information
are now in libcpu.  This required significant rework of the
score/cpu header files and the creation of multiple header files
and subdirectories in libcpu/i960.
2000-07-11 19:31:04 +00:00
Joel Sherrill
270e3cce96 Patch rtems-rc-20000711-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that decouples exec/ for the sh, m68k and i960 from targopts.h.

NOTE: The change to system.h is a hack to enable cpuopts.h
for some targets, but keep using targopts.h for others - I know it
does *not* work for sparc, mips, i386 and ppc.  This will have
to be addressed as work continues on multilibing.
2000-07-11 14:56:04 +00:00
Joel Sherrill
e0ba3e80ef Patch rtems-rc-20000709-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that addresses aspects of the targopts.h multilib related
issues.

  Changes:
    * Move targopts.h to libbsp/include, because the current targopts.h
      actually is a per-BSP-header and therefore can not stay below exec/.

    * Introduce an autoheader generated header file
      (exec/score/include/rtems/score/cpuopts.h), which shall take per-cpu
      configuration options only.

    * Move all autoconf-detectable/configure specified per-cpu
      option-defines from targopts.h to cpuopts.h.

    * Add Makefiles to the libbsp/shared directory hierarchy.

  Notes:
    * The new per-bsp targopts.h in libbsp includes the per-cpu
      cpuopts.h. This way, the new targopts.h is kept backward compatible
      to the old targopts.h and existing BSPs which (carelessly) include
      targopts.h (i386, ppc) should be kept working when using the
      multilib-disabled configuration scheme.

    * cpuopts.h is not yet complete, because the per-BSP make-targopts
      rules from custom/<BSP>.cfg files can not be applied to files below
      exec/ when building multilibs.

    * All files below exec/ should not include targopts.h anymore, but
      should include cpuopts.h instead.  However, eliminating inclusion of
      targopts.h currently triggers further structural / header file inclusion
      related issues, because several ports apply BSP or CPU_MODEL specific
      defines from targopts.h below exec/
2000-07-10 19:23:38 +00:00
Joel Sherrill
256cbecf68 Patch rtems-rc-20000708-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is another small step toward multilibs:

  Changes:
    * Eliminate RTEMS_CHECK_CUSTOM_BSP from all configure.ins below exec/
    * Add RTEMS_CHECK_CUSTOM_BSP to the multilib-disabled branch in
      RTEMS_ENV_RTEMSCPU to preserve the old per-BSP building scheme
      functional.

  Notes:
    * --enable-multilibs is still non-functional
    * This patch should not have any influence on the old building
      scheme (--disable-multilib should silently fall back to the old
      building scheme).
    * running ./bootstrap is required after applying the patch
2000-07-10 19:12:07 +00:00
Joel Sherrill
dc39377e53 Now links although linkcmds will not work on real hardware. But then
again neither will unlinked executables. :)
2000-07-10 19:09:37 +00:00
Joel Sherrill
74d5216590 Build rtems-cpu.rel in this directory. 2000-07-10 19:01:20 +00:00
Joel Sherrill
9df5323fc1 Fixed typo. 2000-07-10 19:00:53 +00:00
Joel Sherrill
868b8ee678 Incorrectly specified using new exception processing. 2000-07-10 19:00:33 +00:00