Commit Graph

1528 Commits

Author SHA1 Message Date
Sebastian Huber
06280c35de 2011-02-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc83xx/network/tsec.c: New default MAC configuration.  Set MDIO
	clock according to actual CCB frequency.  Print media info only if we
	have a PHY.  Avoid infinite loop in media adaption.
2011-02-25 13:34:41 +00:00
Sebastian Huber
2888a652a6 2011-02-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
* new-exceptions/bspsupport/vectors.h: Added defines PPC_EXC_GPR_TYPE,
	PPC_EXC_GPR_SIZE, PPC_EXC_GPR_OFFSET, PPC_EXC_MINIMAL_FRAME_SIZE, and
	PPC_EXC_FRAME_SIZE.  Changed layout of BSP_Exception_frame.
2011-02-17 11:19:43 +00:00
Ralf Corsepius
0f7b6eff46 2011-02-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* new-exceptions/bspsupport/vectors.h: Add extern "C" {}.
2011-02-17 03:30:08 +00:00
Sebastian Huber
0f801cdc62 2011-02-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/powerpc-utility.h: Fixed LINKER_SYMBOL() for
	assembler compatibilty.  Added synchronization, cache, and alternate
	time base functions.
2011-02-16 08:33:02 +00:00
Ralf Corsepius
051f1c4525 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* mpc55xx/include/mpc55xx.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 13:05:24 +00:00
Ralf Corsepius
099ea99151 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* sh7032/delay/delay.c, sh7032/score/cpu_asm.c,
	sh7032/score/ispsh7032.c, sh7045/sci/sci.c,
	sh7045/sci/sci_termios.c, sh7045/score/cpu_asm.c,
	sh7045/score/ispsh7045.c, sh7750/sci/sh4uart.c,
	sh7750/score/cpu_asm.c, sh7750/score/ispsh7750.c,
	shgdb/score/cpu_asm.c, shgdb/score/ispshgdb.c:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 13:03:48 +00:00
Ralf Corsepius
3668643b45 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* cache/cache.c:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:58:54 +00:00
Ralf Corsepius
51a92c44f4 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/cache/cache.c:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:58:12 +00:00
Ralf Corsepius
3d0af835ba 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* sh7032/delay/delay.c, sh7032/score/cpu_asm.c,
	sh7032/score/ispsh7032.c, sh7045/sci/sci.c,
	sh7045/sci/sci_termios.c, sh7045/score/cpu_asm.c,
	sh7045/score/ispsh7045.c, sh7750/sci/sh4uart.c,
	sh7750/score/cpu_asm.c, sh7750/score/ispsh7750.c,
	shgdb/score/cpu_asm.c, shgdb/score/ispshgdb.c:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:57:25 +00:00
Ralf Corsepius
1531033d84 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* mpc6xx/altivec/vec_sup.c, mpc6xx/mmu/bat.h:
	Fix up comments having been broken in previous commit.
2011-02-11 09:55:48 +00:00
Ralf Corsepius
f9acc339fe 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* e500/mmu/mmu.c, mpc505/ictrl/ictrl.c, mpc505/timer/timer.c,
	mpc5xx/ictrl/ictrl.c, mpc5xx/timer/timer.c,
	mpc6xx/altivec/vec_sup.c, mpc6xx/clock/c_clock.c,
	mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h, mpc6xx/mmu/pte121.c,
	mpc8260/timer/timer.c, mpc8xx/timer/timer.c, new-exceptions/cpu.c,
	new-exceptions/bspsupport/ppc_exc_initialize.c,
	ppc403/clock/clock.c, ppc403/console/console.c,
	ppc403/console/console.c.polled, ppc403/console/console405.c,
	ppc403/irq/ictrl.c, ppc403/tty_drv/tty_drv.c,
	rtems/powerpc/cache.h, shared/include/powerpc-utility.h, shared/src/cache.c:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:46:53 +00:00
Ralf Corsepius
b15e7dc332 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* au1x00/vectorisrs/vectorisrs.c:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:37:38 +00:00
Ralf Corsepius
8525cffc7d 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* mcf5225x/network/fec.c, mcf5235/cache/cachepd.c,
	mcf532x/cache/cachepd.c, shared/cache/cache.c, shared/misc/m68kidle.c:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:36:44 +00:00
Ralf Corsepius
550c1b239c 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* cache.c, cpu.h, cpuModel.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:33:50 +00:00
Ralf Corsepius
682a05b3b2 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:33:06 +00:00
Ralf Corsepius
139ec149b2 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* pxa255/pmc/pmc.c, shared/include/arm-cp15.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:32:25 +00:00
Ralf Corsepius
8ee3775f30 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
2011-02-02 15:01:43 +00:00
Sebastian Huber
10df690794 2011-01-31 Sebastian Huber <sebastian.huber@embedded-brains.de>
* new-exceptions/bspsupport/ppc_exc.S,
	new-exceptions/bspsupport/ppc_exc_asm_macros.h,
	new-exceptions/bspsupport/ppc_exc_naked.S,
	new-exceptions/bspsupport/ppc_exc_prologue.c: Branch targets are now
	global for all minimal prologues.  Generate branch instruction in
	minimal prologues.
2011-01-31 16:12:24 +00:00
Sebastian Huber
b10be06b48 2011-01-31 Sebastian Huber <sebastian.huber@embedded-brains.de>
* e500/mmu/mmu.c: Use common defines.
2011-01-31 15:48:22 +00:00
Ralf Corsepius
25eab8f69d 2011-01-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* mongoosev/duart/mg5uart.c: Fix type mismatch.
2011-01-30 17:42:26 +00:00
Ralf Corsepius
da67f11f89 2011-01-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* page.c: Remove CVS-Header tag. Add CVS-Id
2011-01-29 03:41:59 +00:00
Joel Sherrill
e71a3a840d 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* mpc5xx/exceptions/raw_exception.c, mpc5xx/exceptions/raw_exception.h,
	mpc5xx/include/console.h, mpc5xx/include/mpc5xx.h, mpc5xx/irq/irq.c,
	mpc5xx/irq/irq.h, mpc5xx/irq/irq_asm.S, mpc5xx/vectors/vectors.h,
	mpc5xx/vectors/vectors_init.c, mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h,
	mpc6xx/mmu/mmuAsm.S, new-exceptions/bspsupport/irq.c,
	new-exceptions/bspsupport/irq_supp.h,
	new-exceptions/bspsupport/nested_irq_test.c,
	new-exceptions/bspsupport/ppc_exc_address.c,
	new-exceptions/bspsupport/ppc_exc_categories.c,
	new-exceptions/bspsupport/ppc_exc_global_handler.c,
	new-exceptions/bspsupport/ppc_exc_hdl.c,
	new-exceptions/bspsupport/ppc_exc_initialize.c,
	new-exceptions/bspsupport/ppc_exc_prologue.c,
	new-exceptions/bspsupport/ppc_exc_test.c,
	new-exceptions/bspsupport/vectors.h, shared/include/byteorder.h,
	shared/include/cpuIdent.c, shared/include/cpuIdent.h,
	shared/include/io.h, shared/include/mmu.h, shared/include/page.h,
	shared/include/pgtable.h, shared/include/spr.h: Fix typo where
	license said found in found in.
2011-01-28 20:38:13 +00:00
Joel Sherrill
3f4598ec8d 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* byteorder.h, cpu.h, page.c: Fix typo where license said
	found in found in.
2011-01-28 20:38:09 +00:00
Joel Sherrill
023f2f1abb 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* s3c24xx/irq/irq.c: Fix typo where license said found in found in.
2011-01-28 20:38:07 +00:00
Sebastian Huber
610d92c179 2011-01-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* new-exceptions/bspsupport/ppc_exc_categories.c: Fixed e500
	categories.
2011-01-27 13:32:53 +00:00
Sebastian Huber
f2c8c34887 2011-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc83xx/network/tsec.c, mpc83xx/network/tsec.h: Use configuration
	structure instead of many function parameters.  Moved board specific
	initializations.  Added support for interfaces without PHY access.
2011-01-14 10:48:57 +00:00
Sebastian Huber
e62721c4dd 2011-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* new-exceptions/bspsupport/ppc_exc_categories.c: Fixed e200 machine
	check category.
2011-01-10 12:00:27 +00:00
Sebastian Huber
4bb492529a 2010-12-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* Makefile.am, preinstall.am, mpc83xx/include/mpc83xx.h,
	mpc83xx/network/tsec.c, mpc83xx/network/tsec.h: Make it possible to
	use the TSEC driver for other systems.
2010-12-30 13:12:03 +00:00
Sebastian Huber
1e86d1e350 2010-12-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc83xx/include/mpc83xx.h, mpc83xx/network/tsec.c,
	mpc83xx/network/tsec.h: Make it possible to use the TSEC driver for
	other systems.
2010-12-30 13:09:47 +00:00
Sebastian Huber
4e9d8ea602 2010-12-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* new-exceptions/bspsupport/ppc_exc_address.c,
	new-exceptions/bspsupport/ppc_exc_initialize.c: Fixed IVOR handling for
	e200z0 and e200z1.
2010-12-29 10:48:08 +00:00
Sebastian Huber
ef8dff0531 2010-12-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/include/mpc55xx.h, mpc55xx/misc/copy.S: Removed zero
	functions.
2010-12-29 10:45:33 +00:00
Sebastian Huber
644448f840 2010-12-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/cpuIdent.c, shared/include/cpuIdent.h: Added support
	for e500v2.  Removed IVPR/IVOR/HWIVOR features since they are included
	in Book E.
	* new-exceptions/bspsupport/vectors.h,
	new-exceptions/bspsupport/ppc_exc.S,
	new-exceptions/bspsupport/ppc_exc_address.c,
	new-exceptions/bspsupport/ppc_exc_categories.c,
	new-exceptions/bspsupport/ppc_exc_initialize.c,
	new-exceptions/bspsupport/ppc_exc_prologue.c: Added support for
	e500v2.  Added exception vector defines for Book E types.  Removed
	e200 exception vector defines.  Added e500 exception vector defines.
	Unified IVOR calculation for e200 and e500 (e200z1 has hard wired
	IVOR values).
2010-12-29 09:51:18 +00:00
Sebastian Huber
6d9059f6e8 2010-12-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc83xx/i2c/mpc83xx_i2cdrv.c: Fixed interrupt flag clearing for
	MPC55XX family.
2010-12-23 12:50:55 +00:00
Sebastian Huber
b5919529db 2010-12-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* new-exceptions/bspsupport/ppc_exc.S: Comment.
	* new-exceptions/bspsupport/ppc_exc_address.c: Fixed address
	calculation for e200z1 core.
2010-12-22 14:13:03 +00:00
Joel Sherrill
95b18d0118 2010-11-30 Joel Sherrill <joel.sherrilL@OARcorp.com>
* mpc55xx/edma/edma.c: Use rtems_chain_first() and do not directly
	access the structure.
2010-11-30 17:13:28 +00:00
Sebastian Huber
fe5d5048c6 2010-11-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/include/irq.h: Include missing <bspopts.h>.  Format.
	* mpc83xx/include/mpc83xx.h, mpc83xx/i2c/mpc83xx_i2cdrv.h,
	mpc83xx/i2c/mpc83xx_i2cdrv.c: Changes to use this driver for the
	MPC55XX familiy.
2010-11-12 12:43:28 +00:00
Joel Sherrill
ce3bfb7e47 2010-08-25 Gedare Bloom <giddyup44@yahoo.com>
PR 1688/libcpu
	* shared/score/interrupt.S: Fix bug in the sun4u _ISR_Dispatch code
	that ends up cloberring the global registers. It manifests primarily
	as a memory alignment error when the globals are used to read to/from
	memory.
2010-08-25 20:33:25 +00:00
Joel Sherrill
2c4d3879f5 2010-08-20 Gedare Bloom <giddyup44@yahoo.com>
PR 1681/cpukit
	* shared/score/interrupt.S: With the percpu patch, ASM uses
	INTERRUPT_STACK_HIGH instead of _CPU_Interrupt_stack_high. The
	sparc64 was still using the old variable, which was declared in its
	cpu.h file. This patch to comment out the declaration and switch to
	using INTERRUPT_STACK_HIGH.
2010-08-20 12:47:38 +00:00
Joel Sherrill
572d2fbe58 2010-08-15 Joel Sherrill <joel.sherrilL@OARcorp.com>
* mpc55xx/esci/esci.c: Add BSP_poll_char.
2010-08-15 23:28:51 +00:00
Joel Sherrill
010d830d04 2010-08-15 Joel Sherrill <joel.sherrilL@OARcorp.com>
* at91rm9200/dbgu/dbgu.c, pxa255/ffuart/ffuart.c: Add BSP_poll_char.
2010-08-15 23:28:46 +00:00
Joel Sherrill
82b04a2b63 2010-07-30 Gedare Bloom <giddyup44@yahoo.com>
PR 1599/cpukit
	* sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c,
	sh7750/score/cpu_asm.c, shgdb/score/cpu_asm.c: Rename
	_Context_Switch_necessary to _Thread_Dispatch_necessary to more
	properly reflect the intent.
2010-07-30 18:51:49 +00:00
Joel Sherrill
7814f92a5d 2010-07-30 Gedare Bloom <giddyup44@yahoo.com>
PR 1599/cpukit
	* new-exceptions/bspsupport/ppc_exc_hdl.c: Rename
	_Context_Switch_necessary to _Thread_Dispatch_necessary to more
	properly reflect the intent.
2010-07-30 18:51:43 +00:00
Till Straumann
39507635f1 2009-10-28 Till Straumann <strauman@slac.stanford.edu>
* byteorder.h: added ld_le16, st_le16.
2010-07-06 20:13:02 +00:00
Jennifer Averett
d010b9d7cf 2010-06-29 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* new-exceptions/bspsupport/ppc_exc_asm_macros.h: Added include of
	bspopts to resolve compilation problem.
2010-06-29 19:44:06 +00:00
Joel Sherrill
646e7b0d2a 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* shared/score/interrupt.S: Add a per cpu data structure which contains
	the information required by RTEMS for each CPU core. This
	encapsulates information such as thread executing, heir, idle and
	dispatch needed.
2010-06-29 00:39:44 +00:00
Joel Sherrill
61b1c413b7 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* sh7032/score/cpu_asm.c, sh7045/score/cpu_asm.c,
	sh7750/score/cpu_asm.c, shgdb/score/cpu_asm.c: Add a per cpu data
	structure which contains the information required by RTEMS for each
	CPU core. This encapsulates information such as thread executing,
	heir, idle and dispatch needed.
2010-06-29 00:39:41 +00:00
Joel Sherrill
5048a0a0b8 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
	* mpc5xx/irq/irq.c, mpc5xx/irq/irq_asm.S,
	new-exceptions/bspsupport/ppc_exc.S,
	new-exceptions/bspsupport/ppc_exc_asm_macros.h,
	new-exceptions/bspsupport/ppc_exc_hdl.c: Add a per cpu data structure
	which contains the information required by RTEMS for each CPU core.
	This encapsulates information such as thread executing, heir, idle
	and dispatch needed.
2010-06-29 00:39:39 +00:00
Joel Sherrill
c56982c86e 2010-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore, ChangeLog, Makefile.am, configure.ac, preinstall.am,
	shared/cache/cache.c, shared/cache/cache_.h,
	shared/interrupts/installisrentries.c, shared/score/cpu.c,
	shared/score/interrupt.S, shared/syscall/sparc64-syscall.S,
	shared/syscall/sparc64-syscall.h: New files.
2010-06-17 16:16:25 +00:00
Joel Sherrill
520a487938 2010-06-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am: Formatting.
2010-06-14 16:02:31 +00:00
Joel Sherrill
7905137ae8 2010-05-30 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am: Fix typo in path.
2010-05-30 18:02:21 +00:00