Commit Graph

8769 Commits

Author SHA1 Message Date
Joel Sherrill
90c9d2b45f 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/misc/m68kidle.c: Correct prototype of Idle threads.
2008-07-31 15:00:11 +00:00
Joel Sherrill
73570ec985 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspclean.c: Use C style comment.
2008-07-31 14:56:51 +00:00
Joel Sherrill
4693690afd Formatting. 2008-07-30 15:31:19 +00:00
Thomas Doerfler
cc54cc9175 src/irq-legacy.c: Free allocated memory in hander remove
bootcard.c: Check if the heap fits into the work area
2008-07-29 07:11:21 +00:00
Chris Johns
af37ae0dd3 2008-07-29 Chris Johns <chrisj@rtems.org>
* tools/configure.ac: Add CFLAGS to workaround building errors on
	a 64bit AMD host.
2008-07-29 04:32:34 +00:00
Chris Johns
bafe97f479 2008-07-29 Chris Johns <chrisj@rtems.org>
* ide/pcmcia_ide.c: Updated to the libblock changes.
2008-07-29 03:08:38 +00:00
Chris Johns
e9e422e0a4 2008-07-29 Chris Johns <chrisj@rtems.org>
* smc/smc.c: Updated to the libblock changes.
2008-07-29 02:56:20 +00:00
Chris Johns
57df51f326 2008-07-29 Chris Johns <chrisj@rtems.org>
* block/block.c: Update to the libblock changes.
2008-07-29 02:46:22 +00:00
Chris Johns
3735f0859c 2008-07-29 Chris Johns <chrisj@rtems.org>
* libchip/i2c/spi-sd-card.c: Updated to the libblock changes.

	* libchip/ide/ata.c: Change to use a mutex rather than disable
	pre-emption. Updated to the libblock changes.

	* libchip/ide/ata_internal.h: Updated to the new chains API.

	* libchip/ide/ide_controller.c: Updated to the libblock
	changes. Added come debug tracing.

	* libchip/ide/ide_ctrl_cfg.h, libchip/ide/ide_ctrl_io.h: Updated
	to the libblock changes.
2008-07-29 02:23:48 +00:00
Chris Johns
c4bd98c04d 2008-07-29 Chris Johns <chrisj@rtems.org>
* ide/ide.c: Updated to the rtems_* libblock changed.
2008-07-29 02:22:22 +00:00
Ralf Corsepius
1b39f1892b 2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove RPCGEN, RPCTOOLS.
2008-07-27 07:15:14 +00:00
Ralf Corsepius
73c0717887 2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove doxygen comments.
2008-07-27 07:10:46 +00:00
Ralf Corsepius
079c3edba8 Remove doxygen comments. 2008-07-27 07:10:37 +00:00
Ralf Corsepius
8b8b0cb7c4 2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add -ansi to RTEMS_PROG_CC_FOR_TARGET.
2008-07-27 06:55:12 +00:00
Ralf Corsepius
c39e66459c Add -ansi to RTEMS_PROG_CC_FOR_TARGET. 2008-07-27 06:55:02 +00:00
Ralf Corsepius
724f501db1 2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove doxygen comments.
	Remove bogus BUILT_SOURCES.
2008-07-27 06:53:47 +00:00
Ralf Corsepius
05e0ce0c46 Remove doxygen comments.
Remove bogus BUILT_SOURCES.
2008-07-27 06:53:33 +00:00
Joel Sherrill
bc3283c986 2008-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* preinstall.am: New file.
2008-07-24 18:24:22 +00:00
Thomas Doerfler
d4886a0695 Changed bsp_get_workarea() to bsp_get_work_area() and
added support for an optional separate heap area.
2008-07-24 14:52:55 +00:00
Thomas Doerfler
2e2c640ec1 Support for new rtems_interrupt_handler_iterate() function. 2008-07-24 12:44:26 +00:00
Thomas Doerfler
be78809c94 usee inttypes.h for output format specifiers 2008-07-23 08:03:28 +00:00
Till Straumann
36ba3fc4d1 2008-07-22 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c, include/bsp.h:
	define BSP_PPC403_CLOCK_HOOK_EXCEPTION
	so that we hook the timer exception rather than going
	through the interrupt dispatcher.
2008-07-23 06:54:18 +00:00
Till Straumann
b7d1f290d7 2008-07-22 Till Straumann <strauman@slac.stanford.edu>
* ppc403/clock/clock.c: Added (conditionally compiled)
	code so that a BSP can choose to hook the timer exception
	directly rather than going through the interrupt dispatcher.
2008-07-23 06:50:00 +00:00
Till Straumann
479f25550b 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: Removed MSR_CE from interrupt
	mask - this was set for testing but should not be
	in the mask by default.
2008-07-22 06:11:34 +00:00
Till Straumann
aee685a3df 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, preinstall.am, irq/irq_init.c:
	Use low-level exception handling support from
	new-exceptions/bspsupport.
2008-07-22 05:52:05 +00:00
Till Straumann
336495b9c0 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: Removed SPRG0 warning - this BSP
	is OK.

	Use interrupt stack limits from linker script.

	No need to reserve space beyond '_end'. linkcmds now
	reserves space below '_end'.

	Use low-level exception handling support from
	new-exceptions/bspsupport.
2008-07-22 05:50:57 +00:00
Till Straumann
e1095fc521 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* dlentry/dlentry.S: load R13 with _SDA_BASE_ so that
	SVR4-ABI access of short data area works. No support
	for R2/sdata2/eabi, so far but that would be easy
	(atm R2 is loaded with got address IIRC).
2008-07-22 05:47:31 +00:00
Till Straumann
54b617a0ab 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* startup/linkcmds: fixed sdata/sbss areas -- these
	must be contiguous for SVR4 complicant access via R13.
	Use kludged layout so that sbss, bss, sbss2 are all
	contiguous and zeroed by dlentry.S.

	Provide _SDA_BASE_ and _SDA2_BASE_ for loading R13 (and
	R2 if anyone wants to use EABI).

	Make sure interrupt stack is never in heap area by
	moving it below '_end'.

	Provide symbols for start + end of interrupt stack.
2008-07-22 05:44:58 +00:00
Till Straumann
c607d50e70 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* console/consolelite.c: use base address from RTEMS_XPARAMETERS_H
	rather than hardcoded hex number.
2008-07-22 05:30:21 +00:00
Till Straumann
13512ec229 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/raw_exception,h,
	new-exceptions/raw_exception.c: Added more vectors for PPC405:
	watchdog, fpu-unavail, apu-unavail, itlbmiss, dtlbmiss, debug.
2008-07-21 20:38:06 +00:00
Joel Sherrill
f45169a95f 2008-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: This BSP is OK with SPRG0.
2008-07-18 22:10:26 +00:00
Till Straumann
e620c556a3 2008-07-18 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: removed warning about SPRG0
	now being used for IRQ mask; this BSP is OK.
2008-07-18 19:09:30 +00:00
Thomas Doerfler
d3c321367c Changed special purpose register inline functions to macros.
fixed some minors in mpc83xx support
added file for mpc55xx watchdog support
2008-07-18 15:56:48 +00:00
Joel Sherrill
eb98e4c627 typos. 2008-07-18 14:03:47 +00:00
Thomas Doerfler
59be902499 mpc8249eamds support for Gigabit Ethernet works again
initialize PHY registers late enough, so that phy access is possible
2008-07-18 11:24:39 +00:00
Thomas Doerfler
e5aa0d1b66 resolved conflict 2008-07-18 07:38:55 +00:00
Joel Sherrill
d4502b445d Correct message. 2008-07-17 21:34:22 +00:00
Joel Sherrill
708a8b46eb Formatting. 2008-07-17 21:33:08 +00:00
Joel Sherrill
ce76739743 2008-07-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* ChangeLog, startup/linkcmds, startup/linkcmds.m5484FireEngine.flash:
	Formatting.
2008-07-17 21:32:36 +00:00
Thomas Doerfler
9bd5118c72 fixes for display driver 2008-07-17 14:39:34 +00:00
Thomas Doerfler
677cf05fe1 bugfixes for mpc8349eamds BSP 2008-07-17 14:39:17 +00:00
Thomas Doerfler
ecb869f738 Fixed typo in access macros for device control registers (DCR) 2008-07-17 11:29:32 +00:00
Ralf Corsepius
1380b630a8 2008-07-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove reference to startup/setvec.c.
2008-07-17 04:09:31 +00:00
Ralf Corsepius
2a8e4508eb 2008-07-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove RTEMS_AMPOLISH3.
2008-07-17 03:48:58 +00:00
Ralf Corsepius
e9c0429a91 New. 2008-07-17 03:39:59 +00:00
Till Straumann
84a25d82ec 2008-07-16 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/vectors_init.c: added
	features to C_exception_handler() (the default global
	handler):
	 - try to catch recursion
	 - print info about context where the exception occurred
	   (ISR or task with task ID).
	 - suspend offending task rather than spinning forever.
2008-07-16 23:13:24 +00:00
Till Straumann
03542996dd 2008-07-16 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/vectors_init.c: must not
	align start of stack downwards (we don't 'own' memory
	below start). Instead, use original boundaries but
	align the stack pointer as required.

	Added test to verify that R13 was loaded with _SDA_BASE_
	during early initialization (low-level assembly code
	relies on it).
2008-07-16 23:10:55 +00:00
Till Straumann
6ce3f7b7e2 2008-07-16 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/cpu.c: propagate R2 to all task contexts
	even if the ABI is SVR4. Cannot hurt...
2008-07-16 22:04:06 +00:00
Till Straumann
d60239f6c8 2008-07-16 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/cpu.c: use ppc_interrupt_get_disable_mask()
	to determine which bits to set/clear from _CPU_Context_Initialize().
2008-07-16 21:57:55 +00:00
Till Straumann
5166513cf5 2008-07-16 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_asm_macros.h: Added
	a test to TEST_LOCK_crit so that a context switch is
	always prevented if MSR_CE is not set in the interrupt mask.
	(Support mode where the user wants to leave MSR_CE always enabled
	but abstains from calling OS primitives from the exception
	handler.)
2008-07-16 21:44:14 +00:00