Commit Graph

33 Commits

Author SHA1 Message Date
Sebastian Huber
47cc206822 bsps/powerpc: Move BSP specific file to BSP
Update #3254.
2018-01-16 10:43:34 +01:00
Sebastian Huber
1c193a26d2 powerpc: Replace BSP_panic() with rtems_panic()
Due to a new rtems_panic() implementation, it is possible to replace the
PowerPC-specific BSP_panic() with rtems_panic().  Remove BSP_panic()
implementations.

Close #3245.
2017-11-22 09:40:23 +01:00
Joel Sherrill
9ffca50244 libbsp/powerpc/shared and motorola_powerpc: Fix warnings 2014-10-19 17:00:57 -05:00
Joel Sherrill
fb252a684b libbsp/powerpc/shared: Fix warnings 2014-10-13 10:29:44 -05:00
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
Till Straumann
c261d9c36c 2009-12-01 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vme_universe.c: moved extern declaration
	out of local scope.
2009-12-02 00:33:47 +00:00
Ralf Corsepius
ac7af4a359 Whitespace removal. 2009-11-30 04:37:44 +00:00
Thomas Doerfler
e08dbc5ea9 various PowerPC code maintenance 2009-11-03 18:45:04 +00:00
Ralf Corsepius
9286802486 2009-10-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/motorola/motorola.c, shared/vme/vme_universe.c:
	Add missing prototypes.
2009-10-16 10:56:49 +00:00
Till Straumann
78912b5c6d 2008-08-28 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vme_universe.c: added implementation for
	BSP_VMEResetBus().
2008-08-28 15:39:49 +00:00
Ralf Corsepius
cc981e11bc Add missing prototypes. 2008-08-20 05:47:08 +00:00
Till Straumann
2398f74c22 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vme_universe.c: fixed wrong initialization
	routine when using Tsi148 driver.
2007-12-09 07:17:16 +00:00
Till Straumann
863b0ceff3 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vme_universe.c: must set DMA ops pointer
	during init.
2007-12-09 06:51:50 +00:00
Till Straumann
8388ea7629 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: merged shared/vme/vme_universe.c and
	shared/vme/vme_universe_dma.c into one file.
	Added support for Tsi148 driver (DMA).
2007-12-09 06:44:51 +00:00
Till Straumann
54fdd8b0ff 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vme_universe.c: had erroneously deleted
	#define __INSIDE_RTEMS_BSP__
2007-12-09 06:17:54 +00:00
Till Straumann
b83b70ae60 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/VMEConfig.h, shared/vme/vme_universe.c:
	added support for Tsi148 bridge; BSP can define which
	bridge driver to use from VMEConfig.h.
	Added 'err' macro parameter to BSP_VME_INSTALL_IRQ_MGR(err)
	macro so that an error status can be passed back.
2007-12-09 05:51:10 +00:00
Till Straumann
c982f8039a 2007-12-01 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vmeconfig.c: Include <libcpu/bat.h> only
	if the BSP-specific configuration header (VMEConfig.h)
	defines BSP_VME_BAT_IDX so that this file can be used
	on CPUs w/o bats (e500).
2007-12-01 21:23:42 +00:00
Till Straumann
32a0058cc1 2007-01-29 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/VMEConfig.h:
	Added more comments about the semantics of the various
	symbols BSPs should define in this file.
	Removed declarations of BSP_VMEInit(), BSP_VMEIrqMgrInstall().

	* shared/vme/vmeconfig.c: declare BSP_VMEInit(),
	BSP_VMEIrqMgrInstall() here.

	* Makefile.am, shared/vme/README,
	* shared/vme/vme_universe_dma.c (added): Added glue code
	implementing the VMEDMA.h API using the vmeUniverse driver.
2007-01-31 03:57:55 +00:00
Till Straumann
7996b53a69 * Makefile.am,
* ep1a/Makefile.am, ep1a/preinstall.am,
	* motorola_powerpc/Makefile.am, motorola_powerpc/preinstall.am,
	* score603e/Makefile.am, score603e/preinstall.am,
	* shared/vme/VME.h:
	moved VME.h from libbsp/powerpc/shared/vme to
	libbsp/shared/vmeUniverse; eventually, this (and other)
	VME API headers should migrate to cpukit.
2007-01-19 22:58:08 +00:00
Till Straumann
f774fc06d6 2007-01-16 Till Straumann <strauman@slac.stanford.edu>
* ep1a/vme/vmeconfig.c, mvme5500/pci/pcifinddevice.c,
	* mvme5500/startup/pgtbl_activate.c, mvme5500/vectors/bspException.h,
	* mvme5500/vectors/exceptionhandler.c, mvme5500/vme/VME.h,
	* mvme5500/vme/vmeconfig.c, score603e/vme/vmeconfig.c, shared/pci/pcifinddevice.c,
	* shared/startup/pgtbl_activate.c, shared/startup/pgtbl_setup.c,
	* shared/startup/probeMemEnd.c, shared/startup/sbrk.c, shared/vme/VME.h,
	* shared/vme/VMEConfig.h, shared/vme/vme_universe.c, shared/vme/vmeconfig.c:
	Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
2007-01-17 05:45:14 +00:00
Till Straumann
de8174fef5 2006-12-13 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vmeconfig.c, shared/vme/vme_universe.c:
	use symbolic flag instead of numerical value
	(vmeUniverseInstallIrqMgrAlt()). Define __INSIDE_RTEMS_BSP__
	before including <bsp/vmeUniverse.h>
2006-12-13 20:50:20 +00:00
Till Straumann
655c8bf240 * shared/vme/vmeconfig.c: open outbound window
to VME CSR space if the BSP defines _VME_CSR_ON_PCI
2006-08-22 02:52:29 +00:00
Till Straumann
06cfd95d98 Indicate that it's ok to use decoupled cycles to access
on-board memory from VME.
2006-06-19 20:51:19 +00:00
Till Straumann
df9cadc2ed Only set/access the _BSP_vme_bridge_irq variable on BSPs that
define BSP_PCI_VME_DRIVER_DOES_EOI and BSP_PIC_DO_EOI.
2006-06-19 20:19:06 +00:00
Till Straumann
6d3ff66f7a 2005-11-03 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/README, shared/vme/vme_universe.c: New files.
	* Makefile.am, motorola_powerpc/Makefile.am, mvme5500/vme/vmeconfig.c,
	shared/vme/VME.h, shared/vme/VMEConfig.h, shared/vme/vmeconfig.c:
	Several VME related upgrades and fixes, hopefully addressing PR#835:
	Separated API, API-implementation by a specific VME bridge driver and
	BSP-specific configuration of the driver into different files,
	describing their purpose in a README. All of these changes use the
	upgraded vmeUniverse.c driver.
2005-11-04 08:10:42 +00:00
Eric Norum
cc2fcc1655 Numerous changes and cleanups to support MVME2100. 2005-10-20 18:38:26 +00:00
Joel Sherrill
e79a194755 2004-11-10 Richard Campbell <richard.campbell@oarcorp.com>
* Makefile.am, bootloader/misc.c, bootloader/pci.c, bootloader/pci.h,
	console/console.c, console/inch.c, console/reboot.c, console/uart.c,
	console/uart.h, irq/irq.c, irq/irq.h, irq/irq_init.c,
	motorola/motorola.c, motorola/motorola.h, openpic/openpic.c,
	openpic/openpic.h, pci/detect_raven_bridge.c, pci/pci.c,
	start/start.S, startup/bspstart.c, vectors/vectors_init.c,
	vme/vmeconfig.c: Add MVME2100 BSP and MPC8240 support. There was also
	a significant amount of spelling and whitespace cleanup.
	* tod/todcfg.c: New file.
2004-11-10 23:51:17 +00:00
Ralf Corsepius
6128a4aa5e Remove stray white spaces. 2004-04-21 10:43:04 +00:00
Ralf Corsepius
a146423c71 2004-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Merge-in bootloader/Makefile.am, clock/Makefile.am,
	console/Makefile.am, include/Makefile.am, irq/Makefile.am,
	motorola/Makefile.am, openpic/Makefile.am, pci/Makefile.am,
	residual/Makefile.am, start/Makefile.am, startup/Makefile.am,
	vectors/Makefile.am, vme/Makefile.am. Use automake compilation rules.
	* bootloader/Makefile.am, clock/Makefile.am, console/Makefile.am,
	include/Makefile.am, irq/Makefile.am, motorola/Makefile.am,
	openpic/Makefile.am, pci/Makefile.am, residual/Makefile.am,
	start/Makefile.am, startup/Makefile.am, vectors/Makefile.am,
	vme/Makefile.am: Remove.
2004-02-03 13:23:58 +00:00
Ralf Corsepius
a77cd06666 2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* bootloader/Makefile.am: Put all files into EXTRA_DIST.
	* vme/Makefile.am: Ditto.
	* console/Makefile.am: Move H_FILES to include_bsp_HEADERS.
	Add preinstallation dirstamp support.
	* irq/Makefile.am: Ditto.
	* motorola/Makefile.am: Ditto.
	* openpic/Makefile.am: Ditto.
	* pci/Makefile.am: Ditto.
	* residual/Makefile.am: Ditto.
	* vectors/Makefile.am: Ditto.
	* Makefile.am: Remove empty lines.
	* clock/Makefile.am: Ditto.
	* include/Makefile.am: Ditto.
	* startup/Makefile.am: Ditto.
2003-12-02 11:24:16 +00:00
Ralf Corsepius
20ccd1f124 2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Makefile.am: Reflect having moved automake.
	bootloader/Makefile.am: Reflect having moved automake.
	clock/Makefile.am: Reflect having moved automake.
	console/Makefile.am: Reflect having moved automake.
	include/Makefile.am: Reflect having moved automake.
	irq/Makefile.am: Reflect having moved automake.
	motorola/Makefile.am: Reflect having moved automake.
	openpic/Makefile.am: Reflect having moved automake.
	pci/Makefile.am: Reflect having moved automake.
	residual/Makefile.am: Reflect having moved automake.
	start/Makefile.am: Reflect having moved automake.
	startup/Makefile.am: Reflect having moved automake.
	vectors/Makefile.am: Reflect having moved automake.
	vme/Makefile.am: Reflect having moved automake.
2003-08-16 12:54:15 +00:00
Joel Sherrill
046506c03d 2003-04-15 Joel Sherrill <joel@OARcorp.com>
PR 386/bsps
	* vme/vmeconfig.c: Removed declaration of _BSP_vme_bridge_irq.
2003-04-15 12:59:50 +00:00
Joel Sherrill
b95aedf3b4 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* vme/.cvsignore, vme/Makefile.am, vme/VME.h, vme/VMEConfig.h,
	vme/vmeconfig.c: Add glue to the powerpc/shared BSP to use
	the vmeUniverse VME-PCI bridge driver.
2003-02-20 21:43:02 +00:00