summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/support/new_exception_processing (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-05-142001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2-1/+34
* cpu.c: Per PR211 fix saving/restoring floating point context. The fpsave and fprestore routines are only used in a executing context which _is_ fp and hence has the FPU enabled. The current behavior required the FPU always to be on which is very dangerous if lazy context switching is used. [Joel Note: Some ports explicitly enabled the FPU in the FP save and restore routines to avoid this.] The patch also makes sure (on powerpc only) that the FPU is disabled for integer tasks. Note that this is crucial if deferred fp context switching is used. Otherwise, fp context corruption may go undetected! Also note that even tasks which merely push/pop FP registers to/from the stack without modifying them still MUST be FP tasks - otherwise (if lazy FP context switching is used), FP register corruption (of other, FP, tasks may occur)! Furthermore, (on PPC) by default, lazy FP context save/restore is _disabled_.
2002-04-182002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-979/+6
* rtems/score/cpu.h: Removed. * Makefile.am: Reflect changes above.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+6
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. * rtems/score/cpu.h: Account for name change.
2002-03-282002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-3/+9
* configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). * Makefile.am: Remove AUTOMAKE_OPTIONS.
2001-11-282001-11-28 Joel Sherrill <joel@OARcorp.com>,Joel Sherrill5-13/+33
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. * rtems/score/c_isr.inl: Deleted and contents merged into cpu.c. * cpu.c: Received contents of c_isr.inl. * Makefile.am: Deleted reference to c_isr.inl.
2001-11-272001-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-0/+8
* .cvsignore: Add aclocal.m4, autom4te.*, config.*, configure.
2001-11-212001-11-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+7
* Makefile.am: Preinstall c_isr.inl (HACK). * ChangeLog: New file.
2001-11-202001-11-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-0/+1000
* support/new_exception_processing/configure.ac, support/new_exception_processing/rtems/score/c_isr.inl, support/new_exception_processing/rtems/score/cpu.h, support/old_exception_processing/configure.ac, support/old_exception_processing/rtems/score/c_isr.inl, support/old_exception_processing/rtems/score/cpu.h, support/old_exception_processing/rtems/score/ppc_offs.h: New files missed in previous commit.
2001-11-202001-11-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-993/+13
* support/new_exception_processing/Makefile.am, support/old_exception_processing/Makefile.am, support/old_exception_processing/cpu_asm.S, support/old_exception_processing/irq_stub.S: Modified to reflect old versus new exception processing being a per BSP option. * support/new_exception_processing/c_isr.inl, support/new_exception_processing/cpu.h, support/old_exception_processing/c_isr.inl, support/old_exception_processing/cpu.h, support/old_exception_processing/ppc_offs.h: Removed.
2001-11-142001-11-14 Till Straumann <strauman@SLAC.Stanford.EDU>Joel Sherrill1-98/+108
* new_exception_processing/cpu_asm.S: Support double or single precision context switches. Note that doing a single precision context save/restore on a double precision PowerPC machine does not only result in rounding errors but also screws up the FPSCR register!
2001-10-222001-10-22 Andy Dachs <a.dachs@sstl.co.uk>Joel Sherrill1-2/+6
* Makefile.am, README, configure.ac, new_exception_processing/cpu.h, shared/include/cpu.h, shared/include/cpuIdent.c, shared/src/cache.c: Added mpc8260 support.
2001-10-122001-10-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-3/+0
* mpc6xx/clock/c_clock.c, mpc6xx/clock/c_clock.h, mpc8xx/clock/clock.c, mpc8xx/timer/timer.c, new_exception_processing/cpu.c, new_exception_processing/cpu.h, new_exception_processing/cpu_asm.S, old_exception_processing/cpu.c, old_exception_processing/cpu.h, old_exception_processing/cpu_asm.S, old_exception_processing/rtems.S: Fixed typo.
2001-09-272001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+1
* new_exception_processing/Makefile.am: Use 'PREINSTALL_FILES ='. * old_exception_processing/Makefile.am: Use 'PREINSTALL_FILES ='. * mpc6xx/mmu/Makefile.am: Use 'PREINSTALL_FILES ='. * mpc6xx/clock/Makefile.am: Use 'PREINSTALL_FILES ='. * mpc6xx/exceptions/Makefile.am: Use 'PREINSTALL_FILES ='. * mpc8xx/include/Makefile.am: Use 'PREINSTALL_FILES ='. * mpc8xx/exceptions/Makefile.am: Use 'PREINSTALL_FILES ='. * shared/include/Makefile.am: Use 'PREINSTALL_FILES ='. * shared/src/Makefile.am: Use 'PREINSTALL_FILES ='. * shared/src/Makefile.am: Use 'CLEANFILES ='.
2001-04-062001-03-30 Eric Valette <valette@crf.canon.fr>Joel Sherrill1-0/+14
* mpc8xx/exceptions/.cvsignore, mpc8xx/exceptions/Makefile.am, mpc8xx/exceptions/asm_utils.S, mpc8xx/exceptions/raw_exception.c, mpc8xx/exceptions/raw_exception.h: New files. * configure.in, mpc6xx/mmu/bat.h, mpc8xx/Makefile.am, mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c, mpc8xx/include/mpc8xx.h, mpc8xx/mmu/mmu.c, new_exception_processing/cpu.h, shared/include/byteorder.h, wrapup/Makefile.am: This is conversion of the mpc8xx CPU to the "new exception processing model."
2001-03-052001-02-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-5/+4
* mpc505/ictrl/Makefile.am, mpc6xx/clock/Makefile.am, mpc6xx/exceptions/Makefile.am, mpc6xx/mmu/Makefile.am, mpc8xx/include/Makefile.am, new_exception_processing/Makefile.am, old_exception_processing/Makefile.am, pc403/ictrl/Makefile.am, shared/include/Makefile.am, shared/src/Makefile.am: Apply *_HEADERS instead of *H_FILES. * shared/src/.cvsignore: Add cache.h.
2001-01-032001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+5
* new_exception_processing/cpu.h, old_exception_processing/cpu.c: old_exception_processing/cpu.h, Added _CPU_Initialize_vectors(). In particular, spurious vector initialization had to be moved on old exception processing model.
2000-09-052000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+1
* mpc505/timer/Makefile.am, mpc505/vectors/Makefile.am, mpc6xx/clock/Makefile.am, mpc6xx/exceptions/Makefile.am, mpc6xx/mmu/Makefile.am, mpc6xx/timer/Makefile.am, mpc6xx/wrapup/Makefile.am, ppc403/clock/Makefile.am, ppc403/console/Makefile.am, ppc403/ictrl/Makefile.am, ppc403/timer/Makefile.am, ppc403/vectors/Makefile.am, shared/include/Makefile.am, shared/src/Makefile.am, wrapup/Makefile.am, mpc8xx/clock/Makefile.am, mpc8xx/console-generic/Makefile.am, mpc8xx/cpm/Makefile.am, mpc8xx/mmu/Makefile.am, mpc8xx/timer/Makefile.am, mpc8xx/vectors/Makefile.am, new_exception_processing/Makefile.am, old_exception_processing/Makefile.am: Include compile.am
2000-07-10Build rtems-cpu.rel in this directory.Joel Sherrill1-1/+1
2000-07-10New files.Joel Sherrill1-0/+2
2000-07-07Picking up changes missed in previous commit. These changesJoel Sherrill1-8/+3
were needed to move exception processing to score/cpu.
2000-07-07Moved old_exception_processing and new_exception_processing directoriesJoel Sherrill1-2/+0
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-03Interrupt stack is allocated in _ISR_Handler_initialization notJoel Sherrill1-1/+1
_Interrupt_Manager_initialization.
2000-06-12Merged from 4.5.0-beta3aJoel Sherrill1-10/+6
2000-04-13Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill1-0/+2
adds .cvsignore.
2000-01-31Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff fromJoel Sherrill1-2/+0
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
1999-12-21Moved PPC_Set_decrementer() and PPC_Get_timebase_register() toJoel Sherrill1-32/+0
old_exception_processing tree.
1999-12-02Patch rtems-rc-19991123-rc-2.diff from Ralf CorsepiusJoel Sherrill1-0/+66
<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-02Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.Joel Sherrill4-0/+1500
As part of this effort, the mpc750 libcpu code is now shared with the ppc6xx.