summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/support (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-08-112002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius4-4/+12
* Makefile.am: Use .$(OBJEXT) instead of .o.
2002-07-212002-07-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-2/+6
* Makefile.am: Fix oversights in previous patch.
2002-07-212002-07-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius3-139/+8
* rtems.S: Remove. * Makefile.am: Reflect having removed rtems.S. Use AM_CPPFLAGS instead of INCLUDES (Latest automake standard).
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-05-012002-04-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-0/+6
* cpu.c: Include <rtems/powerpc/cache.h>.
2002-04-182002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill6-2202/+12
* rtems/score/cpu.h: Removed. * Makefile.am: Reflect changes above.
2002-04-032001-04-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-2/+12
* 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 Sherrill6-6/+18
* 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 Sherrill10-21/+68
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 Sherrill4-0/+16
* .cvsignore: Add aclocal.m4, autom4te.*, config.*, configure.
2001-11-212001-11-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-2/+14
* Makefile.am: Preinstall c_isr.inl (HACK). * ChangeLog: New file.
2001-11-202001-11-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill7-0/+2405
* 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 Sherrill9-2392/+41
* 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-11-092001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>Joel Sherrill2-4/+4
This modification is part of the submitted modifications necessary to support the IBM PPC405 family. This submission was reviewed by Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did not negatively impact the ppc403 BSPs. The submission and tracking process was captured as PR50. * ppc403/console/console405.c ppc403/tty_drv/.cvsignore, ppc403/tty_drv/Makefile.am, ppc403/tty_drv/tty_drv.c, ppc403/tty_drv/tty_drv.h: New files. * Makefile.am, README, configure.ac, old_exception_processing/cpu.c, old_exception_processing/cpu.h, ppc403/Makefile.am, ppc403/clock/clock.c, ppc403/console/Makefile.am, ppc403/console/console.c, ppc403/ictrl/ictrl.c, ppc403/ictrl/ictrl.h, ppc403/timer/timer.c: Modified.
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 Sherrill7-7/+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-282001-09-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-2/+2
* old_exception_processing/cpu.h: Renamed delay() to rtems_bsp_delay(). Renamed delay_in_bus_cycles() to rtems_bsp_delay_in_bus_cycles(). * shared/include/cpu.h: Renamed delay() to rtems_bsp_delay(). Renamed delay_in_bus_cycles() to rtems_bsp_delay_in_bus_cycles().
2001-09-272001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-2/+2
* 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 Sherrill2-10/+7
* 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 Sherrill3-8/+34
* 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-10-182000-10-18 Sergei Organov <osv@javad.ru>Joel Sherrill4-165/+171
* Added full support for MPC505. * mpc505/ictrl: New directory. * configure.in, mpc505/Makefile.am: Modified to reflect ictrl addition. * mpc505/ictrl/.cvsignore, mpc505/ictrl/Makefile.am, mpc505/ictrl/ictrl.c, mpc505/ictrl/ictrl.h: New files. * mpc505/timer/timer.c: Use <rtems.h>, not "rtems.h". * mpc505/vectors/Makefile.am: alignment exception handler now included. * mpc505/vectors/vectors.S: Now use constants for exception numbers. * old_exception_processing/ppc_offs.h: New file. * old_exception_processing/Makefile.am: Account for ppc_offs.h. * old_exception_processing/cpu.h: Make Nest and Disable levels volatile. * old_exception_processing/cpu_asm.S: Offsets moved to ppc_offs.h.
2000-09-052000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-3/+4
* 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 Sherrill2-0/+4
2000-07-07Picking up changes missed in previous commit. These changesJoel Sherrill2-11/+7
were needed to move exception processing to score/cpu.
2000-07-07Moved old_exception_processing and new_exception_processing directoriesJoel Sherrill2-4/+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 Sherrill2-2/+2
_Interrupt_Manager_initialization.
2000-06-12Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine GauthierJoel Sherrill3-2/+16
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart <Darlene.Stewart@nrc.ca> to add support for a number of very significant things: + BSPs for many variations on the Motorola MBX8xx board series + Cache Manager including initial support for m68040 and PowerPC + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use same code base. + Rework of eth_comm BSP to utiltize above. John reports this works on the 821 and 860
2000-06-12Merged from 4.5.0-beta3aJoel Sherrill3-26/+15
2000-04-13Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill2-0/+4
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 Sherrill2-0/+132
<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 Sherrill13-0/+4915
As part of this effort, the mpc750 libcpu code is now shared with the ppc6xx.