Commit Graph

8238 Commits

Author SHA1 Message Date
Joel Sherrill
b065ec1c5c 2006-04-24 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>


	PR bsps/972
	* network/Makefile.am: Added Gaisler Research NIC driver.
	* network/greth.c, network/greth.h: New files.
2006-04-24 18:42:38 +00:00
Joel Sherrill
6fa29378a2 Removed misplaced entry. 2006-04-24 18:37:44 +00:00
Joel Sherrill
01540d3691 2006-04-24 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>


	PR bsps/972
	* ChangeLog, Makefile.am, configure.ac, amba/amba.c, clock/ckinit.c,
	console/Makefile.am, console/console.c, console/debugputs.c,
	include/Makefile.am, include/amba.h, include/bsp.h, include/leon.h,
	leon_smc91111/leon_smc91111.c, startup/bspstart.c, timer/timer.c,
	tools/Makefile.am, wrapup/Makefile.am: Added Shared Memory Support
	Driver.  Added Leon Gaisler Research Ethernet support. Enhanced AMBA
	bus support.
	* console/debugprintf.c, console/spacewire.c, include/spacewire.h,
	leon_greth/.cvsignore, leon_greth/Makefile.am,
	leon_greth/leon_greth.c, shmsupp/.cvsignore, shmsupp/Makefile.am,
	shmsupp/addrconv.c, shmsupp/getcfg.c, shmsupp/lock.c,
	shmsupp/mpisr.c: New files.
2006-04-24 18:37:15 +00:00
Joel Sherrill
c2cfcd2835 Fix entry and remove end of include file lines. 2006-04-24 17:03:15 +00:00
Joel Sherrill
cadb5d1641 2006-04-24 Jiri Gaisler <jiri@gaisler.com>
Edvin Catovic <edvin@gaisler.com>


	PR bsps/972
	* ChangeLog, Makefile.am, configure.ac, amba/amba.c, clock/ckinit.c,
	console/Makefile.am, console/console.c, console/debugputs.c,
	include/Makefile.am, include/amba.h, include/bsp.h, include/leon.h,
	leon_smc91111/leon_smc91111.c, startup/bspstart.c, timer/timer.c,
	tools/Makefile.am, wrapup/Makefile.am: Added Shared Memory Support
	Driver.  Added Leon Gaisler Research Ethernet support. Enhanced AMBA
	bus support.
	* console/debugprintf.c, console/spacewire.c, include/spacewire.h,
	leon_greth/.cvsignore, leon_greth/Makefile.am,
	leon_greth/leon_greth.c, shmsupp/.cvsignore, shmsupp/Makefile.am,
	shmsupp/addrconv.c, shmsupp/getcfg.c, shmsupp/lock.c,
	shmsupp/mpisr.c: New files.
2006-04-24 16:58:41 +00:00
Joel Sherrill
4f5a5985a9 2006-04-24 Joel Sherrill <joel@OARcorp.com>
* startup/Makefile.am:
2006-04-24 15:46:10 +00:00
Joel Sherrill
276619872b 2006-04-20 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Fix path on installation to avoid writing
	to install location too early.
2006-04-20 21:12:01 +00:00
Joel Sherrill
d42d899877 Fixed formatting. 2006-04-16 16:00:41 +00:00
Joel Sherrill
ca6df52f0b 2006-03-07 Till Strauman <strauman@slac.stanford.edu>
PR 830/filesystem
	* src/termios.c: termios ioctl(FIONREAD) reported wrong number of
	characters. So add chars in low-level/raw buffer to total count.
2006-03-07 22:22:46 +00:00
Joel Sherrill
ede4f1621a 2006-03-07 Steven Johnson <sjohnson@sakuraindustries.com>
PR 850/rtems
	* src/watchdogtickle.c: A Watchdog (used to timeout an event) with
	a delay of 1 sometimes does not seem to timeout.  The problem
	occurs, because for whatever reason when the watchdog tickle function
	executes, the watchdog->delta_interval is 0. it is then decremented
	before being tested, becomes huge and so doesnt time out.  It is
	thought there is a race condition where the watchdog->delta_interval
	is calculated by reference to a head (also with a delay of 1). But
	before it can be added after the head, the head is removed, so the
	new head now has a delay of 0.
2006-03-07 22:09:49 +00:00
Joel Sherrill
5b07faf305 2006-03-07 Aaron Frye <aaron@frye.com>
PR 719/bsps
	* m68kpretaskinghook.c: The optimizer on gcc 3.4.2 assumes that the
	address of a variable cannot be 0, so it optimizes out any such
	checks. this breaks the shared m68k bsp_pretasking_hook() which uses
	such a check to determine heap size during runtime.
2006-03-07 21:56:45 +00:00
Joel Sherrill
79eb6e21ca 2006-03-07 Paul Whitfield <paulw@omnitronics.com.au>
PR 843/rtems_misc
	* rtems_webserver/socket.c: There is a memory corruption problem in the
	selectSocket function in the web server, this only become apparent if
	you disable the built in memory allocation functions. I have disabled
	the internal memory management to get file upload working.
2006-03-07 21:37:35 +00:00
Joel Sherrill
5b78cd6bc9 2006-03-07 Till Strauman <strauman@slac.stanford.edu>
PR 886/filesystem
	* src/libio.c: fcntl(fd,F_GETFL) fails to set O_NONBLOCK if the
	descriptor is in non-blocking mode.
2006-03-07 21:02:00 +00:00
Joel Sherrill
ec24e12693 2006-03-07 Joel Sherrill <joel@OARcorp.com>
* wrapup/Makefile.am: Correct minor mistake.
2006-03-07 20:50:41 +00:00
Joel Sherrill
3d34e70fc2 2006-03-07 Joel Sherrill <joel@OARcorp.com>
PR 866/rtems
	* include/rtems/system.h, include/rtems/score/isr.h,
	inline/rtems/score/thread.inl, macros/rtems/score/thread.inl: Added
	memory barriers to enter and exit of dispatching and interrupt
	critical sections so GCC will not optimize and reorder code out of a
	critical section.
2006-03-07 20:47:24 +00:00
Joel Sherrill
dda09e3b1e 2006-03-07 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Correct minor mistakes.
2006-03-07 18:17:18 +00:00
Joel Sherrill
d6d628dc25 Formatting 2006-03-01 16:01:30 +00:00
Eric Norum
c9c835cc08 Add "cc" in the clobbered register list for interrupt enable/disable/flash operations. 2006-03-01 15:50:53 +00:00
Joel Sherrill
45a71c9d90 2006-02-08 Thomas Rauscher <trauscher@loytec.com>
PR 890/networking
	* rtems_webserver/webs.c: The webservers enters an infinite loop when a
	POST request with less data than indicated in the Content-Length
	header is received. It also consumes additional heap memory and a
	file descriptor for each invalid POST.
2006-02-08 16:15:09 +00:00
Joel Sherrill
23e7d30803 2006-02-01 Joel Sherrill <joel@OARcorp.com>
PR 855/tests
	* include/tmacros.h: Fix typo.
2006-02-01 19:44:09 +00:00
Ralf Corsepius
36cf8f6753 2006-01-09 Ralf Corsepius <ralf.corsepius@rtems.org>
* custom/erc32nfg.cfg: Correct file having been broken by
	2005-10-05's changes.
2006-01-09 15:05:31 +00:00
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