summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/mpc6xx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-242-7/+6
| | | | | | | * mpc6xx/clock/c_clock.c, mpc6xx/mmu/mmuAsm.S, new-exceptions/bspsupport/ppc_exc_global_handler.c, shared/include/cpuIdent.c, shared/src/stack.c: Update due to API changes.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-112-2/+2
| | | | | * mpc6xx/altivec/vec_sup.c, mpc6xx/mmu/bat.h: Fix up comments having been broken in previous commit.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-115-16/+16
| | | | | | | | | | | | | | * e500/mmu/mmu.c, mpc505/ictrl/ictrl.c, mpc505/timer/timer.c, mpc5xx/ictrl/ictrl.c, mpc5xx/timer/timer.c, mpc6xx/altivec/vec_sup.c, mpc6xx/clock/c_clock.c, mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h, mpc6xx/mmu/pte121.c, mpc8260/timer/timer.c, mpc8xx/timer/timer.c, new-exceptions/cpu.c, new-exceptions/bspsupport/ppc_exc_initialize.c, ppc403/clock/clock.c, ppc403/console/console.c, ppc403/console/console.c.polled, ppc403/console/console405.c, ppc403/irq/ictrl.c, ppc403/tty_drv/tty_drv.c, rtems/powerpc/cache.h, shared/include/powerpc-utility.h, shared/src/cache.c: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-283-3/+3
| | | | | | | | | | | | | | | | | | | | | | * mpc5xx/exceptions/raw_exception.c, mpc5xx/exceptions/raw_exception.h, mpc5xx/include/console.h, mpc5xx/include/mpc5xx.h, mpc5xx/irq/irq.c, mpc5xx/irq/irq.h, mpc5xx/irq/irq_asm.S, mpc5xx/vectors/vectors.h, mpc5xx/vectors/vectors_init.c, mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h, mpc6xx/mmu/mmuAsm.S, new-exceptions/bspsupport/irq.c, new-exceptions/bspsupport/irq_supp.h, new-exceptions/bspsupport/nested_irq_test.c, new-exceptions/bspsupport/ppc_exc_address.c, new-exceptions/bspsupport/ppc_exc_categories.c, new-exceptions/bspsupport/ppc_exc_global_handler.c, new-exceptions/bspsupport/ppc_exc_hdl.c, new-exceptions/bspsupport/ppc_exc_initialize.c, new-exceptions/bspsupport/ppc_exc_prologue.c, new-exceptions/bspsupport/ppc_exc_test.c, new-exceptions/bspsupport/vectors.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: Fix typo where license said found in found in.
* fix timer support, some reworksThomas Doerfler2010-03-251-1/+1
|
* - added SLAC copyright disclaimer.Till Straumann2009-12-022-3/+93
|
* 2009-12-01 Till Straumann <strauman@slac.stanford.edu>Till Straumann2009-12-023-0/+1195
| | | | | * Makefile.am, mpc6xx/altivec: new directory implementing support for AltiVec context saving/restoring.
* 2009-12-01 Till Straumann <strauman@slac.stanford.edu>Till Straumann2009-12-022-2/+5
| | | | | | * mpc6xx/mmu/bat.c, mpc6xx/mmu/pte121.c: skip data- streaming (dssall etc.) instructions on PPC_PSIM currently (unimplemented by PSIM :-( ).
* Whitespace removal.Ralf Corsepius2009-11-308-118/+118
|
* moved timebase/decrementer access from cpukit to libcpuThomas Doerfler2009-10-311-0/+1
|
* move timebase access functions from cpukit to libcpuThomas Doerfler2009-10-301-0/+2
|
* Update for exception support changes.Thomas Doerfler2009-10-231-1/+0
|
* 2009-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-221-3/+3
| | | | * mpc6xx/mmu/bat.c: Add missing prototypes.
* 2009-10-16 Jennifer Averett <jennifer.averett@OARcorp.com>Joel Sherrill2009-10-161-6/+7
| | | | | * mpc6xx/mmu/bat.c: Resolved bug: It is not an overlap if the batindex being set is the batindex of the overlap.
* 2009-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-272-2/+2
| | | | * mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h: Fix spelling.
* 2009-05-05 Jennifer Averett <jennifer.averett@OARcorp.com>Jennifer Averett2009-05-051-3/+3
| | | | | | | | * mpc6xx/mmu/bat.c, new-exceptions/e500_raw_exc_init.c, new-exceptions/raw_exception.h, new-exceptions/bspsupport/irq_supp.h, shared/include/cpuIdent.c: Removed warnings. Split bsp_irq_dispatch_list to allow non-standard/non-existant pics to call with interrupts off.
* 2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-09-051-42/+0
| | | | | | | | | * mpc5xx/clock/clock.c, mpc6xx/clock/c_clock.c, mpc8260/clock/clock.c, mpc8xx/clock/clock.c, ppc403/clock/clock.c, ppc403/clock/clock_4xx.c: The Shared Memory Driver no longer requires the special IOCTL in Clock_control. This was a hack which has existed since before the Classic API Timer Manager was implemented. All implementations of and references to Clock_control were removed.
* 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-051-1/+1
| | | | | * mpc6xx/clock/c_clock.c: CLOCK_DRIVER_USE_FAST_IDLE must be checked to be equal to 1 -- not just defined.
* Convert to "bool".Ralf Corsepius2008-09-051-5/+3
|
* 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-08-311-13/+8
| | | | | | * mpc505/timer/timer.c, mpc5xx/timer/timer.c, mpc6xx/timer/timer.c, mpc8260/timer/timer.c, mpc8xx/timer/timer.c, ppc403/timer/timer.c: Rename timer driver methods to follow RTEMS programming conventions.
* 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-08-183-22/+14
| | | | | | | * mpc6xx/mmu/pte121.c, mpc6xx/mmu/pte121.h, mpc6xx/timer/timer.c, new-exceptions/e500_raw_exc_init.c, new-exceptions/bspsupport/ppc_exc_bspsupp.h, new-exceptions/bspsupport/vectors_init.c: Fix warnings.
* 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-161-17/+31
| | | | * mpc6xx/clock/c_clock.c: Add fast idle.
* 2008-07-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-101-2/+2
| | | | | | | * mpc6xx/mmu/pte121.c: use general "memory" clobber rather than memory input operand in inline assembly ("m" doesn't do what the manual says; see discussion on gcc mailing list around 2008/3/30)
* 2007-11-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-012-18/+4
| | | | | | | * mpc6xx/mmu/bat.c, mpc6xx/mmu/pte121.c: use new feature-checks from cpuIdent.h rather than filtering CPU types when checking for availability of high BATs and an MMU with hardware page-table lookup.
* 2007-11-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-012-4/+94
| | | | | | * mpc6xx/clock/c_clock.c, mpc6xx/clock/c_clock.h: added support for bookE/ppc405 style CPUs where the decrementer works slightly differently.
* 2007-11-29 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-012-531/+0
| | | | | | * mpc6xx/exceptions/raw_exception.c, mpc6xx/exceptions/raw_exception.h: removed. mpc6xx uses generic version in new-exceptions.
* 2007-11-29 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-11-302-101/+175
| | | | | * mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h: Added support for setting & reading IBATs.
* 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-121-10/+10
| | | | | | | | | | | | | | | | PR 1257/bsps * mpc5xx/exceptions/raw_exception.c, mpc5xx/irq/irq.c, mpc6xx/exceptions/raw_exception.c, mpc8260/exceptions/raw_exception.c, mpc8xx/exceptions/raw_exception.c, new-exceptions/raw_exception.c, ppc403/ictrl/ictrl.c, ppc403/irq/ictrl.c: Code outside of cpukit should use the public API for rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the public API and directly accessing _CPU_ISR_Disable and _CPU_ISR_Enable, they were bypassing the compiler memory barrier directive which could lead to problems. This patch also changes the type of the variable passed into these routines and addresses minor style issues.
* 2007-09-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-061-1/+1
| | | | * mpc6xx/mmu/pte121.c: Fix warning.
* 2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-05-211-2/+6
| | | | | * mpc6xx/clock/c_clock.c: Tinker with math so it does not overflow on psim and give a negative nanoseconds since last tick.
* 2007-04-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-04-171-2/+20
| | | | | * mpc6xx/clock/c_clock.c: Add initial cut at nanoseconds since last tick handler.
* 2007-03-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-03-121-1/+1
| | | | | | * mpc6xx/mmu/mmuAsm.S: Correct license URL and/or fix mistake in copyright notice. Both of these mistakes appear to be from code submitted after these changes were made previously.
* 2007-01-16 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-01-172-3/+90
| | | | | * mpc6xx/mmu/pte121.h, mpc6xx/mmu/pte121.c: Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
* * mpc6xx/mmu/bat.c, mpc6xx/mmu/pte121.c, shared/src/cache.c:Till Straumann2006-07-132-27/+33
| | | | | | Checked inline assembly code; added 'm' operands and paranoia 'memory' clobbers. Also, made sure that no pure input operands are modified by the asm.
* re-checked synchronization requirements when manipulatingTill Straumann2006-06-191-4/+10
| | | | | the caches against the book and updated 'dssall', 'sync' and 'isync's accordingly.
* Added altivec exception. Unfortunately, this doesn't fitTill Straumann2006-06-192-36/+70
| | | | | | the normal scheme of vector = exception # << 8. So we picked an unused vector number (currently 0xa) where we map the special vector 0xf20 (altivec).
* 2006-04-05 Victor V. Vengerov <Victor.Vengerov@oktetlabs.ru>Joel Sherrill2006-04-051-4/+13
| | | | * mpc6xx/clock/c_clock.c: Now works with MPCI SHM driver.
* 2006-01-20 Till Straumann <strauman@slac.stanford.edu>Till Straumann2006-01-211-9/+31
| | | | | | | * mpc6xx/mmu/pte121.c: consistency check now warns instead of reporting an error when coming across a non 1:1 VSID; fix: triv121IsRangeMapped() needs to convert segment offset into a page index if the vsid argument is non-special.
* 2005-12-31 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-12-311-0/+1
| | | | | PR 851/bsps * mpc6xx/exceptions/raw_exception.c: Add PPC_603le.
* Cosmetics.Ralf Corsepius2005-12-311-9/+9
|
* Eliminate unsigned32.Ralf Corsepius2005-11-071-4/+4
|
* 2005-11-03 straumanatslacdotstanford.eduTill Straumann2005-11-031-0/+3
| | | | | * mpc6xx/clock/c_clock.c: disable interrupts around decrementer update to eliminate a race condition
* 2005-11-02 straumanatslacdotstanford.eduTill Straumann2005-11-032-585/+835
| | | | | | | * mpc6xx/mmu/pte121.c, mpc6xx/mmu/pte121.h: enhancements to mpc6xx page table support - PTEs can now be modified even if the page table is already active; bugfix: address range crossing 256MB boundary was not handled correctly
* 2005-11-02 straumanatslacdotstanford.eduTill Straumann2005-11-033-104/+567
| | | | | | | | * mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h, mpc6xx/mmu/mmuAsm.S: moved assembly code to C; setdbat now supports high bats on 7450 CPUs; added argument checking to setdbat; added getdbat; moved early initialization code (clear_bats) from BSP to libcpu (CPU_clear_bats_early)
* 2005-11-02 straumanatslacdotstanford.eduTill Straumann2005-11-021-0/+1
| | | | | | * ChangeLog, configure.ac, mpc6xx/exceptions/raw_exception.c, shared/include/cpuIdent.c, shared/include/cpuIdent.h: recognize mpc7457 CPU; added definitions for high bats (#4..7) on 7450 CPUs
* Changes provided by Phillip Sorensen <pas37@cornell.edu> to get MVME550 BSP ↵Eric Norum2005-07-281-1/+1
| | | | running.
* Remove.Ralf Corsepius2005-05-112-79/+0
|
* 2005-04-15 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett2005-04-152-3/+3
| | | | | | * mpc6xx/clock/c_clock.c, mpc6xx/clock/c_clock.h, mpc8260/console-generic/console-generic.c: add parameter to new exception interrupt handlers in powerpc bsps
* New header guards.Ralf Corsepius2005-02-134-9/+9
|
* 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-01-071-4/+4
| | | | | | * mpc505/Makefile.am, mpc5xx/Makefile.am, mpc6xx/Makefile.am, mpc8260/Makefile.am, mpc8xx/Makefile.am, ppc403/Makefile.am, shared/Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.