Commit Graph

9731 Commits

Author SHA1 Message Date
Joel Sherrill
e9924f9103 2004-07-25 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Add -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ for network.
	* network/ne2000.c: Add include of <sys/errno.h>.
2004-07-25 14:22:46 +00:00
Joel Sherrill
0e5db09193 2004-07-25 Joel Sherrill <joel@OARcorp.com>
* 3c509/3c509.c: Add <sys/errno.h>.
	* startup/linkcmds: Add .jcr section.
2004-07-25 14:21:43 +00:00
Joel Sherrill
a3a214293b 2004-07-24 Mick Davis <mickd@microsol.iinet.net.au>
PR 641/rtems
	* rtems/src/eventsurrender.c: The problem here is that events may be
	lost when sent to a task which enters rtems_event_receive() with options
	set to wait with a timeout and to return on receipt of any event. The
	events are sent from an interrupt source such as a timer service
	routine. If more than one set of events is sent to the task before it
	returns, the first event set may be overwritten.
2004-07-24 17:53:23 +00:00
Joel Sherrill
6b3915257d 2004-07-24 Joel Sherrill <joel@OARcorp.com>
PR 661/rtems
	* score/src/objectmp.c: Fix invalid dereference.
2004-07-24 17:39:14 +00:00
Joel Sherrill
8a4a349ebe 2004-07-24 Joel Sherrill <joel@OARcorp.com>
PR 660/rtems
	* score/cpu/m68k/rtems/score/m68k.h, score/cpu/mips/cpu_asm.S,
	score/src/threadinitialize.c, score/src/threadstackallocate.c: Check
	for overflow when allocating stack.
2004-07-24 17:35:24 +00:00
Joel Sherrill
fff1b2068c 2004-07-24 Joel Sherrill <joel@OARcorp.com>
PR 659/rtems
	* score/src/heapsizeofuserarea.c: Check that address specified is in
	the heap.
2004-07-24 17:25:33 +00:00
Joel Sherrill
d2511905c5 Fix format. 2004-07-24 17:18:46 +00:00
Joel Sherrill
81656fabe5 2004-07-24 Joel Sherrill <joel@OARcorp.com>
PR rtems/652
	* user/signal.t: Return RTEMS_INVALID_NUMBER when sending an empty
	signal set.
2004-07-24 17:10:03 +00:00
Joel Sherrill
69d2e69b5e 2004-07-24 Joel Sherrill <joel@OARcorp.com>
PR rtems/652
	* rtems/src/signalsend.c: Return RTEMS_INVALID_NUMBER when sending an
	empty signal set.
2004-07-24 17:09:42 +00:00
Joel Sherrill
6daca108ea 2004-07-24 Joel Sherrill <joel@OARcorp.com>
* at91rm9200/.cvsignore, mc9328mxl/.cvsignore, shared/.cvsignore:
	New files.
2004-07-24 16:55:51 +00:00
Joel Sherrill
f614c2e4e3 2004-07-24 Joel Sherrill <joel@OARcorp.com>
* .cvsignore: New file.
2004-07-24 16:54:30 +00:00
Jay Monkman
ccaceb02c5 2004-07-15 Jay Monkman
* .cvsignore, ChangeLog, Makefile.am, configure.ac: New files.
2004-07-15 06:27:23 +00:00
Jay Monkman
8824dd7a4f 2004-07-15 Jay Monkman
* ChangeLog, Makefile.am, arm920/mmu.c, include/mmu.h: New files.
2004-07-15 06:26:30 +00:00
Jay Monkman
1cfcfd3cfb 2004-07-15 Jay Monkman
* ChangeLog, Makefile.am, clock/.cvsignore, clock/clockdrv.c,
	include/mc9328mxl.h, irq/.cvsignore, irq/bsp_irq_asm.S,
	irq/bsp_irq_init.c, irq/irq.c, irq/irq.h, timer/.cvsignore,
	timer/timer.c: New files.
2004-07-15 06:25:44 +00:00
Jay Monkman
af854856a8 2004-07-15 Jay Monkman
* ChangeLog, Makefile.am, clock/.cvsignore, clock/clock.c,
	dbgu/.cvsignore, dbgu/dbgu.c, include/at91rm9200.h,
	include/at91rm9200_dbgu.h, include/at91rm9200_emac.h,
	include/at91rm9200_gpio.h, include/at91rm9200_mem.h,
	include/at91rm9200_pmc.h, include/bits.h, irq/.cvsignore,
	irq/bsp_irq_asm.S, irq/bsp_irq_init.c, irq/irq.c, irq/irq.h,
	pmc/pmc.c, timer/.cvsignore, timer/timer.c: New files.
2004-07-15 06:24:14 +00:00
Jay Monkman
3e8f70a5ac 2004-07-15 Jay Monkman
* acinclude.m4: Added csb336 and csb337 BSPs
2004-07-15 06:17:47 +00:00
Jay Monkman
b759b04efa 2004-07-15 Jay Monkman
* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
	times, console/uarts.c, include/.cvsignore, include/bsp.h,
	include/tm27.h, network/.cvsignore, network/network.c,
	start/.cvsignore, start/start.S, startup/.cvsignore,
	startup/bspstart.c, startup/exit.c, startup/linkcmds,
	startup/memmap.c: New files.
2004-07-15 06:16:16 +00:00
Jay Monkman
a2c617109d 2004-07-15 Jay Monkman
* console/.cvsignore, include/.cvsignore, network/.cvsignore,
	start/.cvsignore, startup/.cvsignore: New files.
2004-07-15 06:13:02 +00:00
Jay Monkman
1a3d1f3e80 2004-07-15 Jay Monkman
* ChangeLog, Makefile.am, README, bsp_specs, configure.ac, times,
	console/uart.c, include/bsp.h, include/tm27.h, network/lan91c11x.c,
	network/lan91c11x.h, network/network.c, start/start.S,
	startup/bspstart.c, startup/exit.c, startup/linkcmds,
	startup/memmap.c: New files.
2004-07-15 06:12:05 +00:00
Jay Monkman
7f2783811a 2004-07-15 Jay Monkman
* custom/csb336.cfg, custom/csb337.cfg: New files.
2004-07-15 06:07:34 +00:00
Jay Monkman
ef6d69c340 2004-07-14 Jay Monkman
* MAINTAINERS: Added Jay Monkman as ARM architecture maintainer
2004-07-15 03:11:25 +00:00
Joel Sherrill
9b63fbf867 2004-07-14 Joel Sherrill <joel@OARcorp.com>
PR 650/rtems
	* score/src/coremsg.c: Check for mathemathical overflow when calculating
	amount of memory to allocate for message buffers.
2004-07-14 21:05:15 +00:00
Joel Sherrill
a0f29ca4fd 2004-07-14 Joel Sherrill <joel@OARcorp.com>
PR 651/core
	* rtems/src/taskident.c: Add NULL check for id.
2004-07-14 14:32:06 +00:00
Joel Sherrill
9120e88c26 2004-06-29 Joel Sherrill <joel@OARcorp.com>
PR 631/rtems
	* rtems/src/msgqcreate.c: Return unsatisfied from message_queue_create
	when unable to allocate message buffer memory.
2004-06-29 13:56:00 +00:00
Joel Sherrill
d3b7d98a20 2004-06-29 Joel Sherrill <joel@OARcorp.com>
PR 631/rtems
	* user/msg.t: Document the return status from message_queue_create when
	unable to allocate message buffer memory.
2004-06-29 13:53:29 +00:00
Ralf Corsepius
e57816b977 Import from zlib-1.2.5 2004-05-31 04:00:00 +00:00
Ralf Corsepius
ff968e0ff6 This commit was generated by cvs2svn to compensate for changes in r10559,
which included commits to RCS files with non-trunk default branches.
2004-05-31 04:00:00 +00:00
Joel Sherrill
0a0961cf59 2004-05-23 Joel Sherrill <joel@OARcorp.com>
* gcc3newlib/gccnewlib.add: gcc 3.4.0 is broken for embedded SPARC and
	Ada. Until we can fix it, it is disabled.
2004-05-24 03:02:05 +00:00
Joel Sherrill
1ef71afff6 2004-05-23 Joel Sherrill <joel@OARcorp.com>
* gcc3newlib/target-gnat.add: Fix path to gnat1.
2004-05-24 03:00:52 +00:00
Joel Sherrill
96e5865d90 2004-05-22 Joel Sherrill <joel@OARcorp.com>
PR 615/bsps
	* include/tm27.h: Removing USE_ENHANCE_INTR_API conditional check since
	that is the only kind this BSP supports and tm27 does not care which
	interrupt model is used as long as the macros are properly defined.
2004-05-23 02:56:41 +00:00
Joel Sherrill
c984fb32fc 2004-05-22 Till Strauman <strauman@slac.stanford.edu>
PR 619/bsps
	* mpc6xx/clock/c_clock.c: The PPC decrementer must be reloaded on each
	clock tick. Currently, this is done by just reloading a fixed value.
	The attached patch takes into account the time that elapsed since the
	decrementer crossed zero in order to adjust the value to be
	re-loaded. Without the patch, the effective system clock cycle is
	increased by the exception handler latency.
2004-05-22 15:14:31 +00:00
Joel Sherrill
138aa38dea 2004-05-21 Joel Sherrill <joel@OARcorp.com>
PR 628/rtems
	* posix/src/killinfo.c, posix/src/pthreadkill.c, posix/src/ptimer1.c,
	posix/src/sigaction.c, posix/src/sigaddset.c, posix/src/sigsuspend.c:
	Signal set of 0 is supposed to return EINVAL.  In addition
	timer_create needed to return an error if the clock was not
	CLOCK_REALTIME.
2004-05-21 20:19:33 +00:00
Joel Sherrill
58accdd083 2004-05-21 Joel Sherrill <joel@OARcorp.com>
PR 629/rtems
	* cpukit/src/mqueuecreatesupp.c: Return EINVAL is mq_maxmsg is
	<= 0, not <.
2004-05-21 20:11:48 +00:00
Joel Sherrill
34d934a8f0 2004-05-21 Joel Sherrill <joel@OARcorp.com>
PR 627/doc
	* user/task.t: Behavior documented for an rtems_task_create with
	stacksize < minimum was not the implemented behavior.
2004-05-21 16:04:47 +00:00
Joel Sherrill
fdcfca01a5 2004-05-21 Till Strauman <strauman@slac.stanford.edu>
* PR 624/bsps
	startup/bspstart.c: When probing the memory, make sure not to
	corrupt the application. Only probe addresses beyond rtemsFreeMemStart.
	* Let IBMPC_outch() convert LF -> CRLF to avoid printk scrambling
	the screen.
2004-05-21 15:30:30 +00:00
Joel Sherrill
4dbbcb7143 Fix formatting so script sees PR. 2004-05-21 15:21:22 +00:00
Joel Sherrill
1402d56abf 2004-05-21 Till Strauman <strauman@slac.stanford.edu>
* PR/625/networking
	* libchip/network/dec21140.c, ... : Prevent name clashes by making
	'ld_le32()' etc.  static inlines.  Let dec21140 attach routine return
	an error rather than panic if no chip is detected (thus allowing
	for probing).
	* libchip/network/elnk.c: Let elnk bail out if autoneg never completes
	instead of looping forever.  Avoid divide by zero (crashed my PC).
	* libchip/network/if_fxp.c: Enable more fxp chip variants but warn that
	they are UNTESTED.
2004-05-21 15:18:14 +00:00
Joel Sherrill
e649222402 2004-05-21 Till Strauman <strauman@slac.stanford.edu>
PR 626/networking
	* libnetworking/rtems/rtems_showifstat.c: Use unsigned char to avoid
	printing leading FFFFFF for byte values > 127.
2004-05-21 15:02:17 +00:00
Joel Sherrill
26e064ec52 2004-05-21 Joel Sherrill <joel@OARcorp.com>
* network/network.c: Include errno.h as a consequence of recent updates
	to BSD header files.
2004-05-21 14:23:59 +00:00
Joel Sherrill
a14e350af0 2004-05-21 Joel Sherrill <joel@OARcorp.com>
* ne2000/ne2000.c, wd8003/wd8003.c: Include errno.h as a consequence of
	recent updates to BSD header files.
2004-05-21 14:23:15 +00:00
Ralf Corsepius
92166f37ac 2004-05-18 Ralf Corsepius <ralf_corsepius@rtems.org>
* binutils/Makefile.am: Add sh-rtemscoff.
	Remove sh-rtemself.
	* binutils/binutils.add: BuildRequires flex.
	* autotools/automake-rtems.spec.in: Automake 1.8.5.
2004-05-18 09:42:36 +00:00
Ralf Corsepius
51ca358ac7 2004-05-10 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Add CXX-checks. New conditionals CXXTESTS, MPTESTS,
	NETTESTS. Add iostream/.
	* Makefile.am, base_mp/node1/Makefile.am, base_mp/node2/Makefile.am
	cdtest/Makefile.am, loopback/Makefile.am, pppd/Makefile.am:
	Reflect changes above.
	* cdtest/main.cc: Adaptation to new C++ standards.
2004-05-10 16:02:11 +00:00
Ralf Corsepius
e12ba0e4f0 2004-05-10 Ralf Corsepius <ralf_corsepius@rtems.org>
* iostream/Makefile.am, iostream/init.cc, iostream/iostream.doc,
	iostream/iostream.scn, iostream/system.h:
	New (C++ variant of hello).
2004-05-10 15:59:59 +00:00
Ralf Corsepius
1eaf0fda9e 2004-05-10 Ralf Corsepius <ralf_corsepius@rtems.org>
* aclocal/check-cxx.m4: Remove CPLUS_LD_LIBS.
2004-05-10 04:24:50 +00:00
Joel Sherrill
f8892c9bdb 2004-05-06 Joel Sherrill <joel@OARcorp.com>
PR 618/rtems
	* user/clock.t, user/dpmem.t, user/event.t, user/msg.t, user/part.t,
	user/region.t, user/sem.t, user/task.t, user/timer.t: Add NULL
	checks.
2004-05-06 19:21:50 +00:00
Joel Sherrill
e980b21979 2004-05-06 Joel Sherrill <joel@OARcorp.com>
PR 618/rtems
	* rtems/include/rtems/rtems/status.h, rtems/src/clockget.c,
	rtems/src/clockset.c, rtems/src/dpmemcreate.c,
	rtems/src/dpmemexternal2internal.c,
	rtems/src/dpmeminternal2external.c, rtems/src/eventmp.c,
	rtems/src/eventreceive.c, rtems/src/eventsend.c,
	rtems/src/msgqbroadcast.c, rtems/src/msgqcreate.c,
	rtems/src/msgqflush.c, rtems/src/msgqgetnumberpending.c,
	rtems/src/msgqreceive.c, rtems/src/msgqsubmit.c,
	rtems/src/partcreate.c, rtems/src/partdelete.c,
	rtems/src/partgetbuffer.c, rtems/src/ratemoncancel.c,
	rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
	rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
	rtems/src/ratemonperiod.c, rtems/src/regioncreate.c,
	rtems/src/regiondelete.c, rtems/src/regionextend.c,
	rtems/src/regiongetsegment.c, rtems/src/regiongetsegmentsize.c,
	rtems/src/regionreturnsegment.c, rtems/src/semcreate.c,
	rtems/src/semdelete.c, rtems/src/semflush.c, rtems/src/semident.c,
	rtems/src/taskcreate.c, rtems/src/taskgetnote.c,
	rtems/src/taskmode.c, rtems/src/taskrestart.c,
	rtems/src/taskresume.c, rtems/src/tasksetnote.c,
	rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
	rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
	rtems/src/taskwakewhen.c, rtems/src/timercreate.c,
	rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
	rtems/src/timerfirewhen.c, rtems/src/timerserverfireafter.c,
	rtems/src/timerserverfirewhen.c, score/include/rtems/score/object.h,
	score/src/coretodvalidate.c, score/src/objectnametoid.c: Add NULL
	checks.
2004-05-06 19:21:40 +00:00
Joel Sherrill
ca66d010e5 2004-04-30 Joel Sherrill <joel@OARcorp.com>
* libnetworking/kern/kern_sysctl.c: sysctl_register_all cannot be
	static with RTEMS.
2004-04-30 16:20:36 +00:00
Ralf Corsepius
50c0d1ff00 2004-04-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* libnetworking/netinet/in.c: Partial update from FreeBSD.
2004-04-30 12:44:07 +00:00
Ralf Corsepius
a99bf0a70d 2004-04-29 Ralf Corsepius <ralf_corsepius@rtems.org>
* gcc3newlib/gccnewlib.add: Another attempt to make *info.gz
	handling more robust.
2004-04-29 15:20:24 +00:00
Ralf Corsepius
43158ce31e 2004-04-26 Ralf Corsepius <ralf_corsepius@rtems.org>
* libnetworking/kern/kern_sysctl.c: Partial updates from FreeBSD.
2004-04-26 11:59:48 +00:00