Commit Graph

1554 Commits

Author SHA1 Message Date
Sebastian Huber
dfdf7961e1 2011-09-19 Andrei Mozzhuhin <nopscmn@gmail.com>
PR 1915/libcpu
	* at91rm9200/usart/usart.c: Fixed polled read.
2011-09-19 07:01:02 +00:00
Sebastian Huber
df8204f590 2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/include/fsl-mpc567x.h: Added FLASH as an alias to FLASH_A.
2011-09-01 08:18:56 +00:00
Sebastian Huber
3ac2bf5e24 2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/include/fsl-mpc551x.h: Use legacy register naming.
2011-09-01 08:15:10 +00:00
Sebastian Huber
7a84689f29 2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/include/fsl-mpc551x.h, mpc55xx/include/fsl-mpc556x.h,
	mpc55xx/include/fsl-mpc567x.h: Added missing FLASH types.
2011-09-01 08:09:28 +00:00
Sebastian Huber
97fa2f1b1e 2011-08-31 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/include/fsl-mpc551x.h, mpc55xx/include/fsl-mpc555x.h,
	mpc55xx/include/fsl-mpc556x.h, mpc55xx/include/fsl-mpc567x.h,
	mpc55xx/include/regs-edma.h, mpc55xx/include/regs-mmu.h: New files.
	* Makefile.am, M preinstall.am: Reflect changes above.
	* mpc55xx/dspi/dspi.c: Update due to API changes.
	* mpc55xx/include/edma.h, mpc55xx/edma/edma.c: Rework to support
	multiple eDMA modules.  Removed complex error interrupt handling.
	* mpc55xx/include/esci.h, mpc55xx/esci/esci.c: Support interrupt mode
	and printk().  Use configure options.
	* mpc55xx/include/irq.h: More defines.  API changes.
	* mpc55xx/include/mpc55xx.h: API changes.
	* mpc55xx/include/reg-defs.h: Added register defines.
	* mpc55xx/include/regs.h: Use new register header files.
	* mpc55xx/include/siu.h: Fixed includes.
	* mpc55xx/misc/fmpll.S, mpc55xx/misc/copy.S, mpc55xx/misc/flash.S:
	Changed sections.  API changes. Support MPC5674F.
2011-08-31 15:50:30 +00:00
Sebastian Huber
b2aa729698 2011-08-31 Sebastian Huber <sebastian.huber@embedded-brains.de>
* new-exceptions/bspsupport/ppc_exc_categories.c,
	shared/include/cpuIdent.c, shared/include/cpuIdent.h: Support e200z7.
2011-08-31 15:27:58 +00:00
Sebastian Huber
c1188b418c 2011-08-30 Peter Dufault <dufault@hda.com>
* mpc55xx/misc/flash_support.c: New file.
	* Makefile.am: Reflect change above.
	* mpc55xx/include/mpc55xx.h: Add definitions for the FLASH interface
	and two memory protect interfaces.  Add modifications to eliminate
	warnings in some of the cache macros.
	* mpc55xx/include/regs.h: Add some structure tag names for some
	structures that I needed access to.  Don't define the ALTCADR for the
	MPC5554 - it is reserved and acess casues an exception.  Hide the C99
	designated initializers when compiling with C++.  Add some support for
	the EQADC.
	* mpc55xx/include/esci.h, mpc55xx/include/watchdog.h: Add C++
	protection.
2011-08-30 13:30:09 +00:00
Sebastian Huber
1d367a49df 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc6xx/clock/c_clock.c, mpc6xx/mmu/mmuAsm.S,
	new-exceptions/bspsupport/ppc_exc_global_handler.c,
	shared/include/cpuIdent.c, shared/src/stack.c: Update due to API
	changes.
2011-08-24 09:45:20 +00:00
Sebastian Huber
fdd9de8001 2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1799/bsps
	* new-exceptions/bspsupport/ppc_exc_async_normal.S: New file.
	* new-exceptions/cpu.c, new-exceptions/cpu_asm.S,
	new-exceptions/bspsupport/ppc_exc_asm_macros.h,
	new-exceptions/bspsupport/ppc_exc_global_handler.c,
	new-exceptions/bspsupport/ppc_exc_prologue.c,
	new-exceptions/bspsupport/vectors.h: Added support for SPE.
	* configure.ac, preinstall.am, Makefile.am: Added support for qoriq
	BSPs.
2011-07-21 15:03:31 +00:00
Joel Sherrill
bbacebe209 2011-07-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1832/libcpu
	* at91rm9200/irq/irq.c: he bsp_interrupt_dispatch routine does not
	determine the correct interrupt source number. According to the
	datasheet, the reading of the interrupt vector register (AIC_IVR)
	notifies the hardware that the OS is taken care of the interrupt.
	Only after AIC_IVR have been read can the correct source number be
	read from the interrupt status register (AIC_ISR).
2011-07-13 20:24:04 +00:00
Ralf Corsepius
dbfd8b111b 2011-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove reference to non-existing file
	 shared/include/utility.h.
2011-06-18 07:18:28 +00:00
Ralf Corsepius
4860d1c1f6 2011-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove reference to non-existing file
	new-exceptions/bspsupport/nest_irq_test.c.
2011-06-18 07:17:04 +00:00
Sebastian Huber
88dcb841e7 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* new-exceptions/bspsupport/ppc_exc_alignment.c: New file.
	* Makefile.am: Reflect change above.
	* new-exceptions/bspsupport/vectors.h: Declare
	ppc_exc_alignment_handler().
2011-06-07 13:58:23 +00:00
Sebastian Huber
ae2b1e056a 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* new-exceptions/cpu_asm.S: Use BSP_DATA_CACHE_ENABLED instead of
	PPC_USE_DATA_CACHE.
2011-06-07 12:59:39 +00:00
Sebastian Huber
68e60ddbff 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/src/cache_.h: Moved implementation from "cache.c" to here.
	This avoids the function call overhead.
	* shared/src/cache.c: Removed file.
	* Makefile.am: Reflect changes above.
2011-06-07 08:23:44 +00:00
Sebastian Huber
07f8af124d 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/cache_.h: Moved content of "cache.h" to "cache_.h".
	* shared/include/cache.h: Removed file.
2011-06-07 07:58:16 +00:00
Sebastian Huber
479f876816 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* cache/cache_.h: Include required header file.
	* cache/cache.c: Removed superfuous header file.
2011-06-07 07:54:26 +00:00
Sebastian Huber
3f6fa8ed98 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/src/cache_.h: Include required header file.
2011-06-07 07:52:59 +00:00
Sebastian Huber
f3aa15c254 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/cache.h, shared/src/cache_manager.c: Removed include
	files to reduce implementation constraints.
2011-06-07 07:51:21 +00:00
Ralf Corsepius
2b07af59f2 2011-05-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* serial/uart.c, serial/uart.h: Remove CVS-Author tag.
2011-05-25 11:19:22 +00:00
Sebastian Huber
00d95ce002 2011-05-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/powerpc-utility.h: API changes for ppc_*_cache_*()
	functions.
2011-05-19 12:03:09 +00:00
Sebastian Huber
3560b4faa3 2011-05-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/powerpc-utility.h: Added ppc_fsl_system_version*()
	functions.
2011-05-11 08:46:33 +00:00
Jennifer Averett
85f5c14bd0 2011-04-21 Jennifer Averett <Jennifer.Averett@OARcorp.com
PR 1777/cpukit
	* src/lib/libbsp/powerpc/shared/startup/panic.c,
	src/lib/libcpu/sh/sh7032/score/cpu_asm.c,
	src/lib/libcpu/sh/sh7045/score/cpu_asm.c,
	src/lib/libcpu/sh/sh7750/score/cpu_asm.c,
	src/lib/libcpu/sh/shgdb/score/cpu_asm.c: Consolidated access to
	_Thread_Dispatch_disable_level.
2011-04-21 19:04:50 +00:00
Joel Sherrill
cb4c90b227 2011-04-20 Rohan Kangralkar <rkangral@ece.neu.edu>
PR 1781/bsps
	* bf52x/include: Added additional MMR.
	* bf52x/interrupt: The BF52X processors have a different
	System interrupt controller than present in the 53X range of
	processors. The 52X have 8 interrupt assignment registers. The
	implementation uses tables to increase predictability.
	* serial/uart.?: Added DMA based and interrupt based transfer
	support. The uart code used a single ISR for TX and RX and tried
	to identify and multiplex inside the ISR. In the new code the
	type of interrupt is identified by the central ISR dispatcher
	bf52x/interrupt or interrupt/.	This simplifies the UART ISR.
2011-04-20 20:20:47 +00:00
Joel Sherrill
7d0e70214f 2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.h: Remove warnings.
2011-03-14 17:37:00 +00:00
Sebastian Huber
73406bfbbf 2011-03-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/cpuIdent.h: Fixed warnings.
2011-03-10 15:04:22 +00:00
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