Commit Graph

21 Commits

Author SHA1 Message Date
Till Straumann
4be2812f5b 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/e500_raw_exc_init.c, new-exceptions/raw_exception.c,
	shared/include/cpuIdent.c, shared/include/cpuIdent.h:
	Added different kinds of 'bookE' to the ppc_cpu_is_bookE feature
	check; unfortunately...
2007-12-08 22:46:59 +00:00
Till Straumann
76a5a3ccaf 2007-12-06 Till Straumann <strauman@slac.stanford.edu>
* shared/include/cpuIdent.h, shared/include/cpuIdent.c:
	added feature check for 603 'TLBMISS exception GPRS shadowing'.
2007-12-06 21:03:46 +00:00
Till Straumann
e955b062fb 2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* shared/include/cpuIdent.h, shared/include/cpuIdent.c:
	Added a simple 'feature check' facility. Code should
	not check for a particular CPU type if possible but
	check the respective feature bit (e.g., 'has_altivec').
	This makes it much less cumbersome to add more CPU
	types in the future.
2007-12-01 00:06:00 +00:00
Thomas Doerfler
73cdeb6a51 merged individual exception handler code to a common one. 2007-07-04 12:25:49 +00:00
Till Straumann
11847f8dcb * shared/include/cpuIdent.c: Accept PPC_PSIM as a
known variant.
2006-01-05 22:57:50 +00:00
Till Straumann
408bb717c9 2005-11-02 straumanatslacdotstanford.edu
* 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
2005-11-02 23:24:48 +00:00
Ralf Corsepius
56c4caeca6 2004-11-20 Ralf Corsepius <ralf.corsepius@rtems.org>
* powerpc/shared/include/cpuIdent.c,
	powerpc/shared/include/cpuIdent.h: Add 603le.
	(Submitted by Thomas.Doerfler <Thomas.Doerfler@imd-systems.de>
	as part of the patch attached to PR 703).
2004-11-20 04:32:41 +00:00
Joel Sherrill
a84392db85 2004-11-10 Richard Campbell <richard.campbell@oarcorp.com>
* configure.ac, mpc6xx/exceptions/raw_exception.c,
	mpc6xx/exceptions/raw_exception.h, mpc6xx/mmu/bat.c,
	mpc6xx/mmu/bat.h, mpc6xx/mmu/mmuAsm.S, shared/include/cpuIdent.c,
	shared/include/cpuIdent.h: Add MPC8240 and MPC8245 support. There was
	also a significant amount of spelling and whitespace cleanup.
2004-11-10 23:51:57 +00:00
Eric Norum
83d7232232 Add Kate Feng's MVME5500 BSP. 2004-10-20 15:42:24 +00:00
Ralf Corsepius
9c4a30e209 2004-03-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 587/bsps
	* shared/include/cpuIdent.h, shared/include/cpuIdent.c: Add defines
	for MPC_5XX.
2004-03-08 15:40:40 +00:00
Joel Sherrill
21e1c448ba 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* 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 18:53:10 +00:00
Joel Sherrill
8ca2e5b778 2003-03-25 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* shared/include/cpuIdent.c: Readd PPC604r CPU.
2003-03-25 16:43:47 +00:00
Joel Sherrill
d49389adb9 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
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-20 22:07:22 +00:00
Joel Sherrill
42c90fec31 2001-05-14 Joel Sherrill <joel@OARcorp.com>
* shared/include/cpuIdent.c: Account for duplicate numbers.
2002-05-14 22:11:12 +00:00
Joel Sherrill
0d776cd247 2001-05-14 Till Straumann <strauman@slac.stanford.edu>
* 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-05-14 16:56:44 +00:00
Joel Sherrill
f054b51cc3 2002-04-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* shared/include/cpuIdent.h: New.
	* shared/include/cpuIdent.c: Reflect having added cpuIdent.h.
	* shared/include/cpu.h: Ditto.
	* shared/include/Makefile.am: Add cpuIndent.h. Fix EXTRA_DIST.
2002-04-16 17:38:12 +00:00
Joel Sherrill
5c76213178 2002-01-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mpc6xx/clock/c_clock.c: Include rtems/bspIo.h instead of bspIo.h.
	* mpc6xx/mmu/bat.h: Include rtems/bspIo.h instead of bspIo.h.
	* mpc8260/console-generic/console-generic.c: Include rtems/bspIo.h instead of bspIo.h.
	* mpc8260/cpm/brg.c: Include rtems/bspIo.h instead of bspIo.h.
	* mpc8xx/console-generic/console-generic.c: Include rtems/bspIo.h instead of bspIo.h.
	* shared/include/cpuIdent.c: Include rtems/bspIo.h instead of bspIo.h.
2002-01-04 18:16:26 +00:00
Joel Sherrill
48694da292 2001-10-22 Andy Dachs <a.dachs@sstl.co.uk>
* 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-22 13:46:37 +00:00
Joel Sherrill
acddd7d2fc Removed duplicate case values. 2000-07-07 19:34:49 +00:00
Joel Sherrill
eaedd00a84 Fixed formatting. 2000-07-06 20:40:50 +00:00
Joel Sherrill
abd9401a4a Functionality moved from directory above to accomodate building
shared source code.
2000-06-14 15:38:08 +00:00