Commit Graph

991 Commits

Author SHA1 Message Date
Till Straumann
bd1cc5f09c 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* mpc6xx/mmu/bat.c, mpc6xx/mmu/pte121.c: use new
	feature-checks from cpuIdent.h rather than filtering
	CPU types when checking for availability of high BATs
	and an MMU with hardware page-table lookup.
2007-12-01 00:24:25 +00:00
Till Straumann
3fa48eef10 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* mpc6xx/clock/c_clock.c, mpc6xx/clock/c_clock.h:
	added support for bookE/ppc405 style CPUs where the
	decrementer works slightly differently.
2007-12-01 00:22:30 +00:00
Till Straumann
d18d7fe0dd 2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* mpc6xx/exceptions/raw_exception.c,
	mpc6xx/exceptions/raw_exception.h: removed. mpc6xx
	uses generic version in new-exceptions.
2007-12-01 00:10:35 +00:00
Till Straumann
e955b062fb 2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* shared/include/cpuIdent.h, shared/include/cpuIdent.c:
	Added a simple 'feature check' facility. Code should
	not check for a particular CPU type if possible but
	check the respective feature bit (e.g., 'has_altivec').
	This makes it much less cumbersome to add more CPU
	types in the future.
2007-12-01 00:06:00 +00:00
Till Straumann
486d6ec686 2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h: Added support
	for setting & reading IBATs.
2007-11-30 01:05:08 +00:00
Joel Sherrill
12ae8a16a5 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* ppc403/clock/clock.c: Now compiles and links.
2007-11-28 22:03:43 +00:00
Joel Sherrill
c4cc81993a 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* mpc5xx/clock/clock.c, mpc5xx/timer/timer.c, mpc8260/clock/clock.c,
	mpc8260/cpm/brg.c, mpc8260/timer/timer.c, mpc8xx/clock/clock.c,
	mpc8xx/console-generic/console-generic.c, mpc8xx/timer/timer.c,
	new-exceptions/raw_exception.c, old-exceptions/cpu.c,
	ppc403/clock/clock.c, ppc403/console/console.c,
	ppc403/console/console.c.polled, ppc403/console/console405.c,
	ppc403/ictrl/ictrl.c, ppc403/irq/ictrl.c, ppc403/timer/timer.c,
	ppc403/tty_drv/tty_drv.c: Eliminate PowerPC specific elements from
	the CPU Table. They have been replaced with variables named bsp_XXX
	as needed.
2007-11-28 21:45:06 +00:00
Till Straumann
54444d5faa 2007-11-28 Till Straumann <strauman@slac.stanford.edu>
* shared/src/cache.c: removed redundant mpc8xx versions
	of flush/invalidate 1 cache line routines.
2007-11-28 20:56:21 +00:00
Joel Sherrill
99f67930c2 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* sh7032/clock/ckinit.c, sh7032/delay/delay.c, sh7032/timer/timer.c,
	sh7045/clock/ckinit.c, sh7045/timer/timer.c, sh7750/clock/ckinit.c,
	sh7750/timer/timer.c: Eliminate the clicks_per_microsecond field in
	the SuperH CPU Table and define another mechanism for drivers to
	obtain this information.
2007-11-26 23:02:03 +00:00
Joel Sherrill
b72f579982 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c: Eliminate the clicks_per_microsecond field in the
	MIPS CPU Table and define another mechanism for drivers to obtain
	this information.
2007-11-26 22:58:07 +00:00
Chris Johns
cb32666020 2007-11-22 Chris Johns <chrisj@rtems.org>
* m68k/mcf5235/include/mcf5235.h: Remove '/' from define label.
2007-11-22 04:40:41 +00:00
Till Straumann
ff9d8898e5 2007-11-13 Till Straumann <strauman@slac.stanford.edu>
* shared/src/cache.c: moved generic operations
	(flush/invalidate 1 data line, invalidate 1 inst. line)
	from #ifdef <cpu_flavor> to general section (all CPUs).
2007-11-14 00:42:18 +00:00
Till Straumann
a10c721462 2007-11-13 Till Straumann <strauman@slac.stanford.edu>
* shared/src/cache_.h: include <libcpu/cache.h> only
	#ifdef _OLD_EXCEPTIONS - no need for <libcpu/cache.h>
	otherwise.
2007-11-14 00:40:20 +00:00
Till Straumann
b472166df6 2007-11-13 Till Straumann <strauman@slac.stanford.edu>
* shared/include/byteorder.h: fixed wrong pointer-type
	of ld_le32() (uint16_t* -> uint32_t*).
2007-11-14 00:36:59 +00:00
Joel Sherrill
5a364be362 2007-11-03 Ray Xu <rayx.cn@gmail.com>
*lpc22xx/irq/bsp_irq_asm.S: Add veneer for ARM<->Thumb
        lpc22xx/irq/bsp_irq_init.c: add VIC address init
2007-11-06 22:54:21 +00:00
Till Straumann
8e1d542c07 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* mpc5xx/irq/irq.c, mpc5xx/exceptions/raw_exception.c,
	new-exceptions/raw_exception.c: test for non-NULL-ness before calling
	'on'/'off' methods so that users don't have to provide
	no-ops if they don't want this feature.
2007-11-06 21:54:18 +00:00
Thomas Doerfler
55a685bddc added SPI support to libi2c
added IRQ support to MPC83xx i2c driver
added mpc83xx spi driver
2007-10-25 16:17:56 +00:00
Joel Sherrill
c9274ae19a 2007-10-05 Ray Xu <xr@trasin.net>
* lpc22xx/clock/clockdrv.c, lpc22xx/irq/irq.c, lpc22xx/irq/irq.h: Now
	runs in Skyeye.
2007-10-05 18:57:52 +00:00
Joel Sherrill
3d7fa72bc2 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps
	* sh7032/score/cpu_asm.c, sh7032/timer/timer.c, sh7045/score/cpu_asm.c,
	sh7045/timer/timer.c, sh7750/score/cpu_asm.c, sh7750/timer/timer.c:
	Code outside of cpukit should use the public API for
	rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
	public API and directly accessing _CPU_ISR_Disable and
	_CPU_ISR_Enable, they were bypassing the compiler memory barrier
	directive which could lead to problems. This patch also changes the
	type of the variable passed into these routines and addresses minor
	style issues.
2007-09-12 15:23:49 +00:00
Joel Sherrill
f93630db63 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps
	* mpc5xx/exceptions/raw_exception.c, mpc5xx/irq/irq.c,
	mpc6xx/exceptions/raw_exception.c,
	mpc8260/exceptions/raw_exception.c,
	mpc8xx/exceptions/raw_exception.c, new-exceptions/raw_exception.c,
	ppc403/ictrl/ictrl.c, ppc403/irq/ictrl.c: Code outside of cpukit
	should use the public API for
	rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
	public API and directly accessing _CPU_ISR_Disable and
	_CPU_ISR_Enable, they were bypassing the compiler memory barrier
	directive which could lead to problems. This patch also changes the
	type of the variable passed into these routines and addresses minor
	style issues.
2007-09-12 15:23:44 +00:00
Joel Sherrill
23f19746d4 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps
	* at91rm9200/irq/irq.c, lpc22xx/irq/irq.c, mc9328mxl/irq/irq.c,
	s3c2400/irq/irq.c: Code outside of cpukit should use the public API
	for rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
	public API and directly accessing _CPU_ISR_Disable and
	_CPU_ISR_Enable, they were bypassing the compiler memory barrier
	directive which could lead to problems. This patch also changes the
	type of the variable passed into these routines and addresses minor
	style issues.
2007-09-12 15:23:30 +00:00
Joel Sherrill
4a1eb75b90 2007-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Do not build networking drivers if
	networking is disabled.
2007-09-11 13:10:12 +00:00
Joel Sherrill
9af457f4d7 2007-09-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* mpc6xx/mmu/pte121.c: Fix warning.
2007-09-06 22:28:23 +00:00
Thomas Doerfler
267c7c598f added i2c support 2007-08-10 08:17:10 +00:00
Joel Sherrill
8661209e6e 2007-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1249/build
	* configure.ac: Jerry Needell <jerry.needell@unh.edu> reported that the
	leon3 was left out of the cache enable logic. Thus the cache
	management support code was empty on LEON3 CPUs.
2007-07-31 20:23:52 +00:00
Thomas Doerfler
6aff507844 added PPC_e300 to raw_exception.c
removed timed abort in ns16550.c transmit code
2007-07-18 12:51:30 +00:00
Thomas Doerfler
185da08642 additional fixes for the shared exception code 2007-07-10 18:43:12 +00:00
Thomas Doerfler
f610e83f53 compilable release of virtex/gen83xx/gen5200 powerpc adaptations. Merged many different versions of new exception handling code to shared sources. 2007-07-10 16:00:28 +00:00
Thomas Doerfler
78f96ab7c7 fixed some problems with shared PPC exception handling code 2007-07-05 20:32:43 +00:00
Thomas Doerfler
862c231785 added virtex BSP support and some missing files for common PPC
exception handling
2007-07-04 12:37:36 +00:00
Thomas Doerfler
73cdeb6a51 merged individual exception handler code to a common one. 2007-07-04 12:25:49 +00:00
Joel Sherrill
b37fb8dc50 2007-06-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Now use the m68k memcpy and memset recently added to
	newlib instead of our own.
	* shared/misc/memcpy.c: Removed.
2007-06-04 17:52:20 +00:00
Joel Sherrill
a205b96b9b 2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* mpc6xx/clock/c_clock.c: Tinker with math so it does not overflow on
	psim and give a negative nanoseconds since last tick.
2007-05-21 19:29:34 +00:00
Ralf Corsepius
a1b953a476 2007-05-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* mpc8xx/clock/clock.c: Remove unused var extclk_value.
2007-05-07 10:44:17 +00:00
Joel Sherrill
716f6bede9 2007-05-01 Ray Xu <xr@trasin.net>
* lpc22xx/clock/clockdrv.c, lpc22xx/include/lpc22xx.h,
	lpc22xx/irq/bsp_irq_asm.S, lpc22xx/irq/bsp_irq_init.c,
	lpc22xx/irq/irq.c, lpc22xx/irq/irq.h, lpc22xx/timer/timer.c: Update
	BSP to address changes between 4.7 and CVS head as well as to address
	comments from Ralf and Joel.
2007-05-01 19:16:04 +00:00
Ralf Corsepius
9e0e37c1ed Fixup CVS Ids. 2007-04-25 12:15:53 +00:00
Ralf Corsepius
6edbd66b90 Fixup CVS Ids. 2007-04-25 12:13:38 +00:00
Ralf Corsepius
11798fd5aa Regenerate. 2007-04-25 11:58:01 +00:00
Ralf Corsepius
8b7e446ec3 2007-04-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* lpc22xx/clock/clockdrv.c, lpc22xx/include/lpc22xx.h,
	lpc22xx/irq/bsp_irq_asm.S, lpc22xx/irq/bsp_irq_init.c,
	lpc22xx/irq/irq.c, lpc22xx/irq/irq.h, lpc22xx/timer/timer.c:
	Use current OAR license file URL.
2007-04-25 11:57:21 +00:00
Ralf Corsepius
61e293b657 Use current OAR license file URL. 2007-04-25 11:57:13 +00:00
Ralf Corsepius
a44e045bbf 2007-04-25 Ray Xu <xr@trasin.net>
* lpc22xx/irq/bsp_irq_init.c
	lpc22xx/irq/irq.c, lpc22xx/irq/irq.h: New (Initial submission).
2007-04-25 11:51:44 +00:00
Ralf Corsepius
744d617409 Convert to Unix. 2007-04-25 11:49:18 +00:00
Ralf Corsepius
7d33199a93 2007-04-25 Ray Xu <xr@trasin.net>
* Makefile.am, configure.ac: Add lpc22xx support.
	* lpc22xx/clock/clockdrv.c, lpc22xx/include/lpc22xx.h,
	lpc22xx/irq/bsp_irq_asm.S, lpc22xx/timer/lpc_timer.h,
	lpc22xx/timer/timer.c: New (Initial submission).
2007-04-25 11:48:32 +00:00
Joel Sherrill
f7588ebab7 2007-04-17 Joel Sherrill <joel@OARcorp.com>
* mpc6xx/clock/c_clock.c: Add initial cut at nanoseconds since last
	tick handler.
2007-04-17 17:41:19 +00:00
Ralf Corsepius
d16970dcfc 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c,
	sh7750/score/cpu_asm.c:
	Use Context_Control_fp* instead of void* for fp_contexts.
2007-04-17 06:25:56 +00:00
Ralf Corsepius
74732fa3d9 Use Context_Control_fp* instead of void* for fp_contexts. 2007-04-17 06:25:44 +00:00
Ralf Corsepius
874fb27f4a Use uint*_t instead of char/short/int. 2007-04-02 12:01:49 +00:00
Ralf Corsepius
5da9ab141b 2007-04-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/include/byteorder.h: Use uint*_t instead of char/short/int.
2007-04-02 12:01:26 +00:00
Joel Sherrill
d7cefbf64b 2007-03-28 Joel Sherrill <joel@OARcorp.com>
* page.c: Redo print to not have cvs conflict marker.
2007-03-28 18:15:06 +00:00
Joel Sherrill
93f4a90651 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* at91rm9200/clock/clock.c, at91rm9200/dbgu/dbgu.c,
	at91rm9200/include/at91rm9200.h,
	at91rm9200/include/at91rm9200_dbgu.h,
	at91rm9200/include/at91rm9200_emac.h,
	at91rm9200/include/at91rm9200_gpio.h,
	at91rm9200/include/at91rm9200_mem.h,
	at91rm9200/include/at91rm9200_pmc.h, at91rm9200/include/bits.h,
	at91rm9200/irq/bsp_irq_asm.S, at91rm9200/irq/bsp_irq_init.c,
	at91rm9200/irq/irq.c, at91rm9200/irq/irq.h, at91rm9200/pmc/pmc.c,
	at91rm9200/timer/timer.c, mc9328mxl/clock/clockdrv.c,
	mc9328mxl/include/mc9328mxl.h, mc9328mxl/irq/bsp_irq_asm.S,
	mc9328mxl/irq/bsp_irq_init.c, mc9328mxl/irq/irq.c,
	mc9328mxl/irq/irq.h, mc9328mxl/timer/timer.c,
	s3c2400/clock/clockdrv.c, s3c2400/timer/timer.c: Correct license URL
	and/or fix mistake in copyright notice. Both of these mistakes appear
	to be from code submitted after these changes were made previously.
2007-03-12 11:17:07 +00:00