Commit Graph

8696 Commits

Author SHA1 Message Date
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
Chris Johns
e806f13e28 2008-07-03 Chris Johns <chrisj@rtems.org>
* c/src/lib/libbsp/powerpc/score603e/startup/genpvec.c: Change to
	the Chains API.
2008-07-03 01:30:18 +00:00
Joel Sherrill
a060e34ff1 2008-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/uboot_getenv.c: New file.
2008-07-01 19:13:22 +00:00
Joel Sherrill
5223d6b543 2008-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* psim-gdb: Change 4.8 to 4.9.
2008-07-01 19:13:13 +00:00
Joel Sherrill
6e2fcea0e6 2008-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, include/bsp.h: Add bsp_uboot_getenv() to obtain U-Boot
	environment variables.
	* startup/uboot_support.c: New file.
2008-07-01 19:12:48 +00:00
Ralf Corsepius
75cd18ce47 Require AC_DISABLE_OPTION_CHECKING. AC_PREREQ(2.62). 2008-06-29 06:27:06 +00:00
Ralf Corsepius
6a75acbd0d 2008-06-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
	AC_PREREQ(2.62).
2008-06-29 06:26:44 +00:00
Joel Sherrill
e0652f1479 2008-06-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* acinclude.m4: Regenerated.
2008-06-27 12:20:42 +00:00
Joel Sherrill
9f68808a6e 2008-06-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* .cvsignore: New file.
2008-06-23 12:58:01 +00:00
Joel Sherrill
14f4d654a2 2008-06-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds: Use wildcard on .data section.
2008-06-20 16:30:25 +00:00
Joel Sherrill
5c9be63a88 2008-06-20 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* Makefile.am, configure.ac, preinstall.am: Adding mcf5329 BSP and CPU
	support.
	* mcf532x/include/mcf532x.h: New file.
2008-06-20 14:58:59 +00:00
Joel Sherrill
6b56ec3327 2008-06-20 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* ChangeLog, Makefile.am, README, bsp_specs, configure.ac, gdb-init,
	preinstall.am, clock/clock.c, console/console.c, include/bsp.h,
	include/bspopts.h.in, include/coverhd.h, include/tm27.h,
	network/network.c, start/start.S, startup/bspclean.c,
	startup/bspstart.c, startup/cfinit.c, startup/init5329.c,
	startup/linkcmds, startup/linkcmdsflash, timer/timer.c: New files.
2008-06-20 14:58:34 +00:00
Chris Johns
8d26950fca 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* startup/cfinit.c, startup/init52235.c: Missed the last patch.
2008-06-19 06:27:29 +00:00
Chris Johns
eaaade27f3 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* mcf5223x/include/mcf5223x.h: New.
2008-06-19 05:46:45 +00:00
Chris Johns
9374e9b082 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* mcf52235/README, mcf52235/gdb-init, mcf52235/clock/clock.c,
	mcf52235/console/console.c, mcf52235/include/bsp.h,
	mcf52235/include/coverhd.h, mcf52235/start/start.S,
	mcf52235/startup/bspclean.c, mcf52235/startup/bspstart.c,
	mcf52235/startup/linkcmds, mcf52235/timer/timer.c: Cleaned up
	white space and code formmated to adhere to RTEMS standards. Fixed
	a bug in the nano seconds since last tick support. Fixed a bug
	with the location of the start stack (no longer within
	.bss). Removed double definition of IPSBAR and some type defs
	etc.. Added timing test overhead results.
2008-06-19 05:46:19 +00:00
Chris Johns
775f8e52e8 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* mcf52235/include/mcf52235.h: Removed. Moved to the more generic
	mcf5223x.h.
	* mcf5223x/include/mcf5223x.h: New. Was mcf52235.h.
	* Makefile.am, configure.ac, preinstall.am: Changed from mcf52235
	to mcf5223x.
2008-06-19 05:38:57 +00:00
Chris Johns
9af830802d 2008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* mcf52235/include/mcf52235.h: New.
	* preinstall.am, configure.ac, Makefile.am: Add 52235 support.
2008-06-11 08:07:48 +00:00
Chris Johns
56e8ee4ebd 2008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* shared/m68kbspgetworkarea.c: Fix extern type to RamSize.
	* shared/m68kpretaskinghook.c: Do not handle the RAM allocation if
	the BSP is handling it.
	* acinclude.m4: Add the mcf52235 BSP.
2008-06-11 08:06:30 +00:00
Chris Johns
b7ad0ed12b 2008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* Makefile.am: Add shared/m68kbspgetworkarea.c to sources.
	* configure.ac: Add RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION.
	* include/bsp.h: Add include bspopts.h.
	* start/start.S: Formatting changes.
	* startup/bspstart.c: Updated to use the shared BSP support.
2008-06-11 08:03:50 +00:00
Chris Johns
3aac2db317 2008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs,
	clock/clock.c, configure.ac, console/console.c, gdb-init,
	include/bsp.h, include/bspopts.h.in, include/coverhd.h,
	include/tm27.h, preinstall.am, start/start.S, startup/bspclean.c,
	startup/bspstart.c, startup/cfinit.c, startup/init52235.c,
	startup/linkcmds, timer/timer.c: New.
2008-06-11 07:59:03 +00:00
Joel Sherrill
913b3a2770 2008-06-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq.c: Add units.
2008-06-10 18:53:21 +00:00
Joel Sherrill
6826a4c567 2008-06-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/bsp.h, irq/irq.c, irq/irq_init.c, startup/bspclean.c,
	startup/bspstart.c: Slightly better names for IRQ benchmarking. Make
	sure the routines are present all the time.
2008-06-06 21:43:02 +00:00
Joel Sherrill
e5b6bf463b 2008-06-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* samples/hello/config.h, sptests/spname01/config.h: These needed
	CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER.
2008-06-06 20:56:17 +00:00
Joel Sherrill
f176759649 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, include/m340uart.h: Use new shared
	termios_baud_to_number() routine.
2008-06-05 22:09:39 +00:00
Joel Sherrill
e51cf6db88 2008-06-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/tm27.h: New file. Stub version of tm27 support.
2008-06-04 23:04:18 +00:00
Joel Sherrill
14a80d03f9 2008-06-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, preinstall.am: Need cplb.h
2008-06-04 23:03:51 +00:00
Joel Sherrill
6a325800c0 2008-06-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, preinstall.am: Need tm27.h
2008-06-04 23:03:37 +00:00
Joel Sherrill
389908027e 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/startup/panic.c: Convention calls for leading underscore on
	private RTEMS variables.
2008-06-02 16:11:56 +00:00
Joel Sherrill
3e927fa0b4 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* misc/interr.c: Convention calls for leading underscore on private
	RTEMS variables.
2008-06-02 16:11:44 +00:00
Ralf Corsepius
89ae273da7 2008-06-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/target.m4: Allow empty RTEMS_BUILD_SUBDIRS.
2008-06-01 09:03:30 +00:00
Ralf Corsepius
1756b781e7 Allow emtpy RTEMS_BUILD_SUBDIRS. 2008-06-01 09:02:21 +00:00
Ralf Corsepius
94e8e5912d Regenerate. 2008-06-01 03:36:26 +00:00
Chris Johns
288f1c33c9 2008-05-29 Chris Johns <chrisj@rtems.org>
* include/bsp.h: FEC unit numbers based on 0 not 1. Change the
	interface name to fec0.
2008-05-29 06:01:33 +00:00
Thomas Doerfler
41d7c0fe9a speed inprovements in mpc83xx tsec driver 2008-05-27 10:34:55 +00:00
Till Straumann
f335672ae3 2008-05-23 Till Straumann <strauman@slac.stanford.edu>
* vmeUniverse/VME.h: removed 'weak' attribute from
	declaration of BSP_vme_config().
2008-05-23 21:36:02 +00:00
Till Straumann
5b9e302c77 2008-05-23 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/pretaskinghook.c: removed declaration
	of BSP_vme_config() (which is already declared in
	<bsp/VME.h>. Removed test for NULL-ness of BSP_vme_config;
	gcc doesn't seem to understand that the linker may
	define this to be NULL... Silences a compiler warning
	(and users can always provide an empty routine).
2008-05-23 21:34:35 +00:00