Commit Graph
1936 Commits
Author SHA1 Message Date
Joel Sherrill 352332193c 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-command.c,
	libmisc/monitor/mon-driver.c, libmisc/monitor/mon-symbols.c,
	libmisc/rtmonuse/rtmonuse.c, libmisc/stackchk/check.c,
	libnetworking/libc/res_debug.c, telnetd/telnetd.c: Remove printf
	format warnings.
2006-08-30 13:53:02 +00:00
Joel Sherrill 48b1e29a7d 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* libcsupport/src/utsname.c, libnetworking/libc/res_debug.c,
	libnetworking/net/if_media.h, libnetworking/rtems/rtems_mii_ioctl.c,
	librpc/src/rpc/svc_simple.c: Remove printf format warnings.
2006-08-30 13:18:40 +00:00
Joel Sherrill 8a1ae878d4 2006-08-29 Joel Sherrill <joel@OARcorp.com>
* libmisc/capture/capture-cli.c: Remove printf format warnings.
2006-08-29 21:55:30 +00:00
Joel Sherrill 0337a9c5e9 2006-08-29 Joel Sherrill <joel@OARcorp.com>
* score/include/rtems/score/object.h: _Objects_Local_node is a uint16_t
	so cast the _Objects_Local_node constant to 1.
2006-08-29 21:54:36 +00:00
Joel Sherrill e197621ce8 2006-08-29 Joel Sherrill <joel@OARcorp.com>
* libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h,
	libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_eval.c,
	libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_free.c,
	libfs/src/dosfs/msdos_fsunmount.c, libfs/src/dosfs/msdos_init.c,
	libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c,
	libfs/src/imfs/imfs_debug.c: Remove warnings.
2006-08-29 19:38:08 +00:00
Till Straumann d5423d834a * libnetworking/net/if_ethersubr.c: (ether_ioctl)
Return error for unknown/unsupported ioctl command.
	(Change merged from freeBSD).
2006-08-22 02:11:32 +00:00
Joel Sherrill 5f88544369 2006-08-15 Joel Sherrill <joel@OARcorp.com>
* libnetworking/kern/kern_sysctl.c: Change int to int32_t.
	* libnetworking/net/if_loop.c: Add cast to long.
	These plus a patch to machine/param.h let the h8300 build multilib.
2006-08-15 11:08:14 +00:00
Till Straumann 8f6c409e41 * libnetworking/rtems/rtems_mii_ioctl_kern.c:
fixed wrong calculation of 1000baseTx autonegotiation
	result.
2006-08-10 22:04:07 +00:00
Joel Sherrill 60eae27dea 2006-08-09 Kolja Waschk <waschk@telos.de>
* configure.ac, librpc/src/xdr/xdr_float.c, score/cpu/Makefile.am: New
	port to Altera NIOS II.
2006-08-09 21:03:27 +00:00
Till Straumann a912777cf5 * libnetworking/rtems/rtems_mii_ioctl_kern.c:
read ANER and include partner's autoneg
	capability when determining active link parameters.
2006-08-09 00:01:55 +00:00
Thomas Doerfler 8eb78a204e added ChangeLog entries for PR1117/1118/1119/1120 2006-07-14 09:52:00 +00:00
Till Straumann 47854a0d16 PR 1110/networking
* libnetworking/machine/in_cksum.h: Replaced PPC and
	i386 assembly algorithms (must not assume carry bit is preserved
	across multiple asms). Added packet header as a 'm' input
	operand for all CPU variants. Added carry bit to clobber list.
2006-07-13 01:27:30 +00:00
Till Straumann 60426fed46 * pppd/sys-rtems.c: fixed error message so that the correct
ioctl is reported.
2006-07-13 00:32:41 +00:00
Joel Sherrill 83df49f697 2006-07-11 Joel Sherrill <joel@OARcorp.com>
PR 1124/rtems
	* score/include/rtems/score/threadq.h, score/src/coremutexseize.c,
	score/src/coremutexsurrender.c, score/src/threadqenqueue.c,
	score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c:
	The placement of the changing a thread's priority when using priority
	ceiling should be on the successful transfer of the mutex -- not when
	the thread tries to acquire. Plus the lack of a dispatch disable
	point lead to the potential for a thread timing out and already
	having inherited the ceiling priority.
2006-07-11 21:05:12 +00:00
Ralf Corsepius bf1cadeb76 2006-06-28 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Add ampolish3.
2006-06-29 09:08:07 +00:00
Ralf Corsepius e0554ceb5b 2006-06-28 Ralf Corsépius <ralf.corsepius@rtems.org>
* ampolish3: New.
	* aclocal/rtems-ampolish.m4: Reflect using in-sourcetree ampolish3.
2006-06-29 07:15:28 +00:00
Ralf Corsepius 1de34b8fc3 2006-06-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/if_var.h: #include <sys/queue.h>.
	Cosmetics from FreeBSD.
2006-06-24 02:57:36 +00:00
Ralf Corsepius b7176bd70c 2006-06-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/cdefs.h: Partial update from freebsd.
2006-06-23 15:33:19 +00:00
Joel Sherrill f3333d1700 PR 1101/rtems
* libcsupport/src/base_fs.c: Remove extra endif.
2006-06-22 22:27:24 +00:00
Joel Sherrill 1d63ebb9b9 2006-06-22 Joel Sherrill <joel@OARcorp.com>
PR 1101/rtems
	* libcsupport/src/base_fs.c, rtems/src/taskcreate.c, rtems/src/tasks.c,
	score/src/coremutex.c: Remove dead code.
2006-06-22 21:56:13 +00:00
Ralf Corsepius 80c2966f4b 2006-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio.h: Add extern "C" {}.
2006-06-18 06:28:22 +00:00
Ralf Corsepius a2eb2f0b43 2006-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/mqueue.c: Remove duplicate #include <limits.h>.
	PR 1088/rtems
	* posix/src/ptimer.c: Add missing #include <limits.h>.
2006-06-18 05:49:03 +00:00
Joel Sherrill 0243b0d8d3 2006-06-08 Joel Sherrill <joel@OARcorp.com>
* posix/Makefile.am, posix/preinstall.am,
	posix/include/rtems/posix/timer.h, posix/src/ptimer.c,
	posix/src/ptimer1.c, sapi/src/posixapi.c,
	score/include/rtems/score/object.h:
2006-06-08 20:47:48 +00:00
Joel Sherrill 3a06b20bb9 Formatting. 2006-06-03 00:34:08 +00:00
Joel Sherrill a761495bb1 2006-06-02 Joel Sherrill <joel@OARcorp.com>
* itron/src/trcv_mbf.c, posix/src/semopen.c,
	rtems/src/taskvariableadd.c, score/macros/rtems/score/heap.inl: Fix
	warnings.
2006-06-03 00:33:10 +00:00
Eric Norum 491d8825c9 Update icps_allecho counter. 2006-05-31 14:52:05 +00:00
Eric Norum 261e743d66 Add flag to inhibit ICMP replies. 2006-05-30 15:12:54 +00:00
Eric Norum be31de713f Provide customisable mbuf allocation.
Patch from Steven Johnson <sjohnson@sakuraindustries.com>
2006-05-25 17:36:31 +00:00
Ralf Corsepius 068cf700ac 2006-05-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-ampolish.m4: New.
	* configure.ac: Use RTEMS_AMPOLISH3.
2006-05-16 14:26:57 +00:00
Eric Norum 2861df2b13 telnetd and capture changes. 2006-04-27 18:40:30 +00:00
Joel Sherrill 84c86f212a 2006-04-18 Joel Sherrill <joel@OARcorp.com>
* aclocal/version.m4: Updated to rtems-4.6.99.3.
2006-04-19 02:55:03 +00:00
Joel Sherrill c5a6717676 2006-04-18 Joel Sherrill <joel@OARcorp.com>
* aclocal/version.m4: Updated to rtems-4.6.99.3.
2006-04-18 21:47:28 +00:00
Joel Sherrill dace614255 Fixed comment. 2006-04-13 13:05:16 +00:00
Joel Sherrill 6654e25ea2 2006-04-13 Joel Sherrill <joel@OARcorp.com>
PR 949/networking
	* libnetworking/sys/socket.h:
2006-04-13 13:03:28 +00:00
Joel Sherrill 0637bb3b01 2006-04-12 Lars Munch <lars@segv.dk>
PR 949/networking
	* libnetworking/sys/socket.h: Make MSG_DONTWAIT public as in GNU/Linux.
2006-04-12 20:59:21 +00:00
Joel Sherrill 5287d3e7e5 2006-04-06 Joel Sherrill <joel@OARcorp.com>
* posix/inline/rtems/posix/mutex.inl,
	posix/inline/rtems/posix/timer.inl,
	posix/macros/rtems/posix/cond.inl,
	posix/macros/rtems/posix/mutex.inl,
	posix/macros/rtems/posix/timer.inl: Fix warnings.
2006-04-07 01:16:55 +00:00
Joel Sherrill 5fbb909775 * score/inline/rtems/score/threadmp.inl,
score/macros/rtems/score/threadmp.inl: Fix compile error.
2006-04-07 01:16:32 +00:00
Joel Sherrill 5250299424 2006-04-05 Joel Sherrill <joel@OARcorp.com>
Victor V. Vengerov <Victor.Vengerov@oktetlabs.ru>

	* score/include/rtems/score/mpci.h,
	score/include/rtems/score/threadmp.h,
	score/inline/rtems/score/threadmp.inl,
	score/macros/rtems/score/threadmp.inl, score/src/threadmp.c,
	score/src/threadqenqueue.c: Victor spotted the problem that
	_MPCI_Receive_server_tcb and _Thread_MP_Receive were duplicate
	variables and needed to be set to the same value.  I took that
	idea and just removed _Thread_MP_Receive.  All uses are now
	_MPCI_Receive_server_tcb.
2006-04-05 20:08:59 +00:00
Eric Norum 03f246fb58 Eliminate undesired sign-extension. 2006-03-27 15:14:07 +00:00
Joel Sherrill 1ff385c214 2006-03-08 Joel Sherrill <joel@OARcorp.com>
PR 761/rtems
	* score/src/threadhandler.c: Add volatile cast so test is weak function
	is present will do something. Otherwise, it can be assume by gcc to
	always be a true condition.
2006-03-08 18:55:45 +00:00
Joel Sherrill 15096905d3 2006-03-08 Joel Sherrill <joel@OARcorp.com>
* itron/macros/rtems/itron/semaphore.inl,
	itron/macros/rtems/itron/task.inl: Fix warnings.
	* posix/macros/rtems/posix/cond.inl: Fix typo.
	* score/macros/rtems/score/heap.inl: Fix missed type change.
2006-03-08 18:53:44 +00:00
Joel Sherrill 27207213de Added PR825 reference. 2006-03-07 22:26:53 +00:00
Joel Sherrill 360d9da616 2006-03-07 Till Strauman <strauman@slac.stanford.edu>
PR 830/filesystem
	* libcsupport/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:23:15 +00:00
Joel Sherrill 77b0a73e14 2006-03-07 Steven Johnson <sjohnson@sakuraindustries.com>
PR 850/rtems
	* score/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:10:35 +00:00
Joel Sherrill 0ebfac198c 2006-03-07 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
PR 852/filesystem
	* libblock/src/bdbuf.c: Increase performance of MSDOS file accesses by
	using a simple read-ahead and write-combining scheme. Improvement is
	dramatic.
2006-03-07 21:26:23 +00:00
Joel Sherrill d3490f2756 2006-03-07 Till Strauman <strauman@slac.stanford.edu>
PR 886/filesystem
	* libcsupport/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:45 +00:00
Joel Sherrill f0ad529d28 2006-03-07 Joel Sherrill <joel@OARcorp.com>
PR 866/rtems
	* score/include/rtems/system.h, score/include/rtems/score/isr.h,
	score/inline/rtems/score/thread.inl,
	score/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:53 +00:00
Joel Sherrill 2eaf499375 2006-02-08 Thomas Rauscher <trauscher@loytec.com>
PR 890/networking
	* httpd/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:16:42 +00:00
Joel Sherrill d2e1d3a39e 2006-02-01 Joel Sherrill <joel@OARcorp.com>
* posix/inline/rtems/posix/cond.inl, posix/macros/rtems/posix/cond.inl,
	posix/src/conddestroy.c: Remove warnings.
2006-02-01 18:57:34 +00:00
Joel Sherrill 11b4e077e9 2006-02-01 Joel Sherrill <joel@OARcorp.com>
* rtems/src/tasks.c, rtems/src/taskvariableadd.c,
	rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c: Remove
	warnings.
2006-02-01 18:39:45 +00:00