summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-0438-37/+58
| | | | | | | | | | | | | | | | | | | | | * mpc6xx/clock/c_clock.c, mpc6xx/clock/c_clock.h, mpc6xx/exceptions/raw_exception.c, mpc6xx/exceptions/raw_exception.h, mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h, mpc6xx/mmu/mmuAsm.S, mpc6xx/timer/timer.c, mpc8260/clock/clock.c, mpc8260/console-generic/console-generic.c, mpc8260/cpm/brg.c, mpc8260/exceptions/raw_exception.c, mpc8260/exceptions/raw_exception.h, mpc8260/include/cpm.h, mpc8260/include/mmu.h, mpc8260/mmu/mmu.c, mpc8260/timer/timer.c, mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c, mpc8xx/exceptions/raw_exception.c, mpc8xx/exceptions/raw_exception.h, mpc8xx/include/cpm.h, mpc8xx/include/mmu.h, mpc8xx/mmu/mmu.c, mpc8xx/timer/timer.c, ppc403/clock/clock.c, ppc403/console/console.c.polled, ppc403/timer/timer.c, rtems/powerpc/debugmod.h, shared/include/byteorder.h, shared/include/cpuIdent.c, shared/include/cpuIdent.h, shared/include/io.h, shared/include/mmu.h, shared/include/page.h, shared/include/pgtable.h, shared/include/spr.h: URL for license changed.
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-046-4/+12
| | | | * cpu.c, cpu_asm.S: URL for license changed.
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-044-18/+9
| | | | | | * mpc505/timer/timer.c, ppc403/console/console.c, ppc403/console/console405.c: Removed incorrect statement about copyright assignment.
* 2003-08-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-08-202-1/+4
| | | | * mpc8260/clock/clock.c: Correct copyright statements.
* 2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-08-184-1/+13
| | | | * Makefile.am: Reflect having moved aclocal/.
* Fix broken ChangeLog entries.Ralf Corsepius2003-08-183-38/+38
|
* 2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-08-162-0/+8
| | | | Makefile.am: Reflect having moved automake.
* 2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-08-1637-101/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makefile.am: Reflect having moved automake. mpc505/Makefile.am: Reflect having moved automake. mpc505/ictrl/Makefile.am: Reflect having moved automake. mpc505/timer/Makefile.am: Reflect having moved automake. mpc505/vectors/Makefile.am: Reflect having moved automake. mpc6xx/Makefile.am: Reflect having moved automake. mpc6xx/clock/Makefile.am: Reflect having moved automake. mpc6xx/exceptions/Makefile.am: Reflect having moved automake. mpc6xx/mmu/Makefile.am: Reflect having moved automake. mpc6xx/timer/Makefile.am: Reflect having moved automake. mpc6xx/wrapup/Makefile.am: Reflect having moved automake. mpc8260/Makefile.am: Reflect having moved automake. mpc8260/clock/Makefile.am: Reflect having moved automake. mpc8260/console-generic/Makefile.am: Reflect having moved automake. mpc8260/cpm/Makefile.am: Reflect having moved automake. mpc8260/exceptions/Makefile.am: Reflect having moved automake. mpc8260/mmu/Makefile.am: Reflect having moved automake. mpc8260/timer/Makefile.am: Reflect having moved automake. mpc8xx/Makefile.am: Reflect having moved automake. mpc8xx/clock/Makefile.am: Reflect having moved automake. mpc8xx/console-generic/Makefile.am: Reflect having moved automake. mpc8xx/cpm/Makefile.am: Reflect having moved automake. mpc8xx/exceptions/Makefile.am: Reflect having moved automake. mpc8xx/mmu/Makefile.am: Reflect having moved automake. mpc8xx/timer/Makefile.am: Reflect having moved automake. ppc403/Makefile.am: Reflect having moved automake. ppc403/clock/Makefile.am: Reflect having moved automake. ppc403/console/Makefile.am: Reflect having moved automake. ppc403/ictrl/Makefile.am: Reflect having moved automake. ppc403/timer/Makefile.am: Reflect having moved automake. ppc403/tty_drv/Makefile.am: Reflect having moved automake. ppc403/vectors/Makefile.am: Reflect having moved automake. shared/Makefile.am: Reflect having moved automake. shared/include/Makefile.am: Reflect having moved automake. shared/src/Makefile.am: Reflect having moved automake. wrapup/Makefile.am: Reflect having moved automake.
* 2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-08-114-1/+13
| | | | * configure.ac: Use rtems-bugs@rtems.com as bug report email address.
* 2003-08-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-08-082-2/+4
| | | | * wrapup/Makefile.am (FAMILY_OBJS): Remove *exception_processing.
* 2003-07-18 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-07-231-24/+8
| | | | | | PR 288/rtems * support/new_exception_processing/cpu.c: _ISR_Nest_level is now properly maintained and does not reside in SPRG0.
* 2003-07-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-07-082-1/+11
| | | | | | | | | PR 416/bsps * ppc403/ictrl/ictrl.c (ictrl_isr): We acknolwegde the interrupt in interrupt controller (clr_exisr(mask)) before calling the interrupt handler that will acnowledge the interrupt source. This results in the interrupt beeing seen a second time by the interrupt controller. Reported and fixed by El Kolli Yacine <yacine.elkolli@crf.canon.fr>.
* 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>Joel Sherrill2003-03-252-0/+89
| | | | | PR 368/filesystems * mpc8xx/include/mpc8xx.h: Add PCMCIA registers.
* 2003-03-25 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-03-252-3/+8
| | | | | PR 349/bsps * shared/include/cpuIdent.c: Readd PPC604r CPU.
* 2003-03-18 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-03-182-0/+26
| | | | | PR 356/bsps * cpu.c: This patch makes RTEMS/PowerPC eabi compliant.
* Merger from rtems-4-6-branch.Ralf Corsepius2003-03-112-0/+8
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-03-112-1/+4
|
* 2003-02-20 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-209-13/+107
| | | | | | | | | | | | | | | PR 349/bsps * mpc6xx/exceptions/raw_exception.c, mpc6xx/mmu/bat.c, mpc6xx/mmu/pte121.c, shared/include/cpuIdent.c, shared/include/cpuIdent.h, shared/src/Makefile.am, shared/src/stack.c, shared/src/stackTrace.h, powerpc/registers.h: - undo improper 'fix' who broke mpc604r identification - fix: 7400 identification PVR value was wrong - enhance 'setdbat()' to switch OFF a given BAT if called with 0 size - fix: page table support bugfix - enhancement: provide routines to take and print stack trace snapshots - add definitions for HID1 and DABR SPRs
* 2003-02-14 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2003-02-142-0/+7
| | | | | | PR 348/bsps * mpc6xx/exceptions/raw_exception.c: Add PPC_603ev as required by MTX603e BSP.
* 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-02-114-1/+13
| | | | * configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
* 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-02-114-1/+13
| | | | * configure.ac: AC_PREREQ(2.57).
* 2002-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-12-1931-31/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Remove RTEMS_CHEC_CUSTOM_BSP. * mpc505/ictrl/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc505/timer/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc505/vectors/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc6xx/clock/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc6xx/exceptions/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc6xx/mmu/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc6xx/timer/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc6xx/wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc8260/clock/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc8260/console-generic/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc8260/cpm/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc8260/exceptions/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc8260/mmu/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc8260/timer/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc8xx/clock/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc8xx/console-generic/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc8xx/cpm/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc8xx/exceptions/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc8xx/mmu/Makefile.am: Don't include @RTEMS_BSP@.cfg. * mpc8xx/timer/Makefile.am: Don't include @RTEMS_BSP@.cfg. * ppc403/clock/Makefile.am: Don't include @RTEMS_BSP@.cfg. * ppc403/console/Makefile.am: Don't include @RTEMS_BSP@.cfg. * ppc403/ictrl/Makefile.am: Don't include @RTEMS_BSP@.cfg. * ppc403/timer/Makefile.am: Don't include @RTEMS_BSP@.cfg. * ppc403/tty_drv/Makefile.am: Don't include @RTEMS_BSP@.cfg. * ppc403/vectors/Makefile.am: Don't include @RTEMS_BSP@.cfg. * shared/include/Makefile.am: Don't include @RTEMS_BSP@.cfg. * shared/src/Makefile.am: Don't include @RTEMS_BSP@.cfg. * wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* 2002-12-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-12-172-0/+10
| | | | | * Makefile.am: Don't include @RTEMS_BSP@.cfg. * configure.ac: Remove RTEMS_CHECK_CUSTOM_BSP.
* 2002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-12-062-1/+4
| | | | * configure.ac: Remove RTEMS_CHECK_BSP_CACHE.
* 2002-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-12-026-56/+49
| | | | | | | | | * mpc8260/Makefile.am: Merge-in mpc8260/include/Makefile.am. * mpc8xx/Makefile.am: Merge-in mpc8xx/include/Makefile.am. * mpc8260/include/Makefile.am: Remove. * mpc8xx/include/Makefile.am: Remove. * configure.ac: Remove mpc8260/include/Makefile. Remove mpc8xx/include/Makefile.
* 2002-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-12-012-0/+5
| | | | * configure.ac: Add RTEMS_PROG_CCAS.
* 2002-11-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-11-045-12/+26
| | | | | | * mpc8260/console-generic/console-generic.c, mpc8260/cpm/dpram.c, mpc8260/exceptions/raw_exception.c, mpc8xx/exceptions/raw_exception.c: Removed warnings.
* 2002-11-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-11-015-0/+16
| | | | | | * mpc8xx/console-generic/console-generic.c, mpc8xx/cpm/dpram.c, mpc8xx/exceptions/raw_exception.c, ppc403/clock/clock.c: Removed warnings.
* 2002-11-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-11-012-0/+14
| | | | | | * cpu.c: Currently only the mpc8260 BSP supports interrupt nesting. NOTE: These needs to be generalized as the patch is applied to other BSPs.
* 2002-10-31 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-10-314-0/+12
| | | | | * mpc6xx/clock/c_clock.c, mpc6xx/exceptions/raw_exception.c, mpc6xx/mmu/bat.c: Removed warnings.
* 2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-10-214-3/+21
| | | | | | * .cvsignore: Reformat. Add autom4te*cache. Remove autom4te.cache.
* 2002-09-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-09-142-0/+7
| | | | | * cpu.c: Include declaration of variable i in ifdef USE_SPRG to eliminate warning.
* 2002-09-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-09-082-1/+4
| | | | * configure.ac: Remove duplicate mpc6xx/timer/Makefile from CONFIG_FILES.
* 2002-09-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-09-022-0/+7
| | | | | * mpc8260/exceptions/raw_exception.c: #include <string.h>. #include <bspIo.h>.
* 2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-08-113-7/+12
| | | | | * mpc6xx/wrapup/Makefile.am: Use .$(OBJEXT) instead of .o. * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
* 2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-08-112-0/+8
| | | | * Makefile.am: Use .$(OBJEXT) instead of .o.
* 2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-08-1128-30/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mpc505/ictrl/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc505/timer/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc505/vectors/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc6xx/clock/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc6xx/exceptions/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc6xx/mmu/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc6xx/timer/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc8260/clock/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc8260/console-generic/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc8260/cpm/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc8260/exceptions/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc8260/mmu/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc8260/timer/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc8xx/clock/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc8xx/console-generic/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc8xx/cpm/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc8xx/exceptions/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc8xx/mmu/Makefile.am: Use .$(OBJEXT) instead of .o. * mpc8xx/timer/Makefile.am: Use .$(OBJEXT) instead of .o. * ppc403/clock/Makefile.am: Use .$(OBJEXT) instead of .o. * ppc403/console/Makefile.am: Use .$(OBJEXT) instead of .o. * ppc403/ictrl/Makefile.am: Use .$(OBJEXT) instead of .o. * ppc403/timer/Makefile.am: Use .$(OBJEXT) instead of .o. * ppc403/tty_drv/Makefile.am: Use .$(OBJEXT) instead of .o. * ppc403/vectors/Makefile.am: Use .$(OBJEXT) instead of .o. * shared/include/Makefile.am: Use .$(OBJEXT) instead of .o. * shared/src/Makefile.am: Use .$(OBJEXT) instead of .o.
* 2002-07-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-242-0/+5
| | | | * mpc6xx/mmu/pte121.c: Include <string.h> for gcc-3.1.
* 2002-07-22 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-07-222-1/+7
| | | | | | * mpc6xx/mmu/bat.c: Per PR241, fix a tiny bug introduced by the fix for an earlier patch (PR213) which added support for setting BAT0 to setdbat().
* 2002-07-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-211-0/+4
| | | | * Makefile.am: Fix oversights in previous patch.
* 2002-07-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-211-0/+6
| | | | | | * rtems.S: Remove. * Makefile.am: Reflect having removed rtems.S. Use AM_CPPFLAGS instead of INCLUDES (Latest automake standard).
* 2001-05-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-173-3/+8
| | | | | * mpc6xx/exceptions/raw_exception.c, pc6xx/mmu/pte121.c: Modified slightly to reflect recent PowerPC re-organization and avoid warnings.
* 2001-05-15 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-153-0/+1026
| | | | | * mpc6xx/mmu/pte121.c, mpc6xx/mmu/pte121.h: New files. Missed in merge of PR213.
* 2001-05-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-142-2/+6
| | | | * shared/include/cpuIdent.c: Account for duplicate numbers.
* 2002-05-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-143-1/+134
| | | | | | * rtems/powerpc/debugmod.h: New file (extracted from score/ppc.h). * Makefile.am: Relect changes above.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-142-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_.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-142-3/+29
| | | | | | | | | | | | | | | | * shared/include/io.h: Per PR215 address the following issues: - _IO_BASE, _ISA_MEM_BASE and PCI_DRAM_OFFSET are no longer defined by libcpu (powerpc/shared/include/io.h) but by the BSP (who is the only one to know the values) - the affected BSP (shared/motorola) headers have been fixed in a separate "libbsp/powerpc/shared" patch. - the DEC 21140 driver (libchip/network/dec21140.c) has been fixed to use PCI_DRAM_OFFSET instead of PREP_PCI_DRAM_OFFSET. and PCI_MEM_BASE instead of PREP_ISA_MEM_BASE. PCI_MEM_BASE is to be defined by the BSP who is using this driver. - the DEC driver also has been fixed to use the newer rtems_bsp_delay_in_bus_cycles() instead of the obsolete delay_in_bus_cycles().
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-148-58/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | * rtems/powerpc/registers.h, rtems/score/ppc.h: Per PR213, add the following: - support for the MPC74000 (AKA G4); there is no AltiVec support yet, however. - the cache flushing assembly code uses hardware-flush on the G4. Also, a couple of hardcoded numerical values were replaced by more readable symbolic constants. - extended interrupt-disabled code section so enclose the entire cache flush/invalidate procedure (as recommended by the book). This is not (latency) critical as it is only used by init code but prevents possible corruption. - Trivial page table support as been added. (1:1 effective-virtual-physical address mapping which is only useful only on CPUs which feature hardware TLB replacement, e.g. >604. This allows for write-protecting memory regions, e.g. text/ro-data which makes catching corruptors a lot easier. It also frees one DBAT/IBAT and gives more flexibility for setting up address maps :-) - setdbat() allows changing BAT0 also (since the BSP may use a page table, BAT0 could be available...). - asm_setdbatX() violated the SVR ABI by using r20 as a scratch register; changed for r0 - according to the book, a context synchronizing instruction is necessary prior to and after changing a DBAT -> isync added
* 2002-04-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-013-0/+69
| | | | | | * rtems/powerpc/cache.h: New file (extracted from old-exceptions/cpu.h) * Makefile.am: Relect changes above.
* 2002-04-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-012-0/+6
| | | | * cpu.c: Include <rtems/powerpc/cache.h>.