Commit Graph

15594 Commits

Author SHA1 Message Date
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
06aab392f0 2008-07-10 Till Straumann <strauman@slac.stanford.edu>
* cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h,
	cpukit/score/cpu/powerpc/rtems/score/cpu.h,
	cpukit/score/cpu/powerpc/rtems/score/powerpc.h:
	Removed all macro definitions which depended on
	the compiler defining a PPC CPU-model dependent
	symbol.
	Macros which were not used by cpukit have been
	moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
2008-07-10 21:48:24 +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
Joel Sherrill
2c3a9c1679 2008-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/.cvsignore: Add chains.texi.
2008-07-10 15:31:09 +00:00
Joel Sherrill
a5d5c746f0 2008-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/rtems/status-checks.h: Fix style.
2008-07-10 15:05:31 +00:00
Thomas Doerfler
eed0491225 added irq-extension.h declarations 2008-07-10 12:56:31 +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
Thomas Doerfler
3210dcb39d Macros for status code and return value checks. 2008-07-10 06:05:12 +00:00
Thomas Doerfler
8084ce80fb Restore terminal settings on exit. 2008-07-10 06:04:19 +00:00
Thomas Doerfler
7c007cfe32 Added S_IRWXU, S_IRWXG and S_IRWXO to file mode. 2008-07-10 06:03:51 +00:00
Thomas Doerfler
5e4831f1d2 Modified error messages. Driver operations table is now constant. New
entry in the rtems_libi2c_tfr_mode_t structure:
        idle_char. This character will be continuously transmitted in
        read only functions.
2008-07-10 06:03:15 +00:00
Chris Johns
5396467fb8 2008-07-09 Chris Johns <chrisj@rtems.org>
* doc/user/chains.t: New.

	* doc/ada_user/ada_user.texi, doc/user/Makefile.am,
	doc/user/c_user.texi, doc/user/dirstat.texi: Updated for the
	chains documentation.
2008-07-09 02:50:28 +00:00
Ralf Corsepius
ef94f04fec Remove (Incorporated by upstream.) 2008-07-07 16:55:00 +00:00
Ralf Corsepius
874f7ec32b New. 2008-07-06 06:01:44 +00:00
Ralf Corsepius
dbb26e767a Add full URL to patch. 2008-07-05 05:33:27 +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
Ralf Corsepius
06a23329d8 Add rtems-4.10. 2008-07-03 16:36:20 +00:00
Ralf Corsepius
343a28e805 gcc-core-4.3.1-rtems4.9-20080628.diff 2008-07-03 15:44:49 +00:00
Ralf Corsepius
3f6e3fa7ca New. 2008-07-03 15:30:57 +00:00
Ralf Corsepius
2c20b74574 Backup. 2008-07-03 15:28:12 +00:00
Ralf Corsepius
5b622a9dcb Add m68k/cf 5329 2008-07-03 15:25:01 +00:00
Ralf Corsepius
5916f5792a Remove 4.3.0. 2008-07-03 08:37:15 +00:00
Ralf Corsepius
35f8615e65 Set target to rtems4.10. 2008-07-03 08:24:44 +00:00
Ralf Corsepius
b1bd76bf7c Reset *_RPMREL. 2008-07-03 08:20:43 +00:00
Ralf Corsepius
01141c54e7 New. 2008-07-03 08:18:22 +00:00
Chris Johns
6a58ad76d5 2008-07-03 Chris Johns <chrisj@rtems.org>
* cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
	interface that is supported.

	* cpukit/libcsupport/Makefile.am,
	cpukit/libcsupport/preinstall.am: Remove chain.h header
	references.

	* cpukit/sapi/include/rtems/chain.h,
	cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
	interface.

	* cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
	include the new chains interface.

	* cpukit/libfs/src/imfs/imfs.h,
	cpukit/libfs/src/imfs/imfs_creat.c,
	cpukit/libfs/src/imfs/imfs_debug.c,
	cpukit/libfs/src/imfs/imfs_directory.c,
	cpukit/libfs/src/imfs/imfs_fsunmount.c,
	cpukit/libfs/src/imfs/imfs_getchild.c,
	cpukit/libfs/src/imfs/imfs_load_tar.c,
	cpukit/libfs/src/imfs/imfs_rmnod.c,
	cpukit/libfs/src/imfs/memfile.c,
	cpukit/libfs/src/nfsclient/src/nfs.c,
	cpukit/libcsupport/include/rtems/libio.h,
	cpukit/libcsupport/src/malloc_deferred.c,
	cpukit/libcsupport/src/mount.c,
	cpukit/libcsupport/src/privateenv.c,
	cpukit/libcsupport/src/unmount.c: Change to the new chains
	interface.

	* cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
2008-07-03 02:07:29 +00:00
Chris Johns
72d2ec4da4 2008-07-03 Chris Johns <chrisj@rtems.org>
* cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
	interface that is supported.

	* cpukit/libcsupport/Makefile.am,
	cpukit/libcsupport/preinstall.am: Remove chain.h header
	references.

	* cpukit/sapi/include/rtems/chain.h,
	cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
	interface.

	* cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
	include the new chains interface.

	* cpukit/libfs/src/imfs/imfs.h,
	cpukit/libfs/src/imfs/imfs_creat.c,
	cpukit/libfs/src/imfs/imfs_debug.c,
	cpukit/libfs/src/imfs/imfs_directory.c,
	cpukit/libfs/src/imfs/imfs_fsunmount.c,
	cpukit/libfs/src/imfs/imfs_getchild.c,
	cpukit/libfs/src/imfs/imfs_load_tar.c,
	cpukit/libfs/src/imfs/imfs_rmnod.c,
	cpukit/libfs/src/imfs/memfile.c,
	cpukit/libfs/src/nfsclient/src/nfs.c,
	cpukit/libcsupport/include/rtems/libio.h,
	cpukit/libcsupport/src/malloc_deferred.c,
	cpukit/libcsupport/src/mount.c,
	cpukit/libcsupport/src/privateenv.c,
	cpukit/libcsupport/src/unmount.c: Change to the new chains
	interface.

	* cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
2008-07-03 01:37:38 +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
Ralf Corsepius
9aacd70290 2008-07-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/thread.h,
	score/src/threaddispatch.c, score/src/threadinitialize.c:
	Support rtems_ada_self iff __RTEMS_ADA__ is given.
2008-07-02 15:29:21 +00:00
Ralf Corsepius
81b329a94f Support rtems_ada_self iff __RTEMS_ADA__ is given. 2008-07-02 15:28:54 +00:00
Joel Sherrill
9a9851dd4a 2008-07-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell_script.c: Remove unused function.
2008-07-02 14:26:24 +00:00
Ralf Corsepius
74cc8edaad 2008-07-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add __RTEMS_ADA__.
2008-07-02 14:18:58 +00:00
Ralf Corsepius
7f5a245dee Add __RTEMS_ADD__ 2008-07-02 14:18:50 +00:00