Commit Graph

719 Commits

Author SHA1 Message Date
Joel Sherrill
5112ff5a88 2006-10-25 Jennifer Averett <jennifer@oarcorp.com>
* libcsupport/src/termios.c: Change attribute of semaphore. It was
	counting interrupts not acting as a condition synchronization mutex.
	Since the caller did not always need to obtain the semaphore, it was
	not being decremented until there was no data. This could occur after
	hours of running a system and thousands of interrupts. The code in
	fillBufferQueue would spin until it had consumed all of those
	semaphore counts.
2006-10-25 11:28:08 +00:00
Joel Sherrill
b78d94debd 2006-10-23 Joel Sherrill <joel@OARcorp.com>
* configure.ac, score/cpu/Makefile.am: Add bfin.
2006-10-23 19:39:51 +00:00
Ralf Corsepius
be8dd107c2 2006-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/enable-inlines.m4, aclocal/prog-gnat.m4: Remove (Unused).
2006-10-21 05:56:42 +00:00
Joel Sherrill
cbeebc061f 2006-10-19 Joel Sherrill <joel@OARcorp.com>
* score/Makefile.am, score/preinstall.am: Add pieces missed in previous
	commit.
2006-10-19 20:30:47 +00:00
Joel Sherrill
04dba496a6 2006-10-19 Joel Sherrill <joel@OARcorp.com>
* configure.ac, itron/Makefile.am, itron/preinstall.am,
	posix/Makefile.am, posix/preinstall.am, rtems/Makefile.am,
	rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
	score/Makefile.am, score/preinstall.am, score/include/rtems/system.h,
	score/include/rtems/score/chain.h,
	score/include/rtems/score/thread.h, score/src/chain.c,
	score/src/coremutexseize.c, score/src/threadget.c: Remove all macro
	implementations and use only the static inline. Static inline
	functions are now well supported so there is no reason for duplicate
	maintenance.
	* itron/macros/rtems/itron/eventflags.inl,
	itron/macros/rtems/itron/fmempool.inl,
	itron/macros/rtems/itron/intr.inl, itron/macros/rtems/itron/mbox.inl,
	itron/macros/rtems/itron/msgbuffer.inl,
	itron/macros/rtems/itron/network.inl,
	itron/macros/rtems/itron/port.inl,
	itron/macros/rtems/itron/semaphore.inl,
	itron/macros/rtems/itron/sysmgmt.inl,
	itron/macros/rtems/itron/task.inl, itron/macros/rtems/itron/time.inl,
	itron/macros/rtems/itron/vmempool.inl,
	posix/macros/rtems/posix/cond.inl, posix/macros/rtems/posix/key.inl,
	posix/macros/rtems/posix/mqueue.inl,
	posix/macros/rtems/posix/mutex.inl,
	posix/macros/rtems/posix/priority.inl,
	posix/macros/rtems/posix/pthread.inl,
	posix/macros/rtems/posix/semaphore.inl,
	posix/macros/rtems/posix/timer.inl, rtems/macros/rtems/rtems/asr.inl,
	rtems/macros/rtems/rtems/attr.inl,
	rtems/macros/rtems/rtems/barrier.inl,
	rtems/macros/rtems/rtems/dpmem.inl,
	rtems/macros/rtems/rtems/event.inl,
	rtems/macros/rtems/rtems/eventset.inl,
	rtems/macros/rtems/rtems/message.inl,
	rtems/macros/rtems/rtems/modes.inl,
	rtems/macros/rtems/rtems/options.inl,
	rtems/macros/rtems/rtems/part.inl,
	rtems/macros/rtems/rtems/ratemon.inl,
	rtems/macros/rtems/rtems/region.inl,
	rtems/macros/rtems/rtems/sem.inl,
	rtems/macros/rtems/rtems/status.inl,
	rtems/macros/rtems/rtems/support.inl,
	rtems/macros/rtems/rtems/tasks.inl,
	rtems/macros/rtems/rtems/timer.inl, sapi/macros/rtems/extension.inl,
	score/macros/README, score/macros/rtems/score/address.inl,
	score/macros/rtems/score/chain.inl,
	score/macros/rtems/score/corebarrier.inl,
	score/macros/rtems/score/coremsg.inl,
	score/macros/rtems/score/coremutex.inl,
	score/macros/rtems/score/corerwlock.inl,
	score/macros/rtems/score/coresem.inl,
	score/macros/rtems/score/corespinlock.inl,
	score/macros/rtems/score/heap.inl, score/macros/rtems/score/isr.inl,
	score/macros/rtems/score/mppkt.inl,
	score/macros/rtems/score/object.inl,
	score/macros/rtems/score/objectmp.inl,
	score/macros/rtems/score/priority.inl,
	score/macros/rtems/score/stack.inl,
	score/macros/rtems/score/states.inl,
	score/macros/rtems/score/sysstate.inl,
	score/macros/rtems/score/thread.inl,
	score/macros/rtems/score/threadmp.inl,
	score/macros/rtems/score/tod.inl,
	score/macros/rtems/score/tqdata.inl,
	score/macros/rtems/score/userext.inl,
	score/macros/rtems/score/watchdog.inl,
	score/macros/rtems/score/wkspace.inl: Removed.
2006-10-19 19:20:10 +00:00
Ralf Corsepius
c461430d37 2006-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* sapi/include/confdefs.h:
	s/STACK_CHECKER_EXTENSION/RTEMS_STACK_CHECKER_EXTENSION/
	(Reflect 2006-09-13's changes to libmisc/stackchk).
2006-10-18 10:43:41 +00:00
Ralf Corsepius
9b5e72b636 2006-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-top.m4: Remove RTEMS_API.
	* aclocal/version.m4: Add RTEMS_API. Bump RTEMS_API to 4.8.
2006-10-18 03:37:19 +00:00
Ralf Corsepius
0ec8e35791 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-top.m4: Bump RTEMS_API to 4.8.
2006-10-17 17:49:59 +00:00
Ralf Corsepius
4a6fd1801c 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/capture/capture-cli.c: Use size_t instead of int.
2006-10-17 17:21:18 +00:00
Ralf Corsepius
2e28876226 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/version.m4: Bump version to 4.7.99.0.
2006-10-17 15:49:31 +00:00
Ralf Corsepius
ba2c04fa2c 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.60. Require automake-1.10.
2006-10-17 07:38:02 +00:00
Ralf Corsepius
ce1bdb0857 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.60.
2006-10-17 07:29:40 +00:00
Ralf Corsepius
879f1e469d Fix broken file 2006-10-16 16:04:48 +00:00
Ralf Corsepius
1133a800ec 2006-10-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac, aclocal/multi.m4, aclocal/prog-cc.m4, aclocal/prog-ccas.m4
	automake/compile.am: Adaptations to automake-1.10.
2006-10-16 15:59:25 +00:00
Chris Johns
8462ac8a98 2006-09-29 Chris Johns <chrisj@rtems.org>
* libmisc/monitor/mon-command.c: Flush stdout after updating the
	command line.
2006-09-28 14:57:07 +00:00
Joel Sherrill
7fb2bb2433 2006-09-14 Joel Sherrill <joel@OARcorp.com>
* libnetworking/net/route.c, librpc/src/rpc/auth_none.c,
	librpc/src/rpc/auth_unix.c, librpc/src/rpc/authunix_prot.c,
	librpc/src/rpc/rpc_callmsg.c, librpc/src/rpc/rpc_prot.c,
	librpc/src/rpc/rtems_portmapper.c: Removed warnings.
2006-09-25 14:19:45 +00:00
Joel Sherrill
7fa1ce86fe 2006-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h, sapi/src/posixapi.c, sapi/src/rtemsapi.c:
	Add Classic API Barriers and commented out hooks to initialize .
2006-09-25 14:03:51 +00:00
Joel Sherrill
8042961d87 2006-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/Makefile.am, rtems/preinstall.am, rtems/include/rtems.h,
	rtems/include/rtems/rtems/attr.h, rtems/include/rtems/rtems/config.h,
	rtems/inline/rtems/rtems/attr.inl, rtems/macros/rtems/rtems/attr.inl:
	Add Classic API Barriers.
	* rtems/include/rtems/rtems/barrier.h,
	rtems/include/rtems/rtems/barriermp.h,
	rtems/inline/rtems/rtems/barrier.inl,
	rtems/macros/rtems/rtems/barrier.inl, rtems/src/barrier.c,
	rtems/src/barriercreate.c, rtems/src/barrierdelete.c,
	rtems/src/barrierident.c, rtems/src/barrierrelease.c,
	rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c:
	New files.
2006-09-25 13:38:24 +00:00
Joel Sherrill
161f25b5b2 Add name. 2006-09-25 13:37:55 +00:00
Joel Sherrill
9c191eea63 * score/Makefile.am, score/preinstall.am,
score/include/rtems/score/coresem.h,
	score/include/rtems/score/object.h,
	score/include/rtems/score/states.h,
	score/inline/rtems/score/coresem.inl: Add SuperCore Barriers,
	SpinLocks and a partial implementation of RWLocks.
	* score/include/rtems/score/corebarrier.h,
	score/include/rtems/score/corerwlock.h,
	score/include/rtems/score/corespinlock.h,
	score/inline/rtems/score/corebarrier.inl,
	score/inline/rtems/score/corerwlock.inl,
	score/inline/rtems/score/corespinlock.inl,
	score/macros/rtems/score/corebarrier.inl,
	score/macros/rtems/score/corerwlock.inl,
	score/macros/rtems/score/corespinlock.inl, score/src/corebarrier.c,
	score/src/corebarrierrelease.c, score/src/corebarrierwait.c,
	score/src/corerwlock.c, score/src/corerwlockobtainread.c,
	score/src/corerwlockobtainwrite.c, score/src/corerwlockrelease.c,
	score/src/corespinlock.c, score/src/corespinlockrelease.c,
	score/src/corespinlockwait.c: New files.
2006-09-25 13:36:58 +00:00
Joel Sherrill
90d2585a07 2006-09-14 Joel Sherrill <joel@OARcorp.com>
* libnetworking/net/route.c, librpc/src/rpc/auth_none.c,
	librpc/src/rpc/auth_unix.c, librpc/src/rpc/authunix_prot.c,
	librpc/src/rpc/rpc_callmsg.c, librpc/src/rpc/rpc_prot.c,
	librpc/src/rpc/rtems_portmapper.c: Removed warnings.
2006-09-14 19:09:06 +00:00
Joel Sherrill
bc11ec273d 2006-09-14 Joel Sherrill <joel@OARcorp.com>
* libmisc/cpuuse/cpuuse.c, libmisc/cpuuse/cpuuse.h: Promote CPU Usage
	to first class citizen. Rename to start with rtems_ and include
	documentation in user guide.
2006-09-14 15:07:19 +00:00
Joel Sherrill
5c1023a034 2006-09-13 Joel Sherrill <joel@OARcorp.com>
* libnetworking/rtems/rtems_malloc_mbuf.c: Removed warning by adding
	prototype of malloc.
2006-09-13 16:54:54 +00:00
Joel Sherrill
7ac4ae92d0 2006-09-13 Joel Sherrill <joel@OARcorp.com>
* libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
	libmisc/stackchk/stackchk.h: Move stack to first class citizen
	status. Include it in User Manual and rename to start with rtems_.
2006-09-13 16:22:24 +00:00
Joel Sherrill
957d886a8f 2006-09-11 Joel Sherrill <joel@OARcorp.com>
* libmisc/mw-fb/mw_fb.c, libmisc/mw-fb/mw_fb.h, libmisc/mw-fb/mw_uid.c,
	libmisc/mw-fb/mw_uid.h: Remove warning.
2006-09-11 21:42:23 +00:00
Joel Sherrill
ea7fd1ec58 2006-09-11 Jerry Needell <jerry.needell@unh.edu>
* libnetworking/netinet/in_cksum.c: Joel should have used int32_t not
	uint32_t when removing warnings.
2006-09-11 17:34:10 +00:00
Joel Sherrill
bc69c4853d 2006-09-08 Ken Peters <ken.peters@jpl.nasa.gov>
PR 1170/rtems
	* rtems/src/timerserver.c: Timer Server created the TIME task with a
	hard-coded hexadecimal number instead of using rtems_build_name. This
	resulted in a byte-swapped name on some platforms.
2006-09-08 20:28:56 +00:00
Chris Johns
c2f22829d1 2006-09-06 Chris Johns <chrisj@rtems.org>
* pppd/pppd.h: Fix the bug in name change. The UNTIMEOUT
        macro did not use the ppp version.
2006-09-06 12:55:52 +00:00
Joel Sherrill
d2efdeb170 2006-09-01 Joel Sherrill <joel@OARcorp.com>
* libnetworking/net/if_loop.c: Remove warning.
2006-09-01 21:21:43 +00:00
Till Straumann
d8f86d925a * pppd/rtems.main.c, pppd/pppd.h: renamed 'untimeout'
to 'pppuntimeout' to avoid name clash with [future]
	bsdnet kernel routine.
2006-09-01 21:16:19 +00:00
Joel Sherrill
b3ee778ea9 2006-09-01 Joel Sherrill <joel@OARcorp.com>
* libcsupport/src/malloc.c, libnetworking/rtems/rtems_glue.c,
	libnetworking/sys/mbuf.h: Remove warnings -- use uintptr_t or
	properly sized integers.
2006-09-01 15:37:47 +00:00
Joel Sherrill
a009d94459 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* ftpd/ftpd.c, libcsupport/include/sys/ioccom.h,
	libcsupport/src/ioctl.c, libnetworking/kern/uipc_mbuf.c,
	libnetworking/libc/inet_addr.c, libnetworking/net/ethernet.h,
	libnetworking/net/if.c, libnetworking/net/if_ethersubr.c,
	libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h,
	libnetworking/net/if_var.h, libnetworking/net/ppp_tty.c,
	libnetworking/netinet/in_cksum.c, libnetworking/nfs/bootp_subr.c,
	libnetworking/rtems/rtems_bsdnet_internal.h,
	libnetworking/sys/mbuf.h, pppd/md4.c, pppd/pppd.h: Remove warnings
	due to improper use of int which shows up on 16 bit targets. Added
	ioctl_command_t since IOCTL command argument does not reliably fit
	into 16 bits.
2006-08-31 01:10:02 +00:00
Joel Sherrill
ae5a79c349 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* libcsupport/include/sys/ioccom.h, libnetworking/kern/uipc_socket2.c,
	libnetworking/net/ethernet.h, libnetworking/net/if.h,
	libnetworking/net/if_ethersubr.c, libnetworking/net/if_ppp.c,
	libnetworking/net/if_pppvar.h, libnetworking/net/ppp_tty.c,
	libnetworking/net/pppcompress.c, libnetworking/net/slcompress.c,
	libnetworking/netinet/in.h, libnetworking/netinet/ip_icmp.c,
	libnetworking/netinet/tcp.h, libnetworking/netinet/tcp_seq.h,
	libnetworking/sys/protosw.h, libnetworking/sys/socketvar.h: Remove
	warnings. Most of the warnings were 16/32 bit integer sizing issues.
	Some constants had L appended, some had casts add, some types were
	changed to reflect a bit width requirement.
2006-08-30 17:20:33 +00:00
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