Commit Graph
185 Commits
Author SHA1 Message Date
Joel Sherrill e2b3b5d6b9 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Include compile.am, remove duplicate includes.
2000-09-05 15:35:59 +00:00
Joel Sherrill 178fae8e29 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Include compile.am, formatting.
	* rtems/Makefile.am: Formatting.
	* rtems/score/Makefile.am: Formatting.
2000-09-05 15:35:34 +00:00
Joel Sherrill 0b456f721e Correcting. 2000-08-29 14:51:44 +00:00
Joel Sherrill eeec72f883 2000-08-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c: Spacing issues.
	* rtems/score/cpu.h: Removed warning by setting _level.
2000-08-29 14:47:09 +00:00
Joel Sherrill ce6411d66f 2000-08-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c: Spacing issues.
	* rtems/score/cpu.h: Removed warning by setting _level.

2000-08-29	Joel Sherrill <joel.sherrill@OARcorp.com>

	* Makefile.am: Added S_O_FILES to list of objects.
2000-08-29 14:47:08 +00:00
Joel Sherrill f79d358515 2000-08-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Added S_O_FILES to list of objects.
2000-08-29 14:46:18 +00:00
Joel Sherrill 95990b57ea 2000-08-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/score/i386.h: cpu-variant define handling
	  Rewrite due to introduction of multilib defines.
	* asm.h: include cpuopts.h instead of targopts.h
2000-08-25 17:30:13 +00:00
Joel Sherrill 4b9a98ca60 2000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/no_cpu.h: Modified so there are fewer and
	more consistent variations on "no cpu" so it is easier
	to sed the source as the starting point for a new port.
2000-08-25 17:17:06 +00:00
Joel Sherrill 5377fed341 2000-08-11 Joel Sherrill <joel@OARcorp.com>
* Shell added for or32 port based on no_cpu port with names replaced.
2000-08-11 21:59:52 +00:00
Joel Sherrill ee5110762e 2000-08-11 Joel Sherrill <joel@OARcorp.com>
* Shell added for or16 port based on no_cpu port with names replaced.
2000-08-11 21:52:06 +00:00
Joel Sherrill e94ad1feb9 Adding ChangeLogs. 2000-08-10 13:24:00 +00:00
Joel Sherrill 5ede970698 If the _VBR is set to 0xFFFFFFFF, then assume the vector jump table is
in ROM.
2000-08-01 19:38:52 +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 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 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 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 0e7da150a9 Removed no cpu references. 2000-07-11 21:38:41 +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 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 80e53918dc Moved old_exception_processing and new_exception_processing directories
from score/cpu to libcpu because the determination of which to use is
based on RTEMS_CPU_MODEL.  Thus it can not be determined based solely on
multilib information.
2000-07-07 19:36:14 +00:00
Joel Sherrill 8bc62aeb5d Interrupt stack is allocated in _ISR_Handler_initialization not
_Interrupt_Manager_initialization.
2000-07-03 18:44:12 +00:00
Joel Sherrill feb93ede27 Changed extra_system_initialization_stack to extra_mpci_receive_server_stack
to be consistent with other ports.
2000-07-03 15:49:35 +00:00
Joel Sherrill 5532553209 This is the initial addition of the port of RTEMS to the
Hitachi H8 family.  This port was done by Philip Quaife
<philip@qs.co.nz> of Q Solutions and sponsored by
Comnet Technologies Ltd.  The port was done based on RTEMS 3.5.1
to a Hitach H8300H.  The port was updated to RTEMS 4.5 style
Makefiles/configure by Joel Sherrill <joel@OARcorp.com>.
While doing this Joel added support for the h8300-rtems to
binutils, gcc, newlib, and gdb.

NOTE:  Philip submitted a BSP for a Hitachi evaluation board
which is being merged as a separate entity.
2000-06-29 23:00:48 +00:00
Joel Sherrill d1716c989b Remove pragma align 4 2000-06-15 22:02:28 +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 afd63b7656 Added crude i960ka support. 2000-06-13 22:57:19 +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 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 ce5b291fa4 Works on Solaris and Linux. 2000-06-12 18:45:54 +00:00
Joel Sherrill df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill e4c0744478 Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
adds .cvsignore.
2000-04-13 14:47: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 b6f9b5f1fe Added routines to get and set C3x IOF register. The code is conditionally
compiled and there is no comparable code for the C4x.
2000-03-01 18:08:53 +00:00
Joel Sherrill 8eacefcc8b BSP now compiles and links with CAVSL board information. This includes
linkcmds updated, simio references removed, and switch to libchip for
serial ports from simio.

Added a MEMORY_MAP file to capture information about the various
addresses on this board.

In addition, many of the beta patches are now included.
2000-02-29 16:35:45 +00:00
Joel Sherrill 61ba976360 New port of RTEMS to TI C3x and C4x. 2000-02-22 18:39:52 +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 318f591241 Added after report from Quality Quorum <qqi@world.std.com> that
pc686.cfg was not present.
2000-01-27 14:37:17 +00:00
Joel Sherrill 752badac5a Removed warning. 2000-01-14 14:55:37 +00:00
Joel Sherrill 1dfc188ef5 Removed unitialized variable warning. 2000-01-04 13:58:47 +00:00
Joel Sherrill e065e8ae8b Increased stack size to 4K per Eric Norum. 2000-01-03 16:52:50 +00:00
Joel Sherrill 203859574c Increased minimum stack size so all tests will run. 2000-01-03 14:01:02 +00:00
Joel Sherrill 6b79a071de Patch from Jepsen Hans Peter <hans_peter_jepsen@Danfoss.com> to
use correct ifdef conditional (__GNUC__ not __GCC__).
1999-12-13 17:22:18 +00:00
Joel Sherrill 4090ebe85c Patch rtems-rc-19991123-rc-3.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>:

    The patch below provides
      * automake support for score/cpu/powerpc
      * The hack to propagate values from *.cfg to automake configuration
      * A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted
        before)
      * Fixes some files which apparently where missing in
        rtems-rc-19991123-rc-2.diff
      * some minor configuration related patches

    To apply:

      rm -rf ./c/src/exec/score/cpu/powerpc/wrap
      patch -p1 < rtems-rc-19991123-rc-3.diff

    Attention:
      c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be
      removed after applying the patch.

Modifications had been made to the score/cpu/powerpc directory after
the snapshot this was based on.  In particular, the mpc750 and
other_cpu directories had been renamed to new_exception_processing
and old_exception_processing.  After this patch was applied, modifications
were made to account for this.
1999-12-03 13:25:00 +00:00
Joel Sherrill 4328345602 Patch rtems-rc-19991123-rc-2.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>:

    The patch below provides
      * automake support for score/cpu/powerpc
      * The hack to propagate values from *.cfg to automake configuration
      * A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted
        before)
      * Fixes some files which apparently where missing in
        rtems-rc-19991123-rc-2.diff
      * some minor configuration related patches

    To apply:

      rm -rf ./c/src/exec/score/cpu/powerpc/wrap
      patch -p1 < rtems-rc-19991123-rc-3.diff

    Attention:
      c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be
      removed after applying the patch.
1999-12-02 17:45:14 +00:00
Joel Sherrill acc25eec35 Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
1999-12-02 14:31:19 +00:00
Joel Sherrill 955a9ba74c Patch rtems-rc-19991123-rc-2.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
    score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
    bugs.


    To apply:

        rm -rf c/src/exec/score/cpu/a29k/wrap
        rm -rf c/src/exec/score/cpu/hppa1.1/wrap
        rm -rf c/src/exec/score/cpu/i386/wrap
        rm -rf c/src/exec/score/cpu/mips64orion/wrap
        rm -rf c/src/exec/score/cpu/no_cpu/wrap
        patch -p1 < rtems-rc-19991123-rc-2.diff.gz

    Notes:

    * I don't see a possiblity to convert the powerpc subdirectory in its
      current layout to automake the time being.

    * Besides the fact that this subdirectory is not in single-tree building
      layout, the actual showstopper is the ifeq $(RTEMS_CPU_MODEL),mpc750)
      gmake-conditional in powerpc/Makefile.in, which automake (correctly)
      refuses to handle.

    * The problem is *not* specific to the powerpc. Other CPUs basically
      have similar problems (SH:sh7032 vs sh7045, SPARC: erc32.h in
      score/cpu/sparc), but have been lucky to get around real issues (cf.
      configuration files below score/cpu/sh/).

    * From a configuration focused POV this problem boils down to a
      file/subdirectory selection problem:
         ppc: 1 or others
         sh: 1 out of 2
         sparc: 1 out of 1
      Automake's means to implement such behavior is using conditionals to be
      evaluated at configuration-time. The old configuration scheme however
      used make-time conditionals. The SH port was lucky to get around this
      issue because it applies a selection from a limited set of possible
      selections, the powerpc however applies a selection from an unlimited
      set, based on data not being available at configuration time.

    * Currently I only see two general solutions:
       1) make RTEMS_CPU_MODEL available at configuration time, ie. replace
          make-time configuration by configuration-time configuration
       2) Perform the selection at build-time, i.e. always install all files,
          but use #ifdef #else #endif in source files. This is what the m68k has
          exploited at other locations inside of the source-tree.

    => This directory is the last one remaining not using automake below the
       whole exec/ hierarchy.
1999-12-01 15:05:26 +00:00
Joel Sherrill ccf8925b45 Patch rtems-rc-19991123-rc-1.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
bugs.

    To apply:

    rm -rf c/src/exec/score/cpu/i960/wrap
    rm -rf c/src/exec/score/cpu/m68k/wrap
    rm -rf c/src/exec/score/cpu/sh/wrap
    rm -rf c/src/exec/score/cpu/sparc/wrap
    rm -rf c/src/exec/score/cpu/unix/wrap
    patch -p1 < rtems-rc-19991123-rc-1.diff
    ./bootstrap

    Known bugs:

    * "make debug|profile" in c/src/src/score/cpu/<RTEMS_CPU/Makefile does
      not handle recursion to subdirectories correctly (recurses too often).
      However, this issue is hardly visible and should be tolerable for the
      moment.
1999-12-01 14:22:12 +00:00