Commit Graph

28 Commits

Author SHA1 Message Date
Sebastian Huber
73406bfbbf 2011-03-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/cpuIdent.h: Fixed warnings.
2011-03-10 15:04:22 +00:00
Joel Sherrill
e71a3a840d 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* 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.
2011-01-28 20:38:13 +00:00
Sebastian Huber
644448f840 2010-12-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/cpuIdent.c, shared/include/cpuIdent.h: Added support
	for e500v2.  Removed IVPR/IVOR/HWIVOR features since they are included
	in Book E.
	* new-exceptions/bspsupport/vectors.h,
	new-exceptions/bspsupport/ppc_exc.S,
	new-exceptions/bspsupport/ppc_exc_address.c,
	new-exceptions/bspsupport/ppc_exc_categories.c,
	new-exceptions/bspsupport/ppc_exc_initialize.c,
	new-exceptions/bspsupport/ppc_exc_prologue.c: Added support for
	e500v2.  Added exception vector defines for Book E types.  Removed
	e200 exception vector defines.  Added e500 exception vector defines.
	Unified IVOR calculation for e200 and e500 (e200z1 has hard wired
	IVOR values).
2010-12-29 09:51:18 +00:00
Thomas Doerfler
9a66caae9b skip version nibble when detecting e200 processor version 2010-04-07 14:18:53 +00:00
Thomas Doerfler
2931336963 changes to support GW_LCFM 2010-04-07 06:45:59 +00:00
Ralf Corsepius
359e537416 Whitespace removal. 2009-11-30 05:09:41 +00:00
Thomas Doerfler
e08dbc5ea9 various PowerPC code maintenance 2009-11-03 18:45:04 +00:00
Thomas Doerfler
2d2de4eba1 Update for exception support changes. 2009-10-23 07:32:46 +00:00
Thomas Doerfler
3c6fe2e7f9 added haleakala BSP contributed by Michael Hamel 2008-07-14 08:46:06 +00:00
Thomas Doerfler
25a92bc1ed adapted powerpc exception code 2008-07-11 10:02:12 +00:00
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
Joel Sherrill
bfc9b02386 2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/include/cpuIdent.h: Correct conditionals and includes.
2007-12-03 15:45:20 +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
f610e83f53 compilable release of virtex/gen83xx/gen5200 powerpc adaptations. Merged many different versions of new exception handling code to shared sources. 2007-07-10 16:00:28 +00:00
Thomas Doerfler
73cdeb6a51 merged individual exception handler code to a common one. 2007-07-04 12:25:49 +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
a859df8559 New header guards. 2005-02-13 05:00:15 +00:00
Jennifer Averett
faed5fa955 2004-11-22 Jennifer Averett <jennifer@OARcorp.com>
PR 581/bsps
	* mpc6xx/exceptions/raw_exception.c, shared/include/cpuIdent.h:
	Converting PSIM to new exception model required adding PSIM as
	PowerPC CPU model.
2004-11-22 22:15:47 +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
Joel Sherrill
8430205c22 2004-04-12 David Querbach <querbach@realtime.bc.ca>
* README, configure.ac, mpc5xx/Makefile.am,
	mpc5xx/exceptions/raw_exception.c, mpc5xx/exceptions/raw_exception.h,
	mpc5xx/timer/timer.c, shared/include/cpuIdent.h: addition of a
	significant amount of MPC5xx support as part of the addition of the
	SS555 BSP.
	* mpc5xx/README, mpc5xx/clock/clock.c,
	mpc5xx/console-generic/console-generic.c, mpc5xx/include/console.h,
	mpc5xx/include/mpc5xx.h, mpc5xx/irq/irq.c, mpc5xx/irq/irq.h,
	mpc5xx/irq/irq_asm.S, mpc5xx/irq/irq_init.c,
	mpc5xx/vectors/vectors.S, mpc5xx/vectors/vectors.h,
	mpc5xx/vectors/vectors_init.c: New files.
	* mpc5xx/exceptions/asm_utils.S: Removed.
2004-04-12 22:04:28 +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
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
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