Commit Graph

15 Commits

Author SHA1 Message Date
Jennifer Averett
2d0d0293ee 2005-04-15 Jennifer Averett <jennifer.averett@oarcorp.com>
PR 779/bsp
	* clock/p_clock.c, console/console.c, console/uart.c, console/uart.h,
	irq/irq.c, irq/irq.h, irq/irq_init.c:
	powerpc: add parameter to new exception interrupt handlers
2005-04-15 17:52:46 +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
3239698d1f Remove stray white spaces. 2004-04-15 13:26:21 +00:00
Joel Sherrill
e831de8559 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* bootloader/bootldr.h, bootloader/em86.c, bootloader/em86real.S,
	bootloader/exception.S, bootloader/head.S, bootloader/lib.c,
	bootloader/misc.c, bootloader/mm.c, bootloader/pci.c,
	clock/p_clock.c, console/console.c, console/consoleIo.h,
	console/inch.c, console/keyboard.h, console/polled_io.c,
	include/bsp.h, irq/i8259.c, irq/irq.c, irq/irq.h, irq/irq_asm.S,
	irq/irq_init.c, motorola/motorola.c, motorola/motorola.h,
	openpic/openpic.c, openpic/openpic.h, pci/pci.c, residual/residual.c,
	start/start.S, startup/bspstart.c, vectors/vectors.h,
	vectors/vectors_init.c: URL for license changed.
2003-09-04 18:52:38 +00:00
Joel Sherrill
0d6849e76a 2003-04-10 Till Straumann <strauman@slac.stanford.edu>
PR 379/bsps
	* console/polled_io.c: libcpu provides 'printk' already.
	Therefore, the implementation in this file was removed (still
	used for the bootloader, though).  It now provides BSP_output_char()
	for libcpu's printk().
	* console/uart.c, console/uart.h: BSP_output_char_via_serial()
	prototype changed to match the BSP_output_char_function_type.  Note
	that the motorola BSPs use polled-io for the output_char routine, not
	the uart.c version. The latter can be used be other BSPs however
	(e.g. SVGM).
	* console/console.c, console/consoleIo.h, console/polled_io.c,
	irq/irq_init.c, openpic/openpic.c, pci/detect_raven_bridge.c:
	Unfortunately, the supported 'printk' format string subset of the
	polled-io and libcpu implementations are different - hence, a few
	format strings in the ppc/shared BSP were changed.
2003-04-10 16:35:33 +00:00
Joel Sherrill
ec6422eb96 2003-03-25 Till Straumann <strauman@slac.stanford.edu>
PR 360/bsps
	* irq/irq.c, irq/irq_init.c, openpic/openpic.c, openpic/openpic.h:
	BSP code had set the task priority register multiple times of
	the OpenPIC instead of setting the individual source priorities.
	This patch adds openpic_get_source_priority() and
	openpic_set_source_priority() calls and lets IRQ management code
	use them.
2003-03-25 16:55:53 +00:00
Joel Sherrill
64f8ae44cc 2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps
	This patch makes RTEMS/powerpc/shared EABI compliant.
	* irq/irq_init.c, start/Makefile.am, start/start.S, startup/bspstart.c,
	startup/pgtbl_setup.c, vectors/vectors.h, vectors/vectors_init.c:
	zero_bss() should clear not only bss but sbss and sbss2
	also (this is probably a bugfix, as sbss/sbss2 are
	probably used even if -msdata=eabi is not specified).
	* start/rtems_crti.S: New file which must
	be linked immediately after ecrti.o. rtems_crti.o contains
	a code snippet who lets __init() return immediately. Also,
	a new entry point '_init' to the C++ Ctors is generated
	for use by the RTEMS Thread_Handler.
2003-03-18 19:20:55 +00:00
Joel Sherrill
4f3e4f33db 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* console/console.c, console/uart.c, console/uart.h: implement
	IOCTLs for the serial (UART) console to install/retrieve a BREAK-IRQ
	callback.  The callback routine (if installed) is invoked from the
	UART ISR when a BREAK interrupt is detected.  This can be used
	e.g. to enforce a "hotkey" reboot a la vxWorks Ctrl-X (although we
	use the serial line break condition) NOTE: The callback runs in
	ISR context.
2003-02-20 21:32:07 +00:00
Joel Sherrill
5d740bbb0b 2002-11-17 Greg Menke <gregory.menke@gsfc.nasa.gov>
* irq/irq_init.c, motorola/motorola.c: Support for MTX603e.
2002-11-18 03:22:09 +00:00
Joel Sherrill
69ed59f083 2001-05-14 Till Straumann <strauman@slac.stanford.edu>
* bootloader/misc.c, console/Makefile.am, console/console.c,
	console/consoleIo.h, console/inch.c, console/polled_io.c,
	console/uart.c, console/uart.h, include/bsp.h, irq/Makefile.am,
	irq/irq.c, irq/irq.h, irq/irq_init.c, openpic/openpic.c,
	openpic/openpic.h, pci/Makefile.am, pci/pci.c, pci/pci.h,
	residual/Makefile.am, start/start.S, startup/bspstart.c,
	vectors/vectors.S, vectors/vectors.h, vectors/vectors_init.c:
	Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably
	with the goal to make it more flexible and reusable by other
	BSPs. The main strategies were:
	    - eliminate hardcoded base addresses; devices use offsets
	      and a BSP defined base address.
	    - separate functionality into different files (e.g. reboot from
	      inch.c to reboot.c) which can be overridden by a 'derived' BSP.
	    - separate initialization code into separate files (e.g.  PCI
	      bridge detection/initialization was separated from the more
	      generic PCI access routines), also to make it easier for
	      'derived' BSPs to substitute their own initialization code.
	There are also a couple of enhancements and fixes:
	    - IRQ handling code now has a hook for attaching a VME bridge.
	    - OpenPIC is now explicitely initialized (polarities, senses).
	      Eliminated the implicit assumption on the presence of an ISA PIC.
	    - UART and console driver now supports more than 1 port. The current
	      maximum of 2 can easily be extended by enlarging a table (it
	      would even be easier if the ISR API was not broken by design).
	    - fixed polled_io.c so it correctly supports console on COM2
	    - fixed TLB invalidation code (start.S).
	    - exception handler prints a stack backtrace.
	    - added BSP_pciFindDevice() to scan the pci bus for a particular
	      vendor/device/instance.
2002-05-14 17:10:17 +00:00
Joel Sherrill
cd35cf9fb3 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* bootloader/exception.S: Reflect changes to <rtems/score/cpu.h>.
	* bootloader/head.S: Ditto.
	* bootloader/misc.c: Ditto.
	* console/polled_io.c: Ditto.
	* irq/irq.c: Ditto.
	* irq/irq_asm.S: Ditto.
	* irq/irq_init.c: Include <rtems/bspIo.h>.
	* start/start.S: Reflect changes to <rtems/score/cpu.h>.
	* vectors/vectors.S: Ditto.
2002-04-18 20:55:13 +00:00
Joel Sherrill
338f1dc186 Patch from Eric Valette <valette@crf.canon.fr> that makes sure the
interrupt code works on "old buggy MCP750 boards".  The symptom was
that there was no ethernet PCI IRQ at all.
2000-01-10 13:26:00 +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
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