Commit Graph

44 Commits

Author SHA1 Message Date
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Ralf Corsepius
359e537416 Whitespace removal. 2009-11-30 05:09:41 +00:00
Till Straumann
d18d7fe0dd 2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* mpc6xx/exceptions/raw_exception.c,
	mpc6xx/exceptions/raw_exception.h: removed. mpc6xx
	uses generic version in new-exceptions.
2007-12-01 00:10:35 +00:00
Joel Sherrill
f93630db63 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
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-12 15:23:44 +00:00
Till Straumann
261a1b27d1 Added altivec exception. Unfortunately, this doesn't fit
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-06-19 20:24:08 +00:00
Ralf Corsepius
e9b17e4bbd 2005-12-31 Ralf Corsepius <ralf.corsepius@rtems.org>
PR 851/bsps
	* mpc6xx/exceptions/raw_exception.c: Add PPC_603le.
2005-12-31 12:30:23 +00:00
Ralf Corsepius
72d25e16a8 Cosmetics. 2005-12-31 10:45:52 +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
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
73b5bd5d0e Remove stray white spaces. 2004-04-15 13:33:58 +00:00
Ralf Corsepius
f0f1641bff 2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org>
* mpc505/ictrl/ictrl.c, mpc505/vectors/vectors.S,
	mpc6xx/exceptions/raw_exception.c,
	mpc8260/exceptions/raw_exception.c,
	mpc8xx/exceptions/raw_exception.c, rtems/powerpc/cache.h,
	mpc5xx/ictrl/ictrl.c, mpc5xx/exceptions/raw_exception.c: Include
	<rtems/score/powerpc.h> instead of <rtems/score/ppc.h>.
2004-04-13 10:03:32 +00:00
Ralf Corsepius
11c2382d67 2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>
* mpc505/vectors/vectors.S: Include <rtems/asm.h> instead of <asm.h>.
	* mpc6xx/exceptions/asm_utils.S: Include <rtems/asm.h> instead of <asm.h>.
	* mpc6xx/mmu/mmuAsm.S: Include <rtems/asm.h> instead of <asm.h>.
	* mpc8260/exceptions/asm_utils.S: Include <rtems/asm.h> instead of <asm.h>.
	* mpc8xx/exceptions/asm_utils.S: Include <rtems/asm.h> instead of <asm.h>.
	* ppc403/vectors/vectors.S: Include <rtems/asm.h> instead of <asm.h>.
	* mpc5xx/exceptions/asm_utils.S: Include <rtems/asm.h> instead of <asm.h>.
	* mpc8260/clock/clock.c: Include <rtems/clockdrv.h> instead of <clockdrv.h>.
	* mpc8xx/clock/clock.c: Include <rtems/clockdrv.h> instead of <clockdrv.h>.
	* ppc403/clock/clock.c: Include <rtems/clockdrv.h> instead of <clockdrv.h>.
2004-04-01 10:07:38 +00:00
Ralf Corsepius
2609e83f77 Unused. 2004-03-08 16:26:41 +00:00
Ralf Corsepius
90251c3e08 2003-12-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mpc6xx/clock/Makefile.am: Remove.
	* mpc6xx/exceptions/Makefile.am: Remove.
	* mpc6xx/mmu/Makefile.am: Remove.
	* mpc6xx/timer/Makefile.am: Remove.
	* mpc6xx/wrapup/Makefile.am: Remove.
	* mpc6xx/Makefile.am: Merge-in Makefile.ams above.
2003-12-16 07:44:19 +00:00
Ralf Corsepius
7894d47d74 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
	* mpc505/ictrl/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
	* mpc6xx/clock/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
	* mpc6xx/exceptions/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
	* mpc6xx/mmu/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
	* mpc8260/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
	* mpc8260/exceptions/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
	* mpc8xx/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
	* mpc8xx/exceptions/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
	* ppc403/ictrl/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
	* ppc403/tty_drv/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
	* shared/include/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
	* shared/src/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
2003-12-12 15:40:51 +00:00
Ralf Corsepius
770721817b 2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mpc505/ictrl/Makefile.am: Remove all-local: $(ARCH).
	* mpc505/timer/Makefile.am: Remove all-local: $(ARCH).
	* mpc505/vectors/Makefile.am: Remove all-local: $(ARCH).
	* mpc6xx/clock/Makefile.am: Remove all-local: $(ARCH).
	* mpc6xx/exceptions/Makefile.am: Remove all-local: $(ARCH).
	* mpc6xx/mmu/Makefile.am: Remove all-local: $(ARCH).
	* mpc6xx/timer/Makefile.am: Remove all-local: $(ARCH).
	* mpc6xx/wrapup/Makefile.am: Remove all-local: $(ARCH).
	* mpc8260/clock/Makefile.am: Remove all-local: $(ARCH).
	* mpc8260/console-generic/Makefile.am: Remove all-local: $(ARCH).
	* mpc8260/cpm/Makefile.am: Remove all-local: $(ARCH).
	* mpc8260/exceptions/Makefile.am: Remove all-local: $(ARCH).
	* mpc8260/mmu/Makefile.am: Remove all-local: $(ARCH).
	* mpc8260/timer/Makefile.am: Remove all-local: $(ARCH).
	* mpc8xx/clock/Makefile.am: Remove all-local: $(ARCH).
	* mpc8xx/console-generic/Makefile.am: Remove all-local: $(ARCH).
	* mpc8xx/cpm/Makefile.am: Remove all-local: $(ARCH).
	* mpc8xx/exceptions/Makefile.am: Remove all-local: $(ARCH).
	* mpc8xx/mmu/Makefile.am: Remove all-local: $(ARCH).
	* mpc8xx/timer/Makefile.am: Remove all-local: $(ARCH).
	* ppc403/clock/Makefile.am: Remove all-local: $(ARCH).
	* ppc403/console/Makefile.am: Remove all-local: $(ARCH).
	* ppc403/ictrl/Makefile.am: Remove all-local: $(ARCH).
	* ppc403/timer/Makefile.am: Remove all-local: $(ARCH).
	* ppc403/tty_drv/Makefile.am: Remove all-local: $(ARCH).
	* ppc403/vectors/Makefile.am: Remove all-local: $(ARCH).
	* shared/include/Makefile.am: Remove all-local: $(ARCH).
	* shared/src/Makefile.am: Remove all-local: $(ARCH).
	* wrapup/Makefile.am: Remove all-local: $(ARCH).
2003-12-02 05:07:53 +00:00
Ralf Corsepius
a9c795b965 2003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Reformat. Use dirstamp for preinstallation.
	* mpc505/Makefile.am: Reformat.
	* mpc505/ictrl/Makefile.am: Reformat. Use dirstamp for preinstallation.
	* mpc505/timer/Makefile.am: Reformat.
	* mpc505/vectors/Makefile.am: Reformat.
	* mpc6xx/Makefile.am: Reformat.
	* mpc6xx/clock/Makefile.am: Reformat. Use dirstamp for preinstallation.
	* mpc6xx/exceptions/Makefile.am: Reformat. Use dirstamp for preinstallation.
	* mpc6xx/mmu/Makefile.am: Reformat. Use dirstamp for preinstallation.
	* mpc6xx/timer/Makefile.am: Reformat.
	* mpc6xx/wrapup/Makefile.am: Reformat.
	* mpc8260/Makefile.am: Reformat. Use dirstamp for preinstallation.
	* mpc8260/clock/Makefile.am: Reformat.
	* mpc8260/console-generic/Makefile.am: Reformat.
	* mpc8260/cpm/Makefile.am: Reformat.
	* mpc8260/exceptions/Makefile.am: Reformat. Use dirstamp for preinstallation.
	* mpc8260/mmu/Makefile.am: Reformat.
	* mpc8260/timer/Makefile.am: Reformat.
	* mpc8xx/Makefile.am: Reformat. Use dirstamp for preinstallation.
	* mpc8xx/clock/Makefile.am: Reformat.
	* mpc8xx/console-generic/Makefile.am: Reformat.
	* mpc8xx/cpm/Makefile.am: Reformat.
	* mpc8xx/exceptions/Makefile.am: Reformat. Use dirstamp for preinstallation.
	* mpc8xx/mmu/Makefile.am: Reformat.
	* mpc8xx/timer/Makefile.am: Reformat.
	* ppc403/Makefile.am: Reformat.
	* ppc403/clock/Makefile.am: Reformat.
	* ppc403/console/Makefile.am: Reformat.
	* ppc403/ictrl/Makefile.am: Reformat. Use dirstamp for preinstallation.
	* ppc403/timer/Makefile.am: Reformat.
	* ppc403/tty_drv/Makefile.am: Reformat. Use dirstamp for preinstallation.
	* ppc403/vectors/Makefile.am: Reformat.
	* shared/Makefile.am: Reformat.
	* shared/include/Makefile.am: Reformat. Use dirstamp for preinstallation.
	* shared/src/Makefile.am: Reformat. Use dirstamp for preinstallation.
	* wrapup/Makefile.am: Reformat.
2003-12-01 11:51:05 +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
Ralf Corsepius
bf0747dbb0 2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
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-16 12:32:36 +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
83795347ac 2003-02-14 Greg Menke <gregory.menke@gsfc.nasa.gov>
PR 348/bsps
	* mpc6xx/exceptions/raw_exception.c: Add PPC_603ev as required
	by MTX603e BSP.
2003-02-14 20:12:10 +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
Joel Sherrill
cebb89be71 2002-10-31 Joel Sherrill <joel@OARcorp.com>
* mpc6xx/clock/c_clock.c, mpc6xx/exceptions/raw_exception.c,
	mpc6xx/mmu/bat.c: Removed warnings.
2002-10-31 20:12:46 +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
c0af822e77 2001-05-17 Joel Sherrill <joel@OARcorp.com>
* mpc6xx/exceptions/raw_exception.c, pc6xx/mmu/pte121.c: Modified
	slightly to reflect recent PowerPC re-organization and avoid warnings.
2002-05-17 18:05:29 +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
e05f431530 2002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* exceptions/raw_exception.c: Include <libcpu/cpuIdent.h>.
2002-04-17 13:54:49 +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
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
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
55e4dcf30e Patch from Eric Valette <valette@crf.canon.fr> 2000-07-06 20:24:19 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill
bf85b19188 Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
adds .cvsignore.
2000-04-13 14:37:14 +00:00
Joel Sherrill
4e36a2f133 Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> that contain:

    * Modifications, (minor) corrections, cleanups to most existing
      Makefile.ams
    * Adds automake support to all remaining BSPs which have not yet been
      converted to automake.
    * Makefile.am for all remaining wrapup/Makefile.ams
2000-01-31 15:27:02 +00:00
Joel Sherrill
f983d571ab Patch rtems-rc-20000104-14.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which fixes some PowerPC specific bugs.
2000-01-10 18:16:59 +00:00
Joel Sherrill
bc2f04f8a8 Patch rtems-rc-20000104-13.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which does the following:

  * some cleanups, fixes, addtions to the libbsp automake transition
    patches
  * The missing Automake transistion patches all libcpu/<cpu>/<variant>/*
    previously not yet been converted to automake (libcpu/powerpc,
    libcpu/hppa1.1, libcpu/mips64orion, libcpu/sparc)

  => With this patch, libcpu/*/* is under full automake control.

  NOTES:
  * This patch is tested by building for random set of bsps affected by
    this patch, but not tested for all BSPs.
  * The parts of this patch related to libcpu/powerpc fix many small bugs
    inside of those Makefiles.
  * Have a look into libcpu/powerpc/mpc6xx/, which is in rather bad shape,
    IMO. Obviously most subdirectories seem to be build but are not included
    into libcpu.a by wrapup/Makefile. Addtionally, no actual BSP uses this
    cpu-variant subdirectory. Furthermore libcpu/powerpc/mpc6xx has a
    different directory layout than all other powerpc/<variant>/
    directories.

    Joel's note:  I agree but the issue is that there is a conflict between
    including timer or clock in libcpu/XXX/wrapup/Makefile.* and letting
    a BSP specifically decide to pick it up.  There is no clear solution
    to this at the moment.
2000-01-10 14:50:45 +00:00
Joel Sherrill
95273a610f Combination of coverhd.h cleanup and MVME23xx/MCP750 patch from Eric Valette
<valette@crf.canon.fr> and Jay Kulpinski <jskulpin@eng01.gdds.com>.
2000-01-03 14:06:42 +00:00
Joel Sherrill
35d7b15cb0 Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds partial automake support to libcpu/<cpu>/*.

    Until now I have only implemented full automake support for the sh (my
    demonstration example :) and the i386 (inevitiable for structural
    reasons of this subdirectory). For all other cpus only their toplevel
    directories (exception: powerpc), include subdirectories and a few
    selected subdirectories have been converted to automake.
    I did this on purpose, because add automake support to each subdirectory
    requires individual adaptations which to be tested individually.

    Additionally the weirdnesses of the powerpc subdirectories hit again,
    esp. some powerpc cpu-models

    * install files to $(PROJECT_INCLUDE)/<cpu-model>/ while others install
      them to  $(PROJECT_INCLUDE)/
    * the scheme used to configure libcpu/powerpc/ is difficult to implement
      using automake, therefore this subdirectory still is configured by
      autoconf (The one out of an unlimited set selection scheme hits again
      :), though powerpc/*/* subdirectories already apply automake.

    The patch also reveils structural weaknesses in RTEMS:

    E.g. There seem to exist at least 5 different general schemes:

    * Not using libcpu at all (eg. i960)
    * Strictly tree-style a libcpu/<cpu-variant>/* (eg. m68k, sh)
    * Flat libcpu directory layout with cpu-variants merged into sources or
      not destinguishing cpu-variants (i386)
    * Not supporting variants with deep source tree (sparc, hppa, mips64orion)
    * Woven directory structure with shared directories (powerpc)

    I regret having to say this, but from my POV this means, that there
    doesn't exist a general implementation scheme for libcpu at all.

    To apply:

        rm -rf ./c/src/lib/libcpu/i386/wrapup
        rm -rf ./c/src/lib/libcpu/mips64orion/include
        rm -rf ./c/src/lib/libcpu/powerpc/ppc403/include
        patch -p1 < rtems-rc-19991203-7.diff
        ./bootstrap
1999-12-21 14:41:43 +00:00
Joel Sherrill
acc25eec35 Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
1999-12-02 14:31:19 +00:00