Commit Graph

8831 Commits

Author SHA1 Message Date
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
Till Straumann
e1df032b95 2008-07-10 Till Straumann <strauman@slac.stanford.edu>
* ChangeLog, mpc8xx/clock/clock.c, ppc403/clock/clock.c,
	ppc403/irq/ictrl.h, rtems/powerpc/powerpc.h:
	Removed all macro definitions which depended on
	the compiler defining a PPC CPU-model dependent
	symbol from files in cpukit.
	Macros which were not used by cpukit have been
	moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
2008-07-10 21:51:55 +00:00
Till Straumann
d71e95a5aa *** empty log message *** 2008-07-10 21:39:44 +00:00
Till Straumann
8bac4851a6 2008-07-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_asm_macros.S,
	new-exceptions/bspsupport/ppc_exc_bspsupp.h,
	new-exceptions/bspsupport/ppc_exc_hdl.c,
	new-exceptions/bspsupport/vectors_init.c:
	fixed and enabled stack-switching algorithm which figures out
	if we already run on the ISR stack rather than relying on the
	_ISR_Nest_level.

	Added 'ppc_exc_crit_always_enabled' variable which defines
	the semantics of critical interrupts. Added a test to
	TEST_LOCK_crit so that calling ppc_exc_wrapup() (and
	possibly the dispatcher) is always skipped if the BSP/user
	wants to leave critical interrupts always enabled (at the
	expense of having no OS support).

	changed TEST_LOCK_mchk so that asynchronous machine-check
	handlers never call ppc_exc_wrapup() (and the dispatcher).
	We don't want to disable MSR_ME ever (to avoid checkstops)
	and hence asynchronous MEs must not use OS services anyways.

	added and commented new variables 'ppc_exc_intr_stack_size'
	'ppc_exc_crit_always_enabled'.
2008-07-10 21:31:06 +00:00
Till Straumann
38f5e616fc 2008-07-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc.S: must disable
	interrupts prior to restoring SRRs (thanks to Sebastian Huber)
2008-07-10 21:29:27 +00:00
Till Straumann
055173d46a 2008-07-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/README: added more information
2008-07-10 21:28:38 +00:00
Thomas Doerfler
3128276784 changed names of internal macros 2008-07-10 06:43:45 +00:00
Thomas Doerfler
780428fb9d Extension of the RTEMS Interrupt Manager
(shared handler and handler with a handle).
2008-07-10 06:19:03 +00:00
Thomas Doerfler
214cbd92bc - Simple timing functions based on a time base reference.
- u-boot header file
2008-07-10 06:17:47 +00:00
Thomas Doerfler
e0ecc66d90 SD Card driver 2008-07-10 06:16:49 +00:00
Thomas Doerfler
03bed2dbc0 Includes standard header files,
provides common assembler macros and inline functions for low-level
code.
2008-07-10 06:15:58 +00:00
Thomas Doerfler
9f429ae50e Alternative clock driver. Uses exception handler
directly.  Supports special variants for Book E and e300 cores.  For
standard decrementer CPUs the new decrementer value is calculated with
reference to a time base so that a time drift is avoided
2008-07-10 06:11:47 +00:00
Joel Sherrill
88fe62b421 2008-07-04 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* startup/bspstart.c: Do not disable interrupts twice.
2008-07-04 16:15:52 +00:00
Joel Sherrill
c2bb3add6a 2008-07-04 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* Makefile.am, mcf532x/include/mcf532x.h, shared/cache/cache_.h: Add
	cache support for 5329. Enable the cache in copyback and
	write-through so we can assume that in BSP.
	* mcf532x/cache/cachepd.c: New file.
2008-07-04 16:09:07 +00:00
Joel Sherrill
692e5baba0 2008-07-04 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* Makefile.am, README, include/coverhd.h, network/network.c,
	startup/bspstart.c, startup/cfinit.c, startup/linkcmdsflash: Add
	cache support for 5329. Fix bug in network driver. Enable the cache
	in copyback and write-through so we can assume that in BSP.
2008-07-04 16:08:26 +00:00
Chris Johns
b9c38ed727 2008-07-03 Chris Johns <chrisj@rtems.org>
* ata.c: Change to the Chains API.
2008-07-03 01:34:27 +00:00