Commit Graph

13 Commits

Author SHA1 Message Date
Till Straumann
a045c9df20 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* irq/irq.h, irq/irq_init.c: Removed the definition
	of ASM_IRQ_VECTOR_BASE; this symbol was only use to
	initialize the irqBase member of the rtems_irq_global_settings
	struct. However, irqBase is an rtems_irq_symbolic_name,
	so using BSP_LOWEST_OFFSET is more appropriate.
2007-11-30 20:45:11 +00:00
Till Straumann
8c9fffdd38 2005-11-03 <strauman@slac.stanford.edu>
* shared/irq/openpic_i8259_irq.c: New file.
	* ChangeLog, Makefile.am, motorola_powerpc/ChangeLog,
	motorola_powerpc/Makefile.am, shared/irq/irq.c, shared/irq/irq.h,
	shared/irq/irq_asm.S, shared/irq/irq_init.c: Separated openpic/i8259
	specifica from generic irq handling into openpic_i8259_irq.c; added
	some compilation conditionals to help BSPs without ISA to omit ISA
	interrupts and calling i8259 code.
2005-11-04 01:39:45 +00:00
Till Straumann
f3173c08dd 2005-11-03 <strauman@slac.stanford.edu>
* mvme5500/irq/irq.h, psim/irq/irq.h, shared/console/uart.c,
	shared/irq/irq.h: Renamed BSP_ISA_UART_COMx_IRQ -> BSP_UART_COMx_IRQ
    (uart driver is ISA independent).
    Removed ugly #ifdef mvme2100. Added test for
	BSP_UART_USE_SHARED_IRQS symbol which a BSP can define to request
	that the serial interrupt be shared.
2005-11-04 00:23:28 +00:00
Jennifer Averett
d8999b705a 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
* clock/p_clock.c, irq/i8259.c, irq/irq.c, irq/irq.h: Modified to use
	rtems/irq.h.
2005-05-17 15:06:22 +00:00
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
f05b2ac0bc Remove duplicate white lines. 2004-04-21 16:01:48 +00:00
Ralf Corsepius
6128a4aa5e Remove stray white spaces. 2004-04-21 10:43:04 +00:00
Joel Sherrill
ae1f2436d2 2003-10-22 Joel Sherrill <joel@OARcorp.com>
PR 510/bsps
	* irq/irq.h: Add extern C wrapper.
2003-10-22 16:24:05 +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
3a3e0b0e7d 2003-06-13 Greg Menke <gregory.menke@gsfc.nasa.gov>
PR 405/bsps
	* bootloader/pci.c: Added support for configuring devices for pci
	busses > 0
	* pci/pci.c, pci/pci.h: Added FixupPCI() to store vectors in the
	INTERRUPT_LINE register of pci devices any # of hops away
	from the host processor.
	* motorola/motorola.c, motorola/motorola.h: Added interrupt
	routing tables in support of FixupPCI.  This is board-specific,
	each board will have to supply information for FixupPCI() to do
	anything for it.
	* startup/bspstart.c: Extended bat2 to cover entire PCI address space.
	* irq/irq.c, irq/irq.h: Added support for shared interrupts.
	Existing single hander vectors are undisturbed, a new function
	added to allow adding/removing handlers from a vector.
2003-06-13 17:39:46 +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
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