Commit Graph

8217 Commits

Author SHA1 Message Date
Till Straumann
491b62fdcb 2005-12-09 Till Straumann <strauman@slac.stanford.edu>
PR 849/networking
    * librpc/src/rpc/rtems_portmapper.c: Increased stack size
    by ARGSIZE to prevent overrun.
2005-12-09 22:47:48 +00:00
Till Straumann
dad43ef2eb 2005-11-08 Till Straumann <strauman@slac.stanford.edu>
PR 845/bsps
	* startup/bspstart.c, start/start.S: setup BATs prior to attempting any
	device access - missing BAT mappings were probably the reason for the
	MMU malfunction assumption. Enabled MSR_DR.
2005-11-09 03:20:13 +00:00
Till Straumann
165527795f 2005-11-08 Till Straumann <strauman@slac.stanford.edu>
PR 837/bsps
	make sure exceptions_in_RAM flag is set prior to initializing exception
	handling. Keep MCP disabled for memory probes :-( (the raven would
	otherwise fault on PCI config space access to empty slots).
2005-11-09 02:44:16 +00:00
Till Straumann
be1ab03a92 2005-11-08 Till Straumann <strauman@slac.stanford.edu>
PR832/bsps
	* pci/pcibios.c: replace BSP_pciFindDevice implementation by pcibios
	call.
2005-11-08 18:53:50 +00:00
Till Straumann
4d790ba43e 2005-11-08 Till Straumann <strauman@slac.stanford.edu>
PR832/bsps
	* startup/ldsegs.S: move CPU segment descriptor tables from .text to
	.data; the CPU modifies the descriptor tables and this could be a
	problem: a) if text segment is ever write-protected b) rtems-gdb-stub
	checksums the text segment against the file gdb is using. A checksum
	mismatch results because of the CPU touching the accessed bit...
2005-11-08 18:52:00 +00:00
Till Straumann
7a7ddeb0af 2005-11-07 Till Straumann <strauman@slac.stanford.edu>
PR 834/bsps
	* vectors/vectors.S: reload stack pointer/R1 from exception frame
    instead of adding static offset.
2005-11-08 03:42:13 +00:00
Joel Sherrill
2d1119e7ed 2005-10-06 Joel Sherrill <joel@OARcorp.com>
* VERSION: Updated to rtems-4.6.5.
4.6.5
2005-10-06 19:43:30 +00:00
Joel Sherrill
a5222eeff9 2005-10-06 Joel Sherrill <joel@OARcorp.com>
* aclocal/version.m4: Updated to rtems-4.6.5.
2005-10-06 19:43:29 +00:00
Joel Sherrill
5d6e54d08b 2005-10-06 Till Straumann <strauman@slac.stanford.edu>
PR 833/bsps
	* irq/irq_asm.S: Currently, all (new exception) BSPs explicitely enable
	the FPU across the user ISR but DONT save/restore the FPU context.
	Any use of the FPU fron the user handler (e.g., due to GCC
	optimizations) result in corruption. The fix results in an exception
	in such cases (user ISR must explicitely save/enable/restore FPU).
2005-10-06 19:36:09 +00:00
Joel Sherrill
6fa59698c7 2005-10-06 Joel Sherrill <joel@OARcorp.com>
* custom/leon3.cfg: New file.
2005-10-06 16:52:18 +00:00
Joel Sherrill
cdd0fc8a89 2005-10-06 Joel Sherrill <joel@OARcorp.com>
* ChangeLog, Makefile.am: Fix hard-coded reference to leon BSP and use
	generated path. Remove ChangeLog entries copied from erc32.
2005-10-06 16:51:37 +00:00
Joel Sherrill
ae557d1abb 2005-10-06 Joel Sherrill <joel@OARcorp.com>
PR 828/filesystems
	* src/dosfs/msdos_misc.c: Problem retracted. Revert patch.
2005-10-06 12:10:58 +00:00
Joel Sherrill
37f094158b 2005-10-06 Joel Sherrill <joel@OARcorp.com>
* include/bsp.h: Remove include of libchip/smc91111exp.h from bsp.h
	since it is not available when networking is disabled.
2005-10-06 12:08:15 +00:00
Joel Sherrill
aba5ed401e 2005-10-05 Joel Sherrill <joel@OARcorp.com>
* ChangeLog, Makefile.am: Fix hard-coded reference to leon BSP and use
	generated path. Remove ChangeLog entries copied from erc32.
2005-10-05 23:02:08 +00:00
Joel Sherrill
7a92e3ddc3 2005-10-05 Joel Sherrill <joel@OARcorp.com>
* amba/amba.c: Fix obvious typo introduced with addition of missing CVS
	Ids.
2005-10-05 22:34:50 +00:00
Joel Sherrill
eefbe35533 2005-10-05 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>
            Konrad Eisele <konrad@gaisler.com>

	PR 827/bsps
	* aclocal/bsp-alias.m4, aclocal/check-bsps.m4: Portion of large update
	of SPARC BSPs. Includes addition of sis, leon2 and leon3 BSPs,
	deletion of leon BSP, addition of SMC91111 NIC driver and much more.
2005-10-05 19:31:20 +00:00
Joel Sherrill
59d55753a8 2005-10-05 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>
            Konrad Eisele <konrad@gaisler.com>

	PR 827/bsps
	* ChangeLog, cpu.c, cpu_asm.S, rtems/score/cpu.h: Portion of large
	update of SPARC BSPs. Includes addition of sis, leon2 and leon3 BSPs,
	deletion of leon BSP, addition of SMC91111 NIC driver and much more.
2005-10-05 19:30:18 +00:00
Joel Sherrill
3ffa814199 2005-10-05 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>
            Konrad Eisele <konrad@gaisler.com>

	PR 827/bsps
	* network/Makefile.am, network/open_eth.c, network/open_eth.h: Portion
	of large update of SPARC BSPs. Includes addition of sis, leon2 and
	leon3 BSPs, deletion of leon BSP, addition of SMC91111 NIC driver and
	much more.
	* network/README.smc91111, network/smc91111.c, network/smc91111.h,
	network/smc91111config.h, network/smc91111exp.h: New files.
2005-10-05 19:29:23 +00:00
Joel Sherrill
774515b753 2005-10-05 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>
            Konrad Eisele <konrad@gaisler.com>

	PR 827/bsps
	* .cvsignore, acinclude.m4: Portion of large update of SPARC BSPs.
	Includes addition of sis, leon2 and leon3 BSPs, deletion of leon BSP,
	addition of SMC91111 NIC driver and much more.
	* leon/.cvsignore, leon/ChangeLog, leon/Makefile.am, leon/README,
	leon/bsp_specs, leon/configure.ac, leon/times, leon/clock/.cvsignore,
	leon/clock/Makefile.am, leon/clock/ckinit.c, leon/console/.cvsignore,
	leon/console/Makefile.am, leon/console/console.c,
	leon/console/consolereserveresources.c, leon/console/debugputs.c,
	leon/gnatsupp/.cvsignore, leon/gnatsupp/Makefile.am,
	leon/gnatsupp/gnatsupp.c, leon/include/.cvsignore,
	leon/include/Makefile.am, leon/include/bsp.h, leon/include/coverhd.h,
	leon/include/leon.h, leon/leon_open_eth/.cvsignore,
	leon/leon_open_eth/Makefile.am, leon/leon_open_eth/leon_open_eth.c,
	leon/start/.cvsignore, leon/start/Makefile.am,
	leon/startup/.cvsignore, leon/startup/Makefile.am,
	leon/startup/boardinit.S, leon/startup/linkcmds,
	leon/startup/setvec.c, leon/startup/spurious.c,
	leon/timer/.cvsignore, leon/timer/Makefile.am, leon/timer/timer.c,
	leon/tools/.cvsignore, leon/tools/ChangeLog, leon/tools/Makefile.am,
	leon/tools/configure.ac, leon/tools/runtest.in,
	leon/wrapup/.cvsignore, leon/wrapup/Makefile.am: Removed.
2005-10-05 19:26:31 +00:00
Joel Sherrill
1348869fbb 2005-10-05 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>
            Konrad Eisele <konrad@gaisler.com>

	PR 827/bsps
	* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
	times, amba/.cvsignore, amba/Makefile.am, amba/amba.c,
	clock/.cvsignore, clock/Makefile.am, clock/ckinit.c,
	console/.cvsignore, console/Makefile.am, console/console.c,
	console/consolereserveresources.c, console/debugputs.c,
	gnatsupp/.cvsignore, gnatsupp/Makefile.am, gnatsupp/gnatsupp.c,
	include/.cvsignore, include/Makefile.am, include/amba.h,
	include/bsp.h, include/coverhd.h, include/leon.h,
	leon_open_eth/.cvsignore, leon_open_eth/Makefile.am,
	leon_open_eth/leon_open_eth.c, leon_smc91111/.cvsignore,
	leon_smc91111/Makefile.am, leon_smc91111/leon_smc91111.c,
	start/.cvsignore, start/Makefile.am, startup/.cvsignore,
	startup/Makefile.am, startup/bspstart.c, startup/ithread.S,
	startup/linkcmds, startup/setvec.c, startup/spurious.c,
	timer/.cvsignore, timer/Makefile.am, timer/timer.c, tools/.cvsignore,
	tools/ChangeLog, tools/Makefile.am, tools/configure.ac,
	tools/runtest.in, wrapup/.cvsignore, wrapup/Makefile.am: New files.
2005-10-05 19:26:00 +00:00
Joel Sherrill
d2a30c77f5 2005-10-05 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>
            Konrad Eisele <konrad@gaisler.com>

	PR 827/bsps
	* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
	times, clock/.cvsignore, clock/Makefile.am, clock/ckinit.c,
	console/.cvsignore, console/Makefile.am, console/console.c,
	console/consolereserveresources.c, console/debugputs.c,
	gnatsupp/.cvsignore, gnatsupp/Makefile.am, gnatsupp/gnatsupp.c,
	include/.cvsignore, include/Makefile.am, include/bsp.h,
	include/coverhd.h, include/leon.h, leon_open_eth/.cvsignore,
	leon_open_eth/Makefile.am, leon_open_eth/leon_open_eth.c,
	leon_smc91111/.cvsignore, leon_smc91111/Makefile.am,
	leon_smc91111/leon_smc91111.c, start/.cvsignore, start/Makefile.am,
	startup/.cvsignore, startup/Makefile.am, startup/linkcmds,
	startup/setvec.c, startup/spurious.c, timer/.cvsignore,
	timer/Makefile.am, timer/timer.c, tools/.cvsignore, tools/ChangeLog,
	tools/Makefile.am, tools/configure.ac, tools/runtest.in,
	wrapup/.cvsignore, wrapup/Makefile.am: New files.
2005-10-05 19:25:45 +00:00
Joel Sherrill
73c2d237de 2005-10-05 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>
            Konrad Eisele <konrad@gaisler.com>

	PR 827/bsps
	* ChangeLog, configure.ac, console/Makefile.am, console/console.c,
	console/debugputs.c, startup/Makefile.am, startup/linkcmds,
	tools/Makefile.am: Portion of large update of SPARC BSPs. Includes
	addition of sis, leon2 and leon3 BSPs, deletion of leon BSP, addition
	of SMC91111 NIC driver and much more.
2005-10-05 19:25:07 +00:00
Joel Sherrill
d490fff3c1 2005-10-05 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>
            Konrad Eisele <konrad@gaisler.com>

	PR 827/bsps
	* Makefile.am, bspstart.c, gnatcommon.c, start.S: Portion of large
	update of SPARC BSPs. Includes addition of sis, leon2 and leon3 BSPs,
	deletion of leon BSP, addition of SMC91111 NIC driver and much more.
2005-10-05 19:24:48 +00:00
Joel Sherrill
e75e10dcac 2005-10-05 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>
            Konrad Eisele <konrad@gaisler.com>

	PR 827/bsps
	* custom/Makefile.am, custom/erc32.cfg, custom/erc32nfp.cfg,
	custom/leon1.cfg, custom/leon2.cfg: Portion of large update of SPARC
	BSPs. Includes addition of sis, leon2 and leon3 BSPs, deletion of
	leon BSP, addition of SMC91111 NIC driver and much more.
	* custom/sis.cfg: New file.
2005-10-05 19:24:00 +00:00
Joel Sherrill
fb573a71f1 2005-08-23 Karel Gardas <kgardas@objectsecurity.com>>
* timer/timer.c: Enhance to use either interupt-based timer
	functions on older CPUs or to use TSC-based timer functions on
	more recent (Pentium and above) CPUs. The decision is made in
	Timer_initialize function when it is called for the first time
	based on a result obtained from cpuid instruction during the BSP
	initialization phase. During the first call, there are also late
	bindings to the implementation functions initialized to
	appropriate values.
2005-10-05 02:39:35 +00:00
Joel Sherrill
24b6d2f9a8 2005-09-12 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 527/bsps
	PR 822/bsps
	* mpc8xx/clock/clock.c: Currently the MBX8xx BSP does not boot,
	because some logical errors are in the startup code. Additionally,
	the mpc8xx shared clock driver does not support the clocking scheme
	of some of the board variants, which are clocked from a
	32768Hz (!) external crystal.
2005-10-05 02:34:17 +00:00
Joel Sherrill
a3b4632866 2005-10-04 Till Straumann <strauman@slac.stanford.edu>
PR 829/rtems
	* src/tasks.c, src/taskvariabledelete.c: If task variables are deleted
	from a different context (i.e., executing context != owner of the
	task variable. The owner meaning the task that registered the dtor in
	question) the argument passed to the task variable dtor must be tvar
	and not *ptr which yields the executing task's value of the task
	variable instead of the owner's.
2005-10-04 21:53:58 +00:00
Joel Sherrill
dc4bd19dfa Removed blank line. 2005-09-29 12:09:08 +00:00
Thomas Doerfler
3741506c42 2005-09-29 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR649/filesystem
	* ide/idecfg.c, configure.ac:
	added configuration items for primary/secondary
2005-09-29 11:50:47 +00:00
Joel Sherrill
8747cac1e3 Added reference to PR527. 2005-09-12 13:38:18 +00:00
Joel Sherrill
5a5af8c1a1 2005-09-12 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 822/bsps
	* console/console.c, startup/bspstart.c, startup/imbx8xx.c,
	startup/mmutlbtab.c, startup/start.S, vectors/vectors_init.c:
	Currently the MBX8xx BSP does not boot, because some logical errors
	are in the startup code. Additionally, the mpc8xx shared clock driver
	does not support the clocking scheme of some of the board variants,
	which are clocked from a 32768Hz (!) external crystal.
2005-09-12 13:28:24 +00:00
Joel Sherrill
21a6137140 2005-09-12 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 822/bsps
	* custom/mbx860_001b.cfg: New file.
2005-09-12 13:27:39 +00:00
Joel Sherrill
52adbd42e5 2005-09-09 Joel Sherrill <joel@OARcorp.com>
PR 577/bsps
	* console.c: Make the previously committed patch for this PR compile.
2005-09-09 11:19:25 +00:00
Joel Sherrill
d7bf841a96 2005-09-01 Joel Sherrill <joel@OARcorp.com>
* VERSION: Updated to rtems-4.6.4.
4.6.4
2005-09-01 17:18:50 +00:00
Joel Sherrill
58cfecc76a 2005-09-01 Joel Sherrill <joel@OARcorp.com>
* aclocal/version.m4: Updated to rtems-4.6.4.
2005-09-01 17:18:49 +00:00
Joel Sherrill
0bb4dd0337 2005-09-01 Joel Sherrill <joel@OARcorp.com>
PR 820/rtems
	* inline/rtems/score/coremsg.inl, macros/rtems/score/coremsg.inl,
	src/coremsginsert.c: Increment of pending message count should be
	atomic with insertion on the pending message chain. Determination of
	the need to call the notification handler should also be in this
	atomic section of code.
2005-09-01 16:31:22 +00:00
Joel Sherrill
feedcdc65f 2005-09-01 Joel Sherrill <joel@OARcorp.com>
PR 628/rtems
	* psx04/init.c, psx04/psx04.scn: Update tests to reflect a signal of 0
	being an error.
2005-09-01 16:14:17 +00:00
Joel Sherrill
3c838f1ac8 2005-09-01 Joel Sherrill <joel@OARcorp.com>
PR 796/rtems
	* src/semtimedwait.c: sem_timedwait is supposed to use absolute time
	for timeout specification. This patch is a modified version of the
	one suggested by Peter Dufault.
2005-09-01 14:46:02 +00:00
Joel Sherrill
45a32542db 2005-09-01 Joel Sherrill <joel@OARcorp.com>
PR 350/make_build
	* compilers/gcc-target-default.cfg: Honor LD_PATHS set by user.
2005-09-01 13:39:14 +00:00
Joel Sherrill
f54bc05285 2005-09-01 Nuno Costa <nuno-costa@iol.pt>
PR 804
	* include/confdefs.h: Memory for POSIX timers not accounted for. Patch
	adapted from edit comment in PR filed.
2005-09-01 13:27:02 +00:00
Joel Sherrill
fd06f6c0d4 2005-09-01 Joel Sherrill <joel@OARcorp.com>
* include/bsp.h: This file is only to be used by BSPs with the new
	interrupt API so checking for USE_ENHANCED_INTR_API is not needed.
2005-09-01 13:22:18 +00:00
Joel Sherrill
cc2efb6012 2005-09-01 Joel Sherrill <joel@OARcorp.com>
* clock/Makefile.am, include/Makefile.am: Install tod.h
2005-09-01 13:20:47 +00:00
Ralf Corsepius
82973a283f 2005-08-31 Ralf Corsepius <ralf.corsepius@rtems.org>
PR 819/filesystem
        * src/ttyname_r.c: Remove.
        * src/ttyname.c: Partial update from FreeBSD.
        * Makefile.am: Reflect changes above.
2005-08-31 04:34:58 +00:00
Joel Sherrill
4a4c78d97f 2005-08-19 Cedric Aubert <cedric_aubert@yahoo.fr>
PR 577/bsps
	* console.c: The console_close() method currently calls StopRemoteTx()
	on all invocations. It should should be ok for last close only but
	not for any others. If you open a port multiple times, you only want
	to call StopRemoteTx() only as part of the last close.
2005-08-19 16:20:00 +00:00
Joel Sherrill
3d7d233c03 2005-08-18 Andrew Sinclair <Andrew.Sinclair@elprotech.com>
PR 807/rtems
	* src/timerfireafter.c, src/timerserverfireafter.c: First patch
	returned without exitting dispatching critical section.
2005-08-18 13:39:00 +00:00
Joel Sherrill
ecfdafc62e 2005-08-17 Nuno Costa <nuno-costa@iol.pt>
PR 805/rtems
	* include/rtems/posix/timer.h: Due to bad choice of error constants by
	original submitter, it was impossible to create more than 10 POSIX
	timers.
2005-08-17 22:56:30 +00:00
Joel Sherrill
f45e8840c8 2005-08-17 Andrew Sinclair <Andrew.Sinclair@elprotech.com>
PR 807/rtems
	* rtems/src/timerfireafter.c, rtems/src/timerserverfireafter.c,
	score/src/watchdoginsert.c: Tighten critical section checks on an ISR
	using the same timer being inserted by a lower priority ISR or
	interupt task.
2005-08-17 22:50:30 +00:00
Joel Sherrill
5978038f77 2005-08-17 Nickolay Semyonov <snob@oktetlabs.ru>
PR 744/filesystem
	* libcsupport/src/unlink.c, libfs/src/dosfs/msdos_eval.c: DOSFS did not
	support permissions on directories so the check performed by unlink
	would always fail. The unlink code was modified to support a not
	supported status being returned.
2005-08-17 19:17:37 +00:00
Joel Sherrill
5c12a265fa 2005-08-12 Chris Johns <chrisj@rtems.org>
PR 808/rtems_misc
	* src/printk.c: Fix bug where specifying field width crashed on pc386
	BSP.
2005-08-12 23:55:14 +00:00
Joel Sherrill
3424a93ace 2005-08-12 Phil Torre <ptorre@zetron.com>
PR 816/bsps
	* mpc8xx/include/mpc8xx.h: The struct which describes SCC Ethernet mode
	parameters (m8xxSCCENparms_t) does not match the hardware: members
	taddr_h and taddr_l are transposed. When loading new multicast group
	addresses into the hash table, the wrong hash bit is set.
2005-08-12 23:44:55 +00:00