Commit Graph

1053 Commits

Author SHA1 Message Date
Chris Johns
9af830802d 2008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* mcf52235/include/mcf52235.h: New.
	* preinstall.am, configure.ac, Makefile.am: Add 52235 support.
2008-06-11 08:07:48 +00:00
Thomas Doerfler
41d7c0fe9a speed inprovements in mpc83xx tsec driver 2008-05-27 10:34:55 +00:00
Till Straumann
7f5ecbc249 2008-05-22 Till Straumann <strauman@slac.stanford.edu>
* ppc403/tty_drv/tty_drv.c, ppc403/console/console405.c:
	../ictrl/ictrl.h has gone; include ../irq/ictrl.h
2008-05-23 01:10:17 +00:00
Joel Sherrill
c140c6f534 2008-05-16 Joel Sherrill <joel.sherrill@OARcorp.com>
* mpc83xx/include/mpc83xx.h: or is not a good name for any name in
	C/C++. See iso646.h for the reason.
2008-05-16 18:03:34 +00:00
Thomas Doerfler
e0abba9e30 disabled debugging output 2008-05-15 15:34:04 +00:00
Thomas Doerfler
42bf1b9f13 adapted gen83xx to new board 2008-05-15 15:10:38 +00:00
Till Straumann
8ac748c1bf 2008-05-14 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_bspsupp.h: added
	comment about the semantics of the return value of
	ppc_exc_handler_t.
2008-05-14 22:34:06 +00:00
Till Straumann
21637fd380 2008-05-14 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/irq.c: moved malloc/free
	outside of irq-protected critical section.
2008-05-14 22:33:32 +00:00
Joel Sherrill
e6a4446812 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* s3c24xx/clock/clockdrv.c: Use
	rtems_configuration_get_microseconds_per_tick() rather than obsolete
	BSP_Configuration reference.
2008-05-06 22:23:47 +00:00
Joel Sherrill
dbdb025548 2008-05-06 Ray Xu <rayx.cn@gmail.com>
* Makefile.am, configure.ac, preinstall.am, s3c2400/include/s3c2400.h:
	Add CPU type s3c2410. Add a new s3c24xx common file shared between
	s3c2400 and s3c2410. Most content is moved from s3c2400 now. Some
	were changed to include <s3c24xx.h> instead of <s3c2400.h>.
	* s3c2410/include/s3c2410.h, s3c2410/irq/bsp_irq_asm.S,
	s3c2410/irq/irq.h, s3c24xx/clock/clockdrv.c, s3c24xx/clock/support.c,
	s3c24xx/include/s3c24xx.h, s3c24xx/irq/bsp_irq_init.c,
	s3c24xx/irq/irq.c, s3c24xx/irq/irq.h, s3c24xx/timer/timer.c: New files.
2008-05-06 20:58:05 +00:00
Joel Sherrill
a7e912e34a 2008-04-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* mpc8260/console-generic/console-generic.c,
	mpc8xx/console-generic/console-generic.c: Remove all references to
	console_reserve_resources and termios_reserve_resources.
2008-04-24 23:04:03 +00:00
Joel Sherrill
eac65cbc23 2008-04-24 Nigel Spon <nigel@adi.co.nz>
* ppc403/console/console.c: Correct include path.
2008-04-24 23:03:44 +00:00
Joel Sherrill
d01f399f6e 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* sh7750/sci/console.c: Remove all references to
	console_reserve_resources and termios_reserve_resources.
2008-04-23 21:51:44 +00:00
Joel Sherrill
ecf11aa360 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* mpc5xx/console-generic/console-generic.c, mpc5xx/include/console.h,
	mpc8260/console-generic/console-generic.c, mpc8260/include/console.h,
	mpc8xx/console-generic/console-generic.c, mpc8xx/include/console.h:
	Remove all references to console_reserve_resources and
	termios_reserve_resources.
2008-04-23 21:51:42 +00:00
Thomas Doerfler
eaa58dc9aa removed references to outdated "old-exception-handling" PPC support 2008-04-07 09:35:45 +00:00
Till Straumann
d56c6783e5 2008-03-20 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/irq.c: don't disable irqs
	at the interrupt controller (PIC) during initialization -- this
	caused problems where some BSPs's BSP_disable_irq_at_pic() routine
	did not ignore IRQ lines associated with cascaded PICs.
	Rely on the BSP (BSP_setup_the_pic()) to provide a good
	initial setup.
2008-03-20 19:08:52 +00:00
Till Straumann
35506215c9 2008-03-13 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_asm_macros.h,
	new-exceptions/bspsupport/ppc_exc.S,
	new-exceptions/bspsupport/README,
	new-exceptions/bspsupport/ppc_exc_hdl.c:
	Thomas Doerfler clarified (thanks!) that raising an
	exception and executing the 1st instruction is not
	an atomical operation. I added a fix to the code that
	checks if a lower-priority interrupt is under way:
	we now not only test if the 'lock' variable was set
	but also check if the interrupted PC points to the
	'write lock' instruction.
	Added more comments and updated README.
2008-03-13 19:28:33 +00:00
Till Straumann
d0014c7545 2008-03-11 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_asm_macros.h: bugfix;
	need to crand not cror when testing lower priority locks
	during machine-check handling.
2008-03-12 05:17:13 +00:00
Till Straumann
ed5c4bd04f 2008-03-05 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_asm_macros.h: bugfix;
	need to andc with irq mask when disabling interrupts.
2008-03-06 00:16:52 +00:00
Ralf Corsepius
ba0ec285a2 Regenerate. 2008-02-19 18:12:12 +00:00
Ralf Corsepius
20daae5c7e 2008-02-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* old-exceptions/README, old-exceptions/TODO, old-exceptions/cpu.c,
	old-exceptions/cpu_asm.S, old-exceptions/irq_stub.S,
	old-exceptions/ppccache.c, old-exceptions/rtems/score/ppc_offs.h,
	ppc403/ictrl/ictrl.c, ppc403/ictrl/ictrl.h, ppc403/vectors/align_h.S
	ppc403/vectors/vectors.S: Remove (Abandoned).
	* Makefile.am: Remove refs to files above.
	Eliminate OLD_EXCEPTIONS.
	* configure.ac: Remove OLD_EXCEPTIONS.
2008-02-19 18:11:36 +00:00
Ralf Corsepius
ca93259da6 Remove (Abandoned). 2008-02-19 18:11:03 +00:00
Ralf Corsepius
48bdbf0a50 Remove OLD_EXCEPTIONS. 2008-02-19 18:10:33 +00:00
Ralf Corsepius
cd12be09d6 Remove refs to OLD_EXCEPTIONS. 2008-02-19 18:10:21 +00:00
Ralf Corsepius
f5abd0837f Temporarily re-add OLD_EXCEPTIONS. 2008-02-19 18:00:01 +00:00
Ralf Corsepius
8f480195f0 2008-02-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Deactivate old-exceptions.
2008-02-19 17:57:25 +00:00
Joel Sherrill
f284de9d9d 2008-02-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Add e500_mmu.h
2008-02-15 18:53:58 +00:00
Till Straumann
76d8cd0b5a 2008-02-08 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, e500/, e500/mmu, e500/mmu/mmu.c,
	e500/mmu/e500_mmu.h: added code for PPC E500
	TLB manipulation.
2008-02-09 00:46:08 +00:00
Till Straumann
bc0ff4737c 2008-01-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/irq.c: When unhooking
	and ISR only disable IRQs at the PIC if we are
	unhooking the last ISR.
2008-01-10 18:25:47 +00:00
Till Straumann
85982c6846 2007-12-11 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: don't normally build-in test code
	(ppc_exc_test.c).
2007-12-12 01:13:29 +00:00
Till Straumann
aea55715cd 2007-12-11 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, new-exceptions/bspsupport/README:
	provide new irq_bspsupport.rel which was
	split out of exc_bspsupport.rel to provide finer-grained
	control over what BSPs want to use.
2007-12-12 00:48:54 +00:00
Till Straumann
8d2487fd60 2007-12-11 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/irq.c: enable/disable
	irq at PIC if an initial handler is present/absent
	(reproduce traditional semantics).
2007-12-12 00:47:49 +00:00
Joel Sherrill
35f1d89dbe 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* at91rm9200/clock/clock.c, lpc22xx/clock/clockdrv.c,
	mc9328mxl/clock/clockdrv.c, s3c2400/clock/clockdrv.c: Eliminate
	copies of the Configuration Table. Use the RTEMS provided accessor
	macros to obtain configuration fields.
2007-12-11 15:46:05 +00:00
Joel Sherrill
0f9ecc4ecf 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* mcf5206/clock/ckinit.c, mcf5272/clock/ckinit.c: Eliminate copies of
	the Configuration Table. Use the RTEMS provided accessor macros to
	obtain configuration fields.
2007-12-11 15:45:54 +00:00
Till Straumann
855012618c 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/e500_raw_exc_init.c: map DEC
	exception to ASM_BOOKE_DEC_VECTOR instead of ASM_DEC_VECTOR.

	Fixed wrong mapping of ASM_BOOKE_FIT_VECTOR
	(was ASM_BOOKE_PIT_VECTOR).
2007-12-11 07:34:10 +00:00
Till Straumann
d436f8c83d 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/vectors_init.c: beautification.
2007-12-11 07:32:10 +00:00
Till Straumann
4dd7d3d268 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/raw_exception.c, new_exceptions/raw_exception.h,
	new_exceptions/bspsupport/irq.c: renamed ASM_BOOKE_PIT_VECTOR
	to ASM_BOOKE_DEC_VECTOR to be closer to 'official'
	nomenclature.
2007-12-11 07:30:52 +00:00
Till Straumann
b8982b581b 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_test.c: fixed
	wrong type in argument (signed vs. unsigned)
	compiler warning.
2007-12-11 06:35:54 +00:00
Till Straumann
e1c30baf32 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: build new-exceptions/bspsupport for
	non-mpc5xx, new-exception CPUs.
2007-12-11 05:26:28 +00:00
Till Straumann
bbb50590b2 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/nested_irq_test.c: adjusted
	wrong irq name/number calculation.
2007-12-11 05:21:12 +00:00
Till Straumann
f328b69076 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_hdl.c: make sure
	RI is set in the exception frame and panic if it isn't
	(state info might have been lost). This only affects
	classic PPC.
2007-12-11 05:19:55 +00:00
Till Straumann
59a4066e01 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/README,
	new-exceptions/bspsupport/ppc_exc_bspsupp.h
	new-exceptions/bspsupport/vectors_init.c:
	added crude test to make sure MMU maps memory as
	write-back enabled.
2007-12-11 05:18:06 +00:00
Till Straumann
bf5742a630 2007-12-09 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_test.c,
	new-exceptions/bspsupport/vectors_init.c,
	new-exceptions/bspsupport/ppc_exc_bspsupp.h,
	new-exceptions/bspsupport/README,
	new-exceptions/bspsupport/irq_supp.h:
	Added README and some comments; now use TRAP exception
	in ppc_exc_test.c so that it works on PSIM.
2007-12-10 07:06:53 +00:00
Till Straumann
869af180c3 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* irq_supp.h: was moved from libbsp/powerpc/shared/irq to
	libcpu/powerpc/new-exceptions/bspsupport.
2007-12-09 00:17:38 +00:00
Till Straumann
f73c6285c1 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/irq.c,
	new-exceptions/bspsupport/ppc_exc_bspsupp.h,
	new-exceptions/bspsupport/ppc_exc_hdl.c:
	fixed some mismatching signed/unsigned types.
2007-12-09 00:00:08 +00:00
Till Straumann
94e1931c5b 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/, new-exceptions/bspsupport/ppc_exc.S,
	new-exceptions/bspsupport/ppc_exc_test.c,
	new-exceptions/bspsupport/vectors.h,
	new-exceptions/bspsupport/vectors_init.c,
	new-exceptions/bspsupport/irq.c,
	new-exceptions/bspsupport/ppc_exc_bspsupp.h,
	new-exceptions/bspsupport/ppc_exc_hdl.c,
	new-exceptions/bspsupport/ppc_exc_asm_macros.h,
	new-exceptions/bspsupport/nested_irq_test.c:
	New files. Added 'middleware' code for helping BSPs implement
	exception and interrupt handling and implementing the 'new'
	RTEMS IRQ API (which I personally dislike).
2007-12-08 23:43:24 +00:00
Till Straumann
4be2812f5b 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/e500_raw_exc_init.c, new-exceptions/raw_exception.c,
	shared/include/cpuIdent.c, shared/include/cpuIdent.h:
	Added different kinds of 'bookE' to the ppc_cpu_is_bookE feature
	check; unfortunately...
2007-12-08 22:46:59 +00:00
Till Straumann
7b2cb2234f 2007-12-07 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: must not add e500_raw_exc_init.c to
	xyz_SOURCES for mpc5xx
2007-12-07 18:42:40 +00:00
Till Straumann
76a5a3ccaf 2007-12-06 Till Straumann <strauman@slac.stanford.edu>
* shared/include/cpuIdent.h, shared/include/cpuIdent.c:
	added feature check for 603 'TLBMISS exception GPRS shadowing'.
2007-12-06 21:03:46 +00:00
Till Straumann
eb8420f7f2 2007-12-06 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/raw_exception.c, new-exceptions/raw_exception.h:
	Removed all #ifdef <cpu_flavor>. All exception vectors are now
	always defined.
	Changed implementation of <cpu>_vector_is_valid() from 'case'
	statements to table lookup.
	Replaced 'ASM_VECTORS_CRITICAL' by a variable
	'bsp_raw_vector_is_405_critical' which is set at run-time.
	Removed PPC_MSR_EXC_BITS. The exception handling code
	(libbsp/shared/vectors/vectors.S and ../irq/irq_asm.S) now
	has a run-time check for these bits.
	Both files are now free of #if <cpu_flavor> constructs.
2007-12-06 19:42:47 +00:00