Commit Graph

3185 Commits

Author SHA1 Message Date
Joel Sherrill
d2978ee987 2000-08-10 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* shared/src/cache_manager.c (rtems_cache_flush_multiple_data_lines,
	rtems_cache_invalidate_multiple_data_lines): Do not operate on the
	entire address space when flushing zero bytes.
2000-08-10 14:09:51 +00:00
Joel Sherrill
e94ad1feb9 Adding ChangeLogs. 2000-08-10 13:24:00 +00:00
Joel Sherrill
964717bb56 Now compiles after breaking things with mvme16x_hw.h 2000-08-04 22:29:51 +00:00
Joel Sherrill
5b8d82a2a7 IEEE
====
-4 = {d = -4, i = {0xc0100000, 0x0}} s=1 e=0x80 m=0x100000 (0x0900000)
-3 = {d = -3, i = {0xc0080000, 0x0}} s=1 e=0x80 m=0x080000 (0x0880000)
-2 = {d = -2, i = {0xc0000000, 0x0}} s=1 e=0x80 m=0x000000 (0x0800000)
-1 = {d = -1, i = {0xbff00000, 0x0}} s=1 e=0x7f m=0x000000 (0x0800000)
 0 = {d =  0, i = {0x00000000, 0x0}} s=0 e=0    m=0x000000 (0x0800000)
 1 = {d =  1, i = {0x3ff00000, 0x0}} s=0 e=0x7f m=0x000000 (0x0800000)
 2 = {d =  2, i = {0x40000000, 0x0}} s=0 e=0    m=0x000000 (0x0800000)
 3 = {d =  3, i = {0x40080000, 0x0}} s=0 e=0    m=0x080000 (0x0880000)

C4X
===
-4 = {d = -4, i = {0x01800000, 0x0}} s=1 e=1    m=0x800000 (0x1000000)
-3 = {d = -3, i = {0x01c00000, 0x0}} s=1 e=1    m=0xa00000 (0x1400000)
-2 = {d = -2, i = {0x00800000, 0x0}} s=1 e=0    m=0x800000 (0x1000000)
-1 = {d = -1, i = {0xff800000, 0x0}} s=1 e=0xff m=0x000000 (0x1000000)
 0 = {d =  0, i = {0x80000000, 0x0}} s=0 e=0    m=0x000000 (0x0800000)
 1 = {d =  1, i = {0x00000000, 0x0}} s=0 e=0x7f m=0x000000 (0x0800000)
 2 = {d =  2, i = {0x01000000, 0x0}} s=0 e=1    m=0x400000 (0x0800000)
 3 = {d =  3, i = {0x01400000, 0x0}} s=0 e=1    m=0x600000 (0x0c00000)
 4 = {d =  4, i = {0x02000000, 0x0}} s=0 e=2    m=0xXXXXXX (0x0000000)

0x1010 0000
  0101 0000
  0010 1002
2000-08-03 14:43:33 +00:00
Joel Sherrill
0e08ff0033 Patch from Eric Norum <eric@cls.usask.ca> to add optional support for
fast mutexes that bypass the API level to directly interface with the
SuperCore.
2000-08-02 21:12:36 +00:00
Joel Sherrill
3393f6dda3 Patch from Eric Norum <eric@cls.usask.ca> to add "attaching" argument
to driver attach routine.
2000-08-02 21:08:44 +00:00
Joel Sherrill
9b7621f75b New file. 2000-08-02 17:04:07 +00:00
Joel Sherrill
15c48f4c67 Properly pass argc, argc, and environp to boot_card. 2000-08-02 16:30:57 +00:00
Joel Sherrill
23e3ce641a Split out items shared with mvme167. 2000-08-02 16:28:06 +00:00
Joel Sherrill
354d47f0ff Moved base address to 0x20000. 2000-08-02 16:27:02 +00:00
Joel Sherrill
240936fda5 Added (untested) network driver from mvme167. 2000-08-02 16:26:44 +00:00
Joel Sherrill
9bb1a937a2 Compiles now. 2000-08-01 20:51:34 +00:00
Joel Sherrill
b812f84155 Added sim68000 BSP for the BSVC simulator. This BSP includes the
alias simcpu32 that supports the CPU32 simulator in BSVC.  At this
point, it is still under development.
2000-08-01 20:01:14 +00:00
Joel Sherrill
499d443996 Look at both hardware and software FP settings. 2000-08-01 19:42:39 +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
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