Commit Graph

48 Commits

Author SHA1 Message Date
Jennifer Averett
0c0181dee2 PR 1993 - Convert MIPS to PIC IRQ model 2012-04-04 08:43:08 -05:00
Ralf Corsepius
ac4f31c814 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/interrupts/vectorexceptions.c: Make
	mips_dump_exception_frame, mips_default_exception_code_handler
	static.
2011-12-10 04:07:46 +00:00
Ralf Corsepius
359e537416 Whitespace removal. 2009-11-30 05:09:41 +00:00
Ralf Corsepius
67bf686cc1 New. 2009-11-16 10:03:29 +00:00
Ralf Corsepius
cf18144695 Remove nested externs. 2009-11-16 10:02:21 +00:00
Greg Menke
7c99007641 B.Robinson MIPS patch 2006-06-08 18:03:55 +00:00
Ralf Corsepius
26d61ce4d3 2006-03-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/interrupts/vectorexceptions.c: Merger with submission from
	Bruce Robinson <brucer@pmccorp.com>.
	Make some arrays static const.
2006-03-17 15:31:13 +00:00
Ralf Corsepius
385347e53d Remove. 2005-05-10 07:52:30 +00:00
Jay Monkman
74fb4e1f1d 2005-02-24 Jay Monkman <jtm@lopingdog.com>
* Makefile.am, configure.ac: New CPU.
        * shared/interrupts/installisrentries.c,
	shared/interrupts/isr_entries.S: Added CPU32 support.
	* au1x00/Makefile.am, au1x00/include/au1x00.h,
	au1x00/vectorisrs/maxvectors.c, au1x00/vectorisrs/vectorisrs.c: New CPU.
2005-02-25 05:18:49 +00:00
Ralf Corsepius
9d83387b0e Cosmetics. 2005-01-28 03:02:15 +00:00
Ralf Corsepius
83a0a8a26a 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* mongoosev/Makefile.am, r46xx/Makefile.am, shared/Makefile.am,
	tx39/Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
2005-01-07 06:23:52 +00:00
Joel Sherrill
23b68c2591 2005-01-04 Joel Sherrill <joel@OARcorp.com>
* shared/Makefile.am: Fix typo.
2005-01-04 23:31:16 +00:00
Ralf Corsepius
c8db773dfa 2005-01-02 Ralf Corsepius <ralf.corsepius@rtems.org>
* mongoosev/Makefile.am, r46xx/Makefile.am, shared/Makefile.am,
	tx39/Makefile.am: Remove build-variant support.
2005-01-02 12:35:07 +00:00
Ralf Corsepius
73b5bd5d0e Remove stray white spaces. 2004-04-15 13:33:58 +00:00
Ralf Corsepius
0cd196b7f9 2004-04-02 Ralf Corsepius <ralf_corsepius@rtems.org>
* clock/clock.S, mongoosev/vectorisrs/vectorisrs.c,
	shared/interrupts/isr_entries.S,
	shared/interrupts/vectorexceptions.c, timer/gettime.S: Include
	<rtems/mips/iregdef.h> instead of <iregdef.h>.
	* clock/clock.S, mongoosev/vectorisrs/vectorisrs.c,
	shared/interrupts/installisrentries.c,
	shared/interrupts/isr_entries.S,
	shared/interrupts/vectorexceptions.c, timer/gettime.S: Include
	<rtems/mips/idtcpu.h> instead of <idtcpu.h>.
2004-04-03 00:15:56 +00:00
Ralf Corsepius
62b5781b07 2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>
* clock/clock.S: Include <rtems/asm.h> instead of <asm.h>.
	* shared/interrupts/isr_entries.S: Include <rtems/asm.h> instead of <asm.h>.
	* timer/gettime.S: Include <rtems/asm.h> instead of <asm.h>.
2004-04-01 10:06:55 +00:00
Ralf Corsepius
ae5901be44 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* mongoosev/duart/mg5uart.c, mongoosev/include/mongoose-v.h,
	mongoosev/vectorisrs/vectorisrs.c,
	shared/interrupts/vectorexceptions.c, tx39/include/tx3904.h:
	Cosmetics.
2004-03-31 11:11:30 +00:00
Ralf Corsepius
35f9701021 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* clock/ckinit.c, clock/clock.h, mongoosev/duart/mg5uart.c,
	mongoosev/duart/mg5uart.h, mongoosev/duart/mg5uart_reg.c,
	mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/vectorisrs.c,
	shared/interrupts/vectorexceptions.c, timer/timer.c,
	tx39/include/tx3904.h: Convert to using c99 fixed size types.
2004-03-31 02:02:23 +00:00
Ralf Corsepius
2609e83f77 Unused. 2004-03-08 16:26:41 +00:00
Ralf Corsepius
8f783b6164 2004-02-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mongoosev/Makefile.am, r46xx/Makefile.am, tx39/Makefile.am:
	Don't include .../lib.am. Remove ACLOCAL_AMFLAGS.
	* shared/Makefile.am: Don't include .../lib.am.
2004-02-06 11:31:26 +00:00
Ralf Corsepius
63ae87612d 2004-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* clock/Makefile.am, timer/Makefile.am: Remove.
	* r46xx/Makefile.am: Built timer.rel, clock.rel.
	Add PREINSTALL_DIRS.
	* Makefile.am: Remove timer, clock.
	* tx39/Makefile.am, mongoosev/Makefile.am, shared/Makefile.am:
	Add PREINSTALL_DIRS.
	* configure.ac: Reflect removing clock/Makefile.am,
	timer/Makefile.am.
	Add subdir-objects to AUTOMAKE_OPTIONS.
2004-01-21 06:50:10 +00:00
Ralf Corsepius
9a874631f6 2004-01-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* clock/Makefile.am: Convert to using automake compilation rules.
	* mongoosev/Makefile.am: Ditto.
	* r46xx/Makefile.am: Ditto.
	* shared/Makefile.am: Ditto.
	* timer/Makefile.am: Ditto.
	* tx39/Makefile.am: Ditto.
	* Makefile.am: Remove conditional subdirs.
	* configure.ac: Add subdir-object to AUTOMAKE_OPTIONS.
	Require automake-1.8.2. Add AM_PROG_CC_C_O.
2004-01-18 09:18:06 +00:00
Ralf Corsepius
afc3f27b27 2004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mongoosev/Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES.
	Add PRE/TMPINSTALL_FILES to CLEANFILES.
	* shared/Makefile.am: Ditto.
	* tx39/Makefile.am: Ditto.
2004-01-14 06:47:37 +00:00
Ralf Corsepius
1ba50857e6 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mongoosev/duart/Makefile.am: Remove.
	* mongoosev/vectorisrs/Makefile.am: Remove.
	* mongoosev/Makefile.am: Merge-in vectorisrs/Makefile.am,
	duart/Makefile.am.
	* r46xx/vectorisrs/Makefile.am: Remove.
	* r46xx/Makefile.am: Merge-in vectorisrs/Makefile.am.
	* shared/cache/Makefile.am: Remove.
	* shared/interrupts/Makefile.am: Remove.
	* shared/Makefile.am: Merge-in cache/Makefile.am,
	interrupts/Makefile.am.
	* tx39/vectorisrs/Makefile.am: Remove.
	* tx39/Makefile.am: Merge-in vectorisrs/Makefile.am.
	* configure.ac: Reflect changes above.
2003-12-16 13:17:15 +00:00
Ralf Corsepius
380b43371a 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mongoosev/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
	* mongoosev/duart/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
	* shared/cache/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
	* tx39/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
2003-12-12 15:42:40 +00:00
Ralf Corsepius
d4116e4466 2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* clock/Makefile.am: Remove all-local: $(ARCH).
	* mongoosev/duart/Makefile.am: Remove all-local: $(ARCH).
	* mongoosev/vectorisrs/Makefile.am: Remove all-local: $(ARCH).
	* r46xx/vectorisrs/Makefile.am: Remove all-local: $(ARCH).
	* shared/cache/Makefile.am: Remove all-local: $(ARCH).
	* shared/interrupts/Makefile.am: Remove all-local: $(ARCH).
	* timer/Makefile.am: Remove all-local: $(ARCH).
	* tx39/vectorisrs/Makefile.am: Remove all-local: $(ARCH).
2003-12-02 05:07:40 +00:00
Ralf Corsepius
c6c4418c6c 2003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Reformat.
	* clock/Makefile.am: Reformat.
	* mongoosev/Makefile.am: Reformat. Use dirstamps for preinstallation.
	* tx39/Makefile.am: Ditto.
	* shared/cache/Makefile.am: Ditto.
	* mongoosev/duart/Makefile.am: Ditto.
	* mongoosev/vectorisrs/Makefile.am: Reformat.
	* r46xx/vectorisrs/Makefile.am: Reformat.
	* shared/Makefile.am: Reformat.
	* shared/interrupts/Makefile.am: Reformat.
	* timer/Makefile.am: Reformat.
	* tx39/vectorisrs/Makefile.am: Reformat.
2003-12-01 11:33:47 +00:00
Joel Sherrill
ae8d185e48 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* clock/ckinit.c, mongoosev/duart/mg5uart.c, mongoosev/duart/mg5uart.h,
	mongoosev/duart/mg5uart_reg.c, mongoosev/include/mongoose-v.h,
	mongoosev/vectorisrs/maxvectors.c, mongoosev/vectorisrs/vectorisrs.c,
	r46xx/vectorisrs/maxvectors.c, shared/interrupts/isr_entries.S,
	timer/timer.c, tx39/vectorisrs/maxvectors.c: URL for license changed.
2003-09-04 18:53:05 +00:00
Ralf Corsepius
29993bb033 2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Makefile.am: Reflect having moved automake.
	clock/Makefile.am: Reflect having moved automake.
	mongoosev/Makefile.am: Reflect having moved automake.
	mongoosev/duart/Makefile.am: Reflect having moved automake.
	mongoosev/vectorisrs/Makefile.am: Reflect having moved automake.
	r46xx/Makefile.am: Reflect having moved automake.
	r46xx/vectorisrs/Makefile.am: Reflect having moved automake.
	shared/Makefile.am: Reflect having moved automake.
	shared/cache/Makefile.am: Reflect having moved automake.
	shared/interrupts/Makefile.am: Reflect having moved automake.
	timer/Makefile.am: Reflect having moved automake.
	tx39/Makefile.am: Reflect having moved automake.
	tx39/include/Makefile.am: Reflect having moved automake.
	tx39/vectorisrs/Makefile.am: Reflect having moved automake.
2003-08-16 12:32:25 +00:00
Ralf Corsepius
a5f8ec565d 2003-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* tx39/vectorisrs/Makefile.am: Don't include @RTEMS_BSP@.cfg.
	* r46xx/vectorisrs/Makefile.am: Ditto.
	* mongoosev/vectorisrs/Makefile.am: Ditto.
	* mongoosev/duart/Makefile.am: Ditto.
	* shared/interrupts/Makefile.am: Ditto.
	* shared/cache/Makefile.am: Ditto. Eliminate *_O_FILES.
2003-01-16 02:51:44 +00:00
Joel Sherrill
17ed00e431 2002-11-01 Joel Sherrill <joel@OARcorp.com>
* shared/interrupts/installisrentries.c,
	shared/interrupts/vectorexceptions.c: Removed warnings.
2002-11-01 21:58:25 +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
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
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
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
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
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
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