Commit Graph

8746 Commits

Author SHA1 Message Date
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
Till Straumann
7d453cf211 2008-07-16 Till Straumann <strauman@slac.stanford.edu>
* shared/include/powerpc-utility.h: Added
	GET_INTERRUPT_MASK macro.
2008-07-16 21:38:05 +00:00
Joel Sherrill
9c325fb254 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* mpc6xx/clock/c_clock.c: Add fast idle.
2008-07-16 20:22:20 +00:00
Joel Sherrill
10f095c83f 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Add fast idle.
2008-07-16 20:22:00 +00:00
Joel Sherrill
33749f0413 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* acinclude.m4: Regeneration to add new BSPs.
2008-07-16 14:46:57 +00:00
Joel Sherrill
fc1b5cf558 2008-07-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore, include/.cvsignore: New files.
2008-07-15 22:55:15 +00:00
Joel Sherrill
fa379b086c 2008-07-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* bootcard.c: Must include bsp.h or bspopts.h or we cannot know if
	boot_card() handles RAM allocation.
2008-07-15 22:22:09 +00:00
Joel Sherrill
18e6e824a6 Spacing. 2008-07-15 13:32:12 +00:00
Thomas Doerfler
574fb67510 updated gen83xx BSP
updated haleakala BSP
added MPC55xx BSP
2008-07-14 16:15:28 +00:00
Thomas Doerfler
3c6fe2e7f9 added haleakala BSP contributed by Michael Hamel 2008-07-14 08:46:06 +00:00
Thomas Doerfler
9ec9123344 corrections in display driver 2008-07-14 08:45:32 +00:00
Ralf Corsepius
fcd4a7c8fa Cleanup. 2008-07-14 06:02:09 +00:00
Ralf Corsepius
1be83cdc57 Cleanup. 2008-07-14 05:53:43 +00:00
Ralf Corsepius
911e38a05a New. 2008-07-14 05:33:07 +00:00
Ralf Corsepius
a4f16e611a Regenerate. 2008-07-14 05:32:41 +00:00
Ralf Corsepius
46b703810e Remove. 2008-07-14 05:19:18 +00:00
Thomas Doerfler
224aebb3b8 added BSP to m68k
adapted PPC exception code
2008-07-11 10:07:00 +00:00
Thomas Doerfler
80a0ae8248 add display driver for HCMS* SPI displays 2008-07-11 10:03:19 +00:00
Thomas Doerfler
25a92bc1ed adapted powerpc exception code 2008-07-11 10:02:12 +00:00
Thomas Doerfler
a86f3aac96 adapted powerpc BSPs to new exception code 2008-07-11 10:01:37 +00:00
Thomas Doerfler
69effbb4e1 added variant to gen68360 BSP
added genmcf548x BSP
2008-07-11 10:00:41 +00:00
Thomas Doerfler
1898d72d9c added mcf548x BSP support 2008-07-11 09:59:48 +00:00
Till Straumann
457f5901e6 2008-07-10 Till Straumann <strauman@slac.stanford.edu>
* shared/flash/spansionFlash.c: removed "m" memory
	operands.
2008-07-10 23:24:58 +00:00
Till Straumann
dfe42ba59c 2008-07-10 Till Straumann <strauman@slac.stanford.edu>
* mpc6xx/mmu/pte121.c: use general "memory" clobber
	rather than memory input operand in inline assembly
	("m" doesn't do what the manual says; see discussion
	on gcc mailing list around 2008/3/30)
2008-07-10 22:03:27 +00:00