Commit Graph

26 Commits

Author SHA1 Message Date
Joel Sherrill
8209461b96 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:45:53 +00:00
Joel Sherrill
c960a72529 2003-03-25 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* shared/include/cpuIdent.c: Readd PPC604r CPU.
2003-03-25 16:40:08 +00:00
Joel Sherrill
c074ea2eae 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:54 +00:00
Ralf Corsepius
3b7aedac83 2002-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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-19 05:03:12 +00:00
Ralf Corsepius
360225e6ea 2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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-08-11 05:36:10 +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
438b538811 2001-05-14 Till Straumann <strauman@slac.stanford.edu>
* 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().
2002-05-14 17:07:42 +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
a73a977d73 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* shared/include/cpu.h: Removed.
	* shared/include/Makefile.am: Reflect changes above.
	* shared/include/spr.h: Include rtems/powerpc/registers.h instead of
	libcpu/cpu.h.
	* mpc6xx/clock/c_clock.c: Reflect changes to <rtems/score/cpu.h>.
	* mpc6xx/exceptions/asm_utils.S: Ditto.
	* mpc6xx/exceptions/raw_exception.c: Ditto.
	* mpc6xx/mmu/mmuAsm.S: Ditto.
	* mpc6xx/timer/timer.c: Ditto.
	* mpc8260/exceptions/asm_utils.S: Ditto.
	* mpc8260/exceptions/raw_exception.c: Ditto.
	* mpc8xx/exceptions/asm_utils.S: Ditto.
	* mpc8xx/exceptions/raw_exception.c: Ditto.
	* ppc403/vectors/vectors.S: Include <asm.h> instead of "asm.h".
2002-04-18 20:55:37 +00:00
Joel Sherrill
b929c2de1d 2001-04-17 Joel Sherrill <joel@OARcorp.com>
* shared/include/cpu.h: Added ifndef ASM.
2002-04-17 19:39:16 +00:00
Joel Sherrill
1f2fca7a29 2002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* shared/include/cpu.h: Don't include cpuIdent.h.
2002-04-17 13:55:16 +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
30337d2a30 2002-02-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* shared/include/byteorder.h: Use unsigned instead of __unsigned
	(GCC-3.0.x compatibility).
2002-04-03 14:22:48 +00:00
Joel Sherrill
80bbfb9a6a 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* mpc505/ictrl/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc505/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc505/timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc505/vectors/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc6xx/clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc6xx/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc6xx/exceptions/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc6xx/mmu/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc6xx/timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc6xx/wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc8260/clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc8260/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc8260/console-generic/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc8260/cpm/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc8260/exceptions/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc8260/include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc8260/mmu/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc8260/timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc8xx/clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc8xx/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc8xx/console-generic/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc8xx/cpm/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc8xx/exceptions/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc8xx/include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc8xx/mmu/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mpc8xx/timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* ppc403/clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* ppc403/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* ppc403/console/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* ppc403/ictrl/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* ppc403/timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* ppc403/tty_drv/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* ppc403/vectors/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* shared/include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* shared/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* shared/src/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:48:15 +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
cdf6274689 2001-11-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* ppc403/vectors/vectors.S: Include <bsp.h>.
	* shared/include/cpu.h: Remove stray empty lines.
2001-11-28 00:18:09 +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
152790ae61 2001-09-27 Joel Sherrill <joel@OARcorp.com>
* 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-28 13:29:25 +00:00
Joel Sherrill
5f4ee2ab59 2001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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-09-27 19:45:55 +00:00
Joel Sherrill
37731c2bd8 2001-03-30 Eric Valette <valette@crf.canon.fr>
* 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-04-06 15:54:20 +00:00
Joel Sherrill
98f3cfa1a6 2001-02-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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-03-05 22:48:47 +00:00
Joel Sherrill
3e30f27e20 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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-09-05 16:00: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
18dbd6a6ed New file. 2000-06-14 15:39:00 +00:00
Joel Sherrill
abd9401a4a Functionality moved from directory above to accomodate building
shared source code.
2000-06-14 15:38:08 +00:00