Commit Graph

21 Commits

Author SHA1 Message Date
Sebastian Huber
cf2ec29d96 bsp/psim: Fix for RTEMS_DEBUG 2017-09-20 10:18:17 +02:00
Sebastian Huber
c6810c824c bsps: Improve interrupt vector enable/disable API
Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable()
to not return a status code.  Add bsp_interrupt_assert() and use it to
validate the vector number in the vector enable/disable implementations.
2017-06-20 07:42:25 +02:00
Joel Sherrill
ba9c4a7e3b powerpc/psim: Fix warnings 2014-10-19 17:00:58 -05:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11: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
Jennifer Averett
97f82fcdc0 Resolve link problems with psim irq-server 2012-03-30 08:38:14 -05:00
Joel Sherrill
9b5fe74300 2011-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/consupp.S, irq/irq.h, irq/irq_init.c: Add CVS Id string.
2011-01-24 15:41:36 +00:00
Ralf Corsepius
ac7af4a359 Whitespace removal. 2009-11-30 04:37:44 +00:00
Thomas Doerfler
2d2de4eba1 Update for exception support changes. 2009-10-23 07:32:46 +00:00
Till Straumann
b09423368b 2009-09-11 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, preinstall.am, irq/no_pic.c (REMOVED),
	irq/irq.h, irq/irq_init.c:
	use openpic from 'shared' area instead of no_pic.
	* inlude/psim.h:
	use openpic from 'shared' area instead of no_pic.
	Added 'extern' declaration for (linker-script defined) RamBase
	and RamSize symbols. Let CPP macros expand to these symbols
	instead of static constants.
	Added register definitions for OpenPIC in the register area.
	Added register definitions for ethernet controller in the register
	area.
	* startup/linkcmds: Increased RamSize to 16M. Increased 'RAM'
	memory region to 32M (there is really no disadvantage in making
	this large). Added comment explaining the inter-relation between
	RamSize, the size of the memory region, the device-tree property
	"oea-memory-size" and the DBAT setting.
	* tools/psim-shared: Try to determine RamSize from executable
	and set 'oea-memory-size' accordingly. May be overridden if 'RAM_SIZE'
	envvar is set.
	Added openpic to device-tree.
	Added ethernet controller to device-tree (commented because a PSIM
	patch is currently required to use this device).
	* startup/bspstart: Increase DBAT0 mapping to size of 32M.
2009-09-11 17:13:42 +00:00
Joel Sherrill
4243433bb2 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq_init.c: Fix warnings.
2008-08-18 21:17:16 +00:00
Till Straumann
1e55619882 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, irq/irq_init.c: use vector/interrupt
	support from libcpu/powerpc/new-exceptions/bspsupport.
2007-12-11 05:22:57 +00:00
Joel Sherrill
1ee415b3ee 2007-12-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* irq/irq_init.c: Add missing vectDesc variable.
2007-12-06 22:04:27 +00:00
Joel Sherrill
9e602b0ad9 2007-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq_init.c: Spacing.
2007-12-05 22:24:05 +00:00
Till Straumann
7e53d09569 2007-12-04 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c: removed unnecessary code (alredy
	done by shared/irq/irq.c).
2007-12-05 06:03:57 +00:00
Till Straumann
b1a2bbae5d 2007-12-02 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c: removed irrelevant comment.
2007-12-02 21:42:41 +00:00
Till Straumann
8da6d77d10 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:28:02 +00:00
Till Straumann
10483cba75 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* irq/irq.h, irq/irq.c (removed), irq/no_pic.c (added),
	irq/irq_init.c, Makefile.am: The PSIM BSP (currently)
	has no support for an interrupt controller or interrupts
	other than the decrementer. Removed all definitions for PCI + ISA
	interrupts and all unnecessary code (leftovers from copying).
	Separated PIC-specific bits into 'no_pic.c' which allows us
	to use 'irq.c' (i.e., more code) from 'shared'.
2007-11-30 19:55:46 +00:00
Thomas Doerfler
78f96ab7c7 fixed some problems with shared PPC exception handling code 2007-07-05 20:32:43 +00:00
Jennifer Averett
6ef01b4574 2005-04-15 Jennifer Averett <jennifer.averett@oarcorp.com>
PR 779/bsp
	* irq/irq.c, irq/irq.h, irq/irq_init.c: add parameter to new exception
	interrupt handlers in powerpc bsps
2005-04-15 18:13:36 +00:00
Jennifer Averett
270ce1ff68 2004-11-22 Jennifer Averett <jennifer@OARcorp.com>
PR 581/bsps
	* Makefile.am, bsp_specs, configure.ac, include/bsp.h, include/tm27.h,
	start/start.S, startup/bspstart.c, startup/linkcmds,
	tools/Makefile.am, tools/psim, vectors/vectors.S, wrapup/Makefile.am:
	Convert PSIM to new exception model.
	* irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_init.c: New files.
	* startup/setvec.c, timer/timer.c: Removed.
2004-11-22 22:13:35 +00:00