Commit Graph

156 Commits

Author SHA1 Message Date
Ralf Corsepius
8730f45f28 2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
	Add autom4te*cache.
	Remove autom4te.cache.
2002-10-21 12:19:27 +00:00
Ralf Corsepius
63739101d9 2002-09-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove duplicate timer/Makefile from CONFIG_FILES.
2002-09-08 07:11:54 +00:00
Ralf Corsepius
1f751a7c45 2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* mongoosev/duart/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* mongoosev/vectorisrs/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* r46xx/vectorisrs/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* shared/cache/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* shared/interrupts/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* tx39/vectorisrs/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-08-11 05:33:47 +00:00
Joel Sherrill
1e1222ce43 2002-08-09 Joel Sherrill <joel@OARcorp.com>
* shared/interrupts/isr_entries.S: Corrected typo in mips1
	END_FRAME directive that lead to linker errors.
2002-08-09 12:53:50 +00:00
Joel Sherrill
5639d7cc2c 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mongoosev/duart/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mongoosev/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mongoosev/include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mongoosev/vectorisrs/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* r46xx/vectorisrs/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* r46xx/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* shared/cache/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* shared/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* shared/interrupts/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* tx39/include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* tx39/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* tx39/vectorisrs/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:48:08 +00:00
Joel Sherrill
34f5067fef 2002-03-05 Greg Menke <gregory.menke@gsfc.nasa.gov>
* shared/interrupts/installisrentries.c: Added support for debug
	exception vector.
	* shared/interrupts/isr_entries.S: Added support for debug exception
	vector.
2002-03-08 16:32:39 +00:00
Joel Sherrill
7f794ac789 2002-02-27 Greg Menke <gregory.menke@gsfc.nasa.gov>
* mongoosev/include/mongoose-v.h: Added cache constants.
	* mongoosev/vectorisrs/vectorisrs.c: More tinkering to improve
	performance.
2002-03-01 16:29:15 +00:00
Joel Sherrill
3a78c2a4d7 2002-02-27 Greg Menke <gregory.menke@gsfc.nasa.gov>
* mongoosev/include/mongoose-v.h: Added cache constants.
	* mongoosev/vectorisrs/vectorisrs.c: More tinkering to improve
	performance.
2002-03-01 16:25:00 +00:00
Joel Sherrill
63bce6324d 2002-02-08 Joel Sherrill <joel@OARcorp.com>
* mongoosev/vectorisrs/vectorisrs.c: Fixed to use new frame format.
2002-02-08 23:25:33 +00:00
Joel Sherrill
0ab873495a 2001-02-05 Joel Sherrill <joel@OARcorp.com>
* isr_entries.S: Removed comment incorrectly indicating this
	file was cpu_asm.S.
	* vectorexceptions.c (mips_dump_exception_frame): New routine
	broken out from default exception handler.
2002-02-05 21:06:13 +00:00
Joel Sherrill
4cecaf6a12 2001-02-01 Greg Menke <gregory.menke@gsfc.nasa.gov>
* mongoosev/vectorisrs/vectorisrs.c,
	shared/interrupts/vectorexceptions.c: Use rtems/bspIo.h, not just
	bspIo.h.
2002-02-01 19:32:23 +00:00
Joel Sherrill
2835b3a568 2001-02-01 Greg Menke <gregory.menke@gsfc.nasa.gov>
* Lots of tinkering and tuning as part of improving interrupt latency
	and improving the per-task interrupt level control and FP mask handling.
	With these modifications interrupt latency was measured at a worst-case
	of 100us, average below 60 us on a 12 Mhz R3000 class CPU with 50
	RTEMS tasks in the application.
	* mongoosev/README: Updated.
	* mongoosev/include/mongoose-v.h: Masks modified.
	* mongoosev/vectorisrs/vectorisrs.c: Significant overhaul to address
	software prioritization of interrupts.  If a higher priority interrupt
	occurs while we are looking for new interrupts, we will reinitiate the
	scan of all interrupts.
	* shared/interrupts/vectorexceptions.c: Removed warning and deleted
	blank lines.
2002-02-01 15:15:02 +00:00
Joel Sherrill
51dc8e920d 2002-01-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mongoosev/vectorisrs/vectorisrs.c: Include rtems/bspIo.h instead of bspIo.h.
	* r46xx/vectorisrs/vectorisrs.c: Include rtems/bspIo.h instead of bspIo.h.
	* shared/interrupts/vectorexceptions.c: Include rtems/bspIo.h instead of bspIo.h.
	* tx39/vectorisrs/vectorisrs.c: Include rtems/bspIo.h instead of bspIo.h.
2002-01-04 18:16:36 +00:00
Joel Sherrill
d7aecdc8f8 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
2001-10-12 18:47:00 +00:00
Joel Sherrill
cfb99fb7b3 2001-10-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
	* configure.ac: New file, generated from configure.in by autoupdate.
2001-10-12 16:05:32 +00:00
Joel Sherrill
df25c9989b 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
	* configure.ac: New file, generated from configure.in by autoupdate.
2001-10-11 19:36:23 +00:00
Joel Sherrill
dc2014fe98 2001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* tx39/include/Makefile.am: Use 'TMPINSTALL_FILES ='.
	* mongoosev/include/Makefile.am: Use 'TMPINSTALL_FILES ='.
	* mongoosev/duart/Makefile.am: Use 'PREINSTALL_FILES ='.
	* shared/cache/Makefile.am: Use 'PREINSTALL_FILES ='.
	* shared/cache/Makefile.am: Use 'CLEANFILES ='.
2001-09-27 19:45:21 +00:00
Joel Sherrill
7c05d2806c 2000-05-24 Joel Sherrill <joel@OARcorp.com>
* mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/vectorisrs.c,
	r46xx/vectorisrs/vectorisrs.c, tx39/vectorisrs/vectorisrs.c,
	tx39/include/tx3904.h: All exceptions were given low numbers and thus
	can be now be installed and processed in a uniform manner just like interrupts.
	Variances between various MIPS ISA levels are not accounted for at this time.
	* mongoosev/vectorisrs/Makefile.am, mongoosev/vectorisrs/maxvectors.c,
	r46xx/vectorisrs/Makefile.am, r46xx/vectorisrs/maxvectors.c,
	tx39/vectorisrs/Makefile.am, tx39/vectorisrs/maxvectors.c,
	shared/interrupts/maxvectors.c, shared/interrupts/Makefile.am: Split the
	shared maxvectors.c into a variety of CPU model specific versions to simplify
	the build process and reduce depdencies.  Deleted shared/interrupts/maxvectors.c
	and created various CPU model versions.
2001-05-24 19:54:22 +00:00
Joel Sherrill
3b286783ca 2001-05-24 Greg Menke <gregory.menke@gsfc.nasa.gov>
* clock/clock.S: Move placement of nop.
2001-05-24 13:23:48 +00:00
Joel Sherrill
2e7ed911d7 2001-05-22 Greg Menke <gregory.menke@gsfc.nasa.gov>
* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>.
	* mongoosev/duart/mg5uart.c, mongoosev/duart/mg5uart.h,
	mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/vectorisrs.c,
	shared/interrupts/maxvectors.c: Now works.  Significant rework
	of exceptions and interrupt vectoring to clean things up.
	* shared/interrupts/vectorexceptions.c: Removed.
	* shared/interrupts/Makefile.am: Reflects above.
2001-05-22 23:20:14 +00:00
Joel Sherrill
bbc99f1a6f 2001-05-07 Joel Sherrill <joel@OARcorp.com>
* shared/interrupts/vectorexceptions.c: New file to decode
	exception code and vector appropriate NON-interrupt exception.
	* shared/interrupts/Makefile.am: Modified to reflect above.
2001-05-07 13:10:53 +00:00
Joel Sherrill
b85df3491f 2001-04-20 Joel Sherrill <joel@OARcorp.com>
* mongoosev/duart/mg5uart.c (mg5uart_enable_interrupts): Honor
	the other bits set in the Peripheral Function Interrupt Mask
	Register when modifying those enabled for the DUART.
	* mongoosev/include/mongoose-v.h (MONGOOSEV_ATOMIC_MASK,
	MONGOOSEV_PFICR, MONGOOSEV_PFIMR, mongoosev_set_in_pficr,
	mongoosev_clear_in_pficr, mongoosev_set_in_pfimr,
	mongoosev_clear_in_pfimr, MONGOOSEV_UART_ALL_IRQ_BITS): New macros.
2001-04-20 13:24:39 +00:00
Joel Sherrill
d74a92d1fd 2001-04-16 Joel Sherrill <joel@OARcorp.com>
* mongoosev/duart/mg5uart.c, mongoosev/duart/mg5uart.h
	Modifications made with Gregory Menke <gregory.menke@gsfc.nasa.gov>
	as he debugged this BSP using a logic analyzer.  In particular,
	there was a mistake where the index not offset of registers was
	in the header file and the baud rate calculation was incorrect.
2001-04-16 20:02:27 +00:00
Joel Sherrill
acdb655855 2001-03-13 Joel Sherrill <joel@OARcorp.com>
* Added mongoose-v, mongoose-v/include, and mongoose-v/vectorisrs
	directories.
	* mongoosev/.cvsignore, mongoosev/Makefile.am, mongoosev/README,
	mongoosev/duart/.cvsignore, mongoosev/duart/Makefile.am,
	mongoosev/duart/README.mguart, mongoosev/duart/mg5uart.c,
	mongoosev/duart/mg5uart.h, mongoosev/duart/mg5uart_reg.c,
	mongoosev/include/.cvsignore, mongoosev/include/Makefile.am,
	mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/.cvsignore,
	mongoosev/vectorisrs/Makefile.am, mongoosev/vectorisrs/vectorisrs.c:
	New files.
	* Makefile.am, configure.in, shared/interrupts/Makefile.am,
	shared/interrupts/maxvectors.c: Added support for mongoosev.
	* tx39/vectorisrs/vectorisrs.c: Corrected warning.
2001-03-14 00:49:17 +00:00
Joel Sherrill
bb621b05e1 2001-03-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* shared/cache/Makefile.am, tx39/include/Makefile.am:
	Apply include_*HEADERS instead of H_FILES.
2001-03-05 22:48:10 +00:00
Joel Sherrill
5c27c8053b 2001-01-12 Joel Sherrill <joel@OARcorp.com>
* r46xx/vectorisrs/vectorisrs.c (mips_get_cause): Corrected
	constraints from general to register.
	* tx39/vectorisrs/vectorisrs.c (mips_get_cause): Corrected
	constraints from general to register.
2001-01-12 13:38:01 +00:00
Joel Sherrill
b03f4f2c9d 2001-01-08 Joel Sherrill <joel@OARcorp.com>
* Added r46xx directory.
	* Makefile.am, configure.in: Modified to reflect addition of r46xx.
	* shared/interrupts/installisrentries.c: Fixed typo.
	* r46xx/.cvsignore, r46xx/Makefile.am,
	r46xx/vectorisrs/.cvsignore, r46xx/vectorisrs/Makefile.am,
	r46xx/vectorisrs/vectorisrs.c: New files.
2001-01-08 18:11:35 +00:00
Joel Sherrill
7d18fdc120 2000-12-19 Joel Sherrill <joel@OARcorp.com>
* tx39/vectorisrs/vectorisrs.c: Modified to have default exception
	vector handler.  This should be in a separate file so the BSP can
	easily override it.
2000-12-19 16:56:42 +00:00
Joel Sherrill
40323b5b37 2000-12-13 Joel Sherrill <joel@OARcorp.com>
* configure.in: Added new directories.
	* shared/interrupts/Makefile.am: Added AM_CPPFLAGS to define TX39
	when compiling for a TX3904.
	* shared/interrupts/maxvectors.c: Corrected conditional logic.
	* tx39/Makefile.am: Added vectorisrs.
	* tx39/vectorisrs/Makefile.am, tx39/vectorisrs/vectorisrs.c,
	* tx39/vectorisrs/.cvsignore: New files.  This decodes the
	interrupt pending information on the TX3904 and vectors
	an interrupt.
2000-12-13 22:33:49 +00:00
Joel Sherrill
0289674755 2000-12-13 Joel Sherrill <joel@OARcorp.com>
* configure.in: Added new directories.
	* shared/interrupts/Makefile.am: Added AM_CPPFLAGS to define TX39
	when compiling for a TX3904.
	* shared/interrupts/maxvectors.c: Corrected conditional logic.
	* tx39/Makefile.am: Added vectorisrs.
	* tx39/vectorisrs/Makefile.am, tx39/vectorisrs/vectorisrs.c,
	* tx39/vectorisrs/.cvsignore: New files.  This decodes the
	interrupt pending information on the TX3904 and vectors
	an interrupt.
2000-12-13 22:10:07 +00:00
Joel Sherrill
b4d0d18eed 2000-12-13 Joel Sherrill <joel@OARcorp.com>
* shared/.cvsignore, shared/Makefile.am,
	shared/cache/.cvsignore, shared/cache/Makefile.am,
	shared/cache/cache.c, shared/cache/cache_.h,
	shared/interrupts/.cvsignore, shared/interrupts/Makefile.am,
	shared/interrupts/installisrentries.c,
	shared/interrupts/isr_entries.S,
	shared/interrupts/maxvectors.c, tx39/.cvsignore,
	tx39/Makefile.am, tx39/include/.cvsignore,
	tx39/include/Makefile.am, tx39/include/tx3904.h: New file.
	Moved some pieces of interrupt processing from score/cpu to
	libcpu/mips since many interrupt servicing characteristics are
	CPU model dependent.  This patch addresses the number of interrupt
	sources and where the ISR prologues are located.  The only way to
	currently install the ISR prologues requires that the prologues
	be installed into RAM.
2000-12-13 17:52:53 +00:00
Joel Sherrill
feead22618 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
2000-11-09 16:43:05 +00:00
Joel Sherrill
a314d3b497 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
2000-11-02 15:49:06 +00:00
Joel Sherrill
d82c00623c 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
2000-10-26 13:05:10 +00:00
Joel Sherrill
5b53d9700d 2000-10-24 Alan Cudmore <alanc@linuxstart.com> and
Joel Sherrill <joel@OARcorp.com>

	* This is a major reworking of the mips64orion port to use
	gcc predefines as much as possible and a big push to multilib
	the mips port.  The mips64orion port was copied/renamed to mips
	to be more like other GNU tools.  Alan did most of the technical
	work of determining how to map old macro names used by the mips64orion
	port to standard compiler macro definitions.  Joel did the merge
	with CVS magic to keep individual file history and did the BSP
	modifications. Details follow:
	* Makefile.am: Made clock and timer subdirectories conditional.
	* configure.in: Ditto.
	* clock/clock.S: Switch from using <idtmon.h> to <asm.h>.
	* clock/gettime.S: Switch from using <idtmon.h> to <asm.h>.
2000-10-24 21:52:19 +00:00
Joel Sherrill
4ec962cd47 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* clock/Makefile.am, timer/Makefile.am: Include compile.am
2000-09-05 16:01:46 +00:00
Joel Sherrill
e94ad1feb9 Adding ChangeLogs. 2000-08-10 13:24:00 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00: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
70810dcd89 Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains:

* Removes remaining (now illegal) references to $(SRC) from a couple of
  Makefile.ams
* Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in
* Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR
  from most configure scripts, i.e. LIBCDIR becomes less visible)
* Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to
  libbsp/*/configure.ins (A minor bug in previous implementations, which
  only has an impact when switching to GNU/Cygnus canonicalization)
* Cleans up several bogus comments.
* Removes MKLIB
* Switches the version number to 4.5.0 (for testing version number
  handling)
2000-02-08 22:33:25 +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
0dd1d44582 Removed old hack of using Configuration Table entry ticks_per_timeslice
being set to 0 to indicate that there should be no Clock Tick.  This
was used by the Timing Tests to avoid clock tick overhead perturbing
execution times.  Now the Timing Tests simply leave the Clock Tick
Driver out of the Device Driver Table.
2000-01-11 17:34:20 +00:00
Joel Sherrill
86c9eb0e28 Bug fix from Wayne Bullaughey <wayneb@cacdsp.com> to use the complement
of the mask when disabling the interrupt.
2000-01-11 14:57:41 +00:00
Joel Sherrill
bc2f04f8a8 Patch rtems-rc-20000104-13.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which does the following:

  * some cleanups, fixes, addtions to the libbsp automake transition
    patches
  * The missing Automake transistion patches all libcpu/<cpu>/<variant>/*
    previously not yet been converted to automake (libcpu/powerpc,
    libcpu/hppa1.1, libcpu/mips64orion, libcpu/sparc)

  => With this patch, libcpu/*/* is under full automake control.

  NOTES:
  * This patch is tested by building for random set of bsps affected by
    this patch, but not tested for all BSPs.
  * The parts of this patch related to libcpu/powerpc fix many small bugs
    inside of those Makefiles.
  * Have a look into libcpu/powerpc/mpc6xx/, which is in rather bad shape,
    IMO. Obviously most subdirectories seem to be build but are not included
    into libcpu.a by wrapup/Makefile. Addtionally, no actual BSP uses this
    cpu-variant subdirectory. Furthermore libcpu/powerpc/mpc6xx has a
    different directory layout than all other powerpc/<variant>/
    directories.

    Joel's note:  I agree but the issue is that there is a conflict between
    including timer or clock in libcpu/XXX/wrapup/Makefile.* and letting
    a BSP specifically decide to pick it up.  There is no clear solution
    to this at the moment.
2000-01-10 14:50:45 +00:00
Joel Sherrill
400c55255d Removing Makefile.in and adding Makefile.am. These were missed in conversion
to automake by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-12-21 16:20:38 +00:00
Joel Sherrill
08311cc3a9 Updated copyright notice. 1999-11-17 17:51:34 +00:00
Joel Sherrill
f817b0283c The files in libcpu should not be directly dependent on any BSP. In
particular, using bsp.h, or getting information from the BSP which
should properly be obtained from RTEMS is forbidden.  This is
necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves.  This started after
comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
The changes primarily eliminated the need to include bsp.h and
peeking at BSP_Configuration.  The use of Cpu_table in each
BSP needs to be eliminated.
1999-11-04 18:05:09 +00:00
Joel Sherrill
73b943bc97 Fixed paths to include files so this will build. 1999-03-31 23:21:19 +00:00
Joel Sherrill
60b791ada1 updated copyright to 1998 1998-02-17 23:46:28 +00:00
Joel Sherrill
98e4ebf594 Fixed typo in the pointer to the license terms. 1997-10-08 15:45:54 +00:00