Commit Graph

64 Commits

Author SHA1 Message Date
Joel Sherrill
e6f4e99c73 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* cpu.c, cpu_asm.S, rtems/score/cpu.h, rtems/score/mips.h,
	rtems/score/types.h: URL for license changed.
2003-09-04 18:47:30 +00:00
Ralf Corsepius
74e299827b 2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
2003-08-11 14:41:57 +00:00
Ralf Corsepius
17569bf489 2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove AC_CONFIG_AUX_DIR.
2003-03-06 09:40:38 +00:00
Ralf Corsepius
53021d4abb 2002-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Require autoconf-2.57 + automake-1.7.2.
	* Makefile.am: Eliminate C_O_FILES, S_O_FILES, libscorecpu_a_OBJECTS.
2002-12-11 17:08:38 +00:00
Ralf Corsepius
47c0220397 2002-11-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Fix package name.
2002-11-19 22:23:50 +00:00
Joel Sherrill
9584c06f3e 2002-11-04 Joel Sherrill <joel@OARcorp.com>
* idtcpu.h: Removed warning.
2002-11-04 22:19:49 +00:00
Joel Sherrill
75749ff815 2002-11-01 Joel Sherrill <joel@OARcorp.com>
* idtcpu.h: Removed warnings.
2002-11-01 22:00:27 +00:00
Joel Sherrill
7a845e2fd7 2002-10-28 Joel Sherrill <joel@OARcorp.com>
* idtcpu.h: Removed warning by turning extra token at the end of
	an endif into a comment.
2002-10-28 13:47:16 +00:00
Ralf Corsepius
5c8b6b6abb 2002-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add nostdinc to AM_INIT_AUTOMAKE.
2002-10-25 05:46:06 +00:00
Ralf Corsepius
f8cb04a54a 2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
	Add autom4te*cache.
	Remove autom4te.cache.
2002-10-21 12:04:36 +00:00
Joel Sherrill
5e39823b3f 2002-08-14 Greg Menke <gregory.menke@gsfc.nasa.gov>
* cpu_asm.S: Clarified some comments, removed code that forced
	SR_IEP on when returning from an interrupt.
2002-08-14 22:59:05 +00:00
Ralf Corsepius
a85d8ecbb7 2002-07-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Build libscorecpu.a instead of rtems-cpu.rel.
2002-07-26 13:32:13 +00:00
Ralf Corsepius
53f67279d7 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use .$(OBJEXT) instead of .o.
2002-07-22 13:51:58 +00:00
Joel Sherrill
dc3848d0bc 2002-07-16 Greg Menke <gregory.menke@gsfc.nasa.gov>
* cpu_asm.S: Added SR_IEO to context restore to fix isr disabled
	deadlock caused by interrupt arriving while dispatching.
2002-07-16 22:26:14 +00:00
Ralf Corsepius
af81910b44 2002-07-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: RTEMS_TOP(../../../..).
2002-07-05 15:54:50 +00:00
Ralf Corsepius
e6938b4d26 2002-07-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems.c: Remove.
	* Makefile.am: Reflect changes above.
2002-07-03 03:38:34 +00:00
Ralf Corsepius
8c746fe197 2002-07-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_PROJECT_ROOT.
2002-07-01 09:59:55 +00:00
Ralf Corsepius
a25b63b098 2002-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add RTEMS_PROG_CCAS
2002-06-27 12:21:55 +00:00
Ralf Corsepius
6f79a970cd 2002-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use AC_CONFIG_AUX_DIR(../../../..).
	Add AC_PROG_RANLIB.
2002-06-27 03:59:59 +00:00
Ralf Corsepius
2f6261d731 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Include $(top_srcdir)/../../../automake/*.am.
	Use ../../../aclocal.
2002-06-17 09:22:48 +00:00
Joel Sherrill
eb4536c37f 2001-04-03 Joel Sherrill <joel@OARcorp.com>
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
	* rtems/score/mipstypes.h: Removed.
	* rtems/score/types.h: New file via CVS magic.
	* Makefile.am, rtems/score/cpu.h: Account for name change.
2002-04-03 14:05:25 +00:00
Joel Sherrill
7273b6e166 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]).
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:54:58 +00:00
Joel Sherrill
25d3d4d16c 2002-03-20 Greg Menke <gregory.menke@gsfc.nasa.gov>
* cpu_asm.S: Now compiles on 4600 and 4650.
2002-03-20 18:16:07 +00:00
Joel Sherrill
293c0e30f8 2002-03-13 Greg Menke <gregory.menke@gsfc.nasa.gov>
* cpu_asm.S: Fixed a sneaky return from int w/ ints disabled bug.
	* rtems/score/cpu.h: Fixed register numbering in comments and made
	interrupt enable/disable more robust.
2002-03-15 19:47:36 +00:00
Joel Sherrill
8264d230a9 2002-03-05 Greg Menke <gregory.menke@gsfc.nasa.gov>
* cpu_asm.S: Added support for the debug exception vector, cleaned
	up the exception processing & exception return stuff.  Re-added
	EPC in the task context structure so the gdb stub will know where
	a thread is executing.  Should've left it there in the first place...
	* idtcpu.h: Added support for the debug exception vector.
	* cpu.c: Added ___exceptionTaskStack to hold a pointer to the
	stack frame in an interrupt so context switch code can get the
	userspace EPC when scheduling.
	* rtems/score/cpu.h: Re-added EPC to the task context.
2002-03-08 16:24:48 +00:00
Joel Sherrill
bd1ecb00d9 2002-02-27 Greg Menke <gregory.menke@gsfc.nasa.gov>
* cpu_asm.S: Fixed exception return address, modified FP context
	switch so FPU is properly enabled and also doesn't screw up the
	exception FP handling.
	* idtcpu.h: Added C0_TAR, the MIPS target address register used for
	returning from exceptions.
	* iregdef.h: Added R_TAR to the stack frame so the target address
	can be saved on a per-exception basis.  The new entry is past the
	end of the frame gdb cares about, so doesn't affect gdb or cpu.h
	stuff.
	* rtems/score/cpu.h: added an #ifdef so cpu_asm.S can include it
	to obtain FPU defines without systax errors generated by the C
	defintions.
	* cpu.c: Improved interrupt level saves & restores.
2002-03-01 16:21:12 +00:00
Joel Sherrill
9099a851f3 2002-02-08 Joel Sherrill <joel@OARcorp.com>
* iregdef.h, rtems/score/cpu.h: Reordered register in the
	exception stack frame to better match gdb's expectations.
2002-02-08 23:04:03 +00:00
Joel Sherrill
a37b8f95b7 2001-02-05 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.S: Enhanced to save/restore more registers on
	exceptions.
	* rtems/score/cpu.h (CPU_Interrupt_frame): Enhanced to list every
	register individually and document when it is saved.
	* idtcpu.h: Added constants for the coprocessor 1 registers
	revision and status.
2002-02-05 21:04:39 +00:00
Joel Sherrill
9535ba4603 2001-02-05 Joel Sherrill <joel@OARcorp.com>
* rtems/Makefile.am, rtems/score/Makefile.am: Removed again.
2002-02-05 16:17:37 +00:00
Joel Sherrill
0bc5329df8 2001-02-04 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: IDLE task should not be FP.  This was a mistake
	in the previous patch that has now been confirmed.
2002-02-04 20:05:30 +00:00
Joel Sherrill
e6dec71c27 2001-02-01 Greg Menke <gregory.menke@gsfc.nasa.gov>
* cpu.c: Enhancements and fixes for modifying the SR when changing
	the interrupt level.
	* cpu_asm.S: Fixed handling of FP enable bit so it is properly
	managed on a per-task basis, improved handling of interrupt levels,
	and made deferred FP contexts work on the MIPS.
	* rtems/score/cpu.h: Modified to support above changes.
2002-02-01 15:00:30 +00:00
Joel Sherrill
7a01fba127 2002-01-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/Makefile.am: Removed.
	* rtems/score/Makefile.am: Removed.
	* configure.ac: Reflect changes above.
	* Makefile.am: Reflect changes above.
2002-01-30 14:34:00 +00:00
Joel Sherrill
d49ce826ae 2002-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* asm.h: Remove #include <rtems/score/targopts.h>.
	Add #include <rtems/score/cpuopts.h>.
	* configure.ac: Remove RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP).
2002-01-16 22:52:41 +00:00
Joel Sherrill
e6dc43dac4 2001-12-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use RTEMS_ENV_RTEMSCPU.
2001-12-20 17:32:10 +00:00
Joel Sherrill
e9718415b4 2001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add multilib support.
2001-12-19 14:36:28 +00:00
Joel Sherrill
4db3028304 2001-11-28 Joel Sherrill <joel@OARcorp.com>,
This was tracked as PR91.
	* rtems/score/cpu.h: Added CPU_PROVIDES_ISR_IS_IN_PROGRESS macro which
	is used to specify if the port uses the standard macro for this (FALSE).
	A TRUE setting indicates the port provides its own implementation.
2001-11-28 18:16:00 +00:00
Joel Sherrill
f64f18160c 2001-10-12 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.S: _CPU_Context_save_fp in was incorrectly in conditional
	compilation block with (CPU_HARDWARE_FP == FALSE).  Reported by
	Wayne Bullaughey <wayne@wmi.com>.
2001-10-12 17:11:40 +00:00
Joel Sherrill
6638798649 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:07:37 +00:00
Joel Sherrill
684eebc86a 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
	* Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-27 13:24:14 +00:00
Joel Sherrill
77b8106919 2001-07-03 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Fixed typo.
2001-07-03 16:58:56 +00:00
Joel Sherrill
44ce2da155 2000-05-24 Joel Sherrill <joel@OARcorp.com>
* rtems/score/mips.h: Added constants for MIPS exception numbers.
	All exceptions should be given low numbers and thus can be installed
	and processed in a uniform manner.  Variances between various MIPS
	ISA levels were not accounted for.
2001-05-24 19:49:30 +00:00
Joel Sherrill
d26dce208d 2001-05-24 Greg Menke <gregory.menke@gsfc.nasa.gov>
* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>.
	* cpu_asm.S: Now works on Mongoose-V.  Missed in previous patch.
2001-05-24 13:19:51 +00:00
Joel Sherrill
e2040badd2 2001-05-22 Greg Menke <gregory.menke@gsfc.nasa.gov>
* rtems/score/cpu.h: Add the interrupt stack structure and enhance
	the context initialization to account for floating point tasks.
	* rtems/score/mips.h: Added the routines mips_set_cause(),
	mips_get_fcr31(), and mips_set_fcr31().
	* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>.
2001-05-22 22:59:42 +00:00
Joel Sherrill
c556d0bacc 2001-05-07 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.S: Merged patches from Gregory Menke
	<Gregory.D.Menke.1@gsfc.nasa.gov> that clean up
	stack usage and include nops in the delay slots.
2001-05-07 13:06:56 +00:00
Joel Sherrill
176e1ed8aa 2001-04-20 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.S: Added code to save and restore SR and EPC to
	properly support nested interrupts.  Note that the ISR
	(not RTEMS) enables interrupts allowing the nesting to occur.
2001-04-20 13:07:34 +00:00
Joel Sherrill
aa7f8a1f5d 2001-03-14 Joel Sherrill <joel@OARcorp.com>
* cpu.c, rtems/score/cpu.h, rtems/score/mipstypes.h:
	Removed unused variable _CPU_Thread_dispatch_pointer
	and cleaned numerous comments.
2001-03-14 16:43:35 +00:00
Joel Sherrill
2e549dad4b 2001-03-13 Joel Sherrill <joel@OARcorp.com>
* cpu.c, cpu_asm.S, iregdef.h, rtems/score/cpu.h, rtems/score/mips.h:
	Merged MIPS1 and MIPS3 code reducing the number of lines of assembly.
	Also reimplemented some assembly routines in C further reducing
	the amount of assembly and increasing maintainability.
2001-03-14 00:14:18 +00:00
Joel Sherrill
329509fbdd 2001-02-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, rtems/score/Makefile.am:
	Apply include_*HEADERS instead of H_FILES.
2001-02-05 18:41:35 +00:00
Joel Sherrill
9c1dc8cd2a 2001-01-12 Joel Sherrill <joel@OARcorp.com>
* rtems/score/mips.h (mips_get_sr, mips_set_sr): Corrected
	register constraints from "general" to "register".
2001-01-12 13:36:30 +00:00
Joel Sherrill
16ad7eafed 2001-01-09 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.S: Use SR_INTERRUPT_ENABLE_BITS instead of SR_XXX constants
	to make it easier to conditionalize the code for various ISA levels.
2001-01-09 16:48:26 +00:00