Commit Graph

3568 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
e996604bf8 2006-10-24 Joel Sherrill <joel@OARcorp.com>
* rtems/bfin/bfin.h: Eliminate hi, lo, HI, LO, and MK_BMSK.
2006-10-24 20:24:29 +00:00
Joel Sherrill
9dfd75ec52 2006-10-24 Alain Schaefer <alani@easc.ch>
* Makefile.am, cpu.c, cpu_asm.S, preinstall.am, rtems/score/bfin.h:
	Clean up rtems/score/bfin.h removing parts that are not needed by
	RTEMS CPUkit to bfin specific .h files.
	* rtems/bfin/bf533.h, rtems/bfin/bfin.h: New files.
2006-10-24 20:20:36 +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
Joel Sherrill
5b8b467017 2006-10-23 Joel Sherrill <joel@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Use the default IDLE thread body.
2006-10-23 17:19:52 +00:00
Joel Sherrill
d9a6ab3fed 2006-10-23 Joel Sherrill <joel@OARcorp.com>
* .cvsignore, ChangeLog, Makefile.am, cpu.c, cpu_asm.S, irq.c,
	preinstall.am, rtems/asm.h, rtems/score/bfin.h, rtems/score/cpu.h,
	rtems/score/cpu_asm.h, rtems/score/types.h: New files.
2006-10-23 17:17:50 +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
Ralf Corsepius
80886bd1bc Remove. 2006-10-21 05:56:10 +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
Ralf Corsepius
ed908735b0 Adaptations to automake-1.10. 2006-10-16 15:58:13 +00:00
Ralf Corsepius
343408cd8a This commit was generated by cvs2svn to compensate for changes in r13861,
which included commits to RCS files with non-trunk default branches.
2006-10-14 16:45:47 +00:00
Ralf Corsepius
db55493b5b Import from zlib-1.2.4 2006-10-14 16:45:47 +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
Chris Johns
8dec18146c Flush stdout after updating the command line. 2006-09-28 14:44:50 +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
ea1d598f08 2006-09-11 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Remove warning.
2006-09-11 21:41:36 +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
Chris Johns
b59eff1c13 Fix the bug in name change. The UNTIMEOUT macro did not use the ppp version. 2006-09-06 05:13:42 +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
cf04e8aca9 *** empty log message *** 2006-09-01 19:10:01 +00:00
Joel Sherrill
300c914c64 *** empty log message *** 2006-09-01 18:15:01 +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
ddee935174 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Revert change. It did not appear to correct all
	warnings.
2006-08-31 01:53:35 +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
eba52fd39d 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h:
2006-08-30 17:16:50 +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