Commit Graph
5440 Commits
Author SHA1 Message Date
Ralf Corsepius 175b9f17c3 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/lib/ftpfs.c, libnetworking/libc/rcmd.c,
	libnetworking/netinet/in_cksum_m68k.h,
	libnetworking/netinet/ip_divert.c, libnetworking/rtems/ftpfs.h,
	libnetworking/rtems/mkrootfs.c, libnetworking/rtems/mkrootfs.h,
	libnetworking/rtems/rtems_showroute.c: Add missing prototypes.
2008-08-01 05:07:53 +00:00
Ralf Corsepius e386ad7265 Add missing prototypes. 2008-08-01 05:07:41 +00:00
Ralf Corsepius 4ad63f50e2 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* itron/include/itronsys/types.h: Add missing prototype.
2008-08-01 05:04:44 +00:00
Ralf Corsepius a6924074d1 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* ftpd/ftpd.c: Fix broken prototype.
2008-08-01 05:03:33 +00:00
Ralf Corsepius 03e3a3ac3e Fix broken prototype. 2008-08-01 05:03:23 +00:00
Ralf Corsepius 60137bb013 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/include/rtems/bdbuf.h, libblock/src/bdbuf.c:
	Add missing prototypes.
2008-08-01 05:01:52 +00:00
Ralf Corsepius a5fb40cf68 Add missing prototypes. 2008-08-01 05:01:28 +00:00
Ralf Corsepius 22cee0a485 2008-07-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/main_netstats.c: Add missing prototypes.
	* libmisc/shell/main_wkspaceinfo.c: Remove classinfo_tester.
2008-08-01 04:59:09 +00:00
Joel Sherrill 23bfd0cd27 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/shell/main_rm.c: sys/mount.h is not available when networking
	is disabled but luckily it is not even needed to compile.
2008-07-31 15:02:48 +00:00
Joel Sherrill 3c87adba3f 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads.
2008-07-31 14:55:56 +00:00
Joel Sherrill 432a662c1b 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Correct prototype of Idle threads.
2008-07-31 14:55:54 +00:00
Ralf Corsepius f48873dfec Add missing prototypes. 2008-07-31 06:31:20 +00:00
Ralf Corsepius 0929315249 Remove classinfo_tester. 2008-07-31 06:31:04 +00:00
Ralf Corsepius a433ae20aa 2008-07-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* shttpd/compat_rtems.c: Replace C++-comments with C-comments.
2008-07-31 05:40:09 +00:00
Ralf Corsepius 79c91cc0d0 Replace C++-comments with C-comments. 2008-07-31 05:39:58 +00:00
Ralf Corsepius 9c186eb027 2008-07-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* httpd/emfdb.h, httpd/socket.c, httpd/uemf.c, httpd/uemf.h,
	httpd/um.h, httpd/webmain.c, httpd/webs.c, httpd/webs.h,
	httpd/wsIntrn.h: Add missing protoypes.
2008-07-30 09:59:52 +00:00
Ralf Corsepius 257b238736 Add missing prototypes. 2008-07-30 09:59:26 +00:00
Joel Sherrill a4a95e61b1 2008-07-29 Tim Cussins <timcussins@eml.cc>
* ChangeLog, libmisc/monitor/mon-object.c: Add mising RTEMS_POSIX_API
	conditional.
2008-07-29 20:54:51 +00:00
Ralf Corsepius 8334e6b4f2 2008-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* ftpd/ftpd.c, ftpd/ftpd.h: Add prototypes.
2008-07-29 11:53:37 +00:00
Ralf Corsepius c8a9f80fb1 2008-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/monitor/mon-monitor.c: Remove stray arg from function
	call.
2008-07-29 11:51:47 +00:00
Ralf Corsepius 2b6436090d Remove stray arg from function call. 2008-07-29 11:51:37 +00:00
Ralf Corsepius 28351f3260 2008-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/capture/capture.h, libmisc/monitor/mon-symbols.c,
	libmisc/monitor/monitor.h: Add missing prototypes.
2008-07-29 11:50:20 +00:00
Ralf Corsepius 30b8ac1cc4 Add missing prototypes. 2008-07-29 11:49:50 +00:00
Ralf Corsepius 5bc8a75e39 Add prototypes. 2008-07-29 11:46:19 +00:00
Ralf Corsepius c26545905f 2008-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/inline/rtems/score/tod.inl: Add prototypes.
	* score/src/coretodset.c: Remove stray args in function call.
2008-07-29 11:41:54 +00:00
Ralf Corsepius b272001594 Remove stray args in function call. 2008-07-29 11:41:42 +00:00
Ralf Corsepius ea5a80c5ae 2008-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libcsupport.h,
	libcsupport/include/rtems/libio_.h,
	libcsupport/src/malloc_statistics_helpers.c,
	libcsupport/src/scandir.c: Add prototypes.
2008-07-29 09:25:24 +00:00
Ralf Corsepius df3021ad78 Add prototypes. 2008-07-29 09:25:11 +00:00
Ralf Corsepius 8d52ad5c20 2008-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* telnetd/pty.c: Add prototypes. Remove misc. C++-code pollution.
2008-07-29 09:17:49 +00:00
Ralf Corsepius 697cdd9871 Add prototypes. Remove misc. C++-code pollution. 2008-07-29 09:17:28 +00:00
Ralf Corsepius 34b90a86f5 2008-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/prwlocktrywrlock.c, posix/src/prwlocktryrdlock.c,
	  posix/src/prwlockrdlock.c: Use C-style comments.
2008-07-29 08:51:41 +00:00
Ralf Corsepius 7d53ba7fd8 Use C-style comments. 2008-07-29 08:51:16 +00:00
Chris Johns 021cf6b58b 2008-07-29 Chris Johns <chrisj@rtems.org>
* libblock/src/nvdisk.c: Fix block compile bug.
2008-07-29 03:55:03 +00:00
Chris Johns c21c850ec7 2008-07-29 Chris Johns <chrisj@rtems.org>
* libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
	Update the comments.
2008-07-29 03:15:09 +00:00
Chris Johns 3899a5379f 2008-07-29 Chris Johns <chrisj@rtems.org>
* libblock/Makefile.am: Removed src/show_bdbuf.c.

	* libblock/src/show_bdbuf.c: Removed.

	* libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
	Rewritten the bdbuf code. Remove pre-emption disable, score
	access, fixed many bugs and increased performance.

	* libblock/include/rtems/blkdev.h: Added
	RTEMS_BLKDEV_CAPABILITIES block device request. Cleaned up
	comments. Added block and user fields to the sg buffer
	request. Move to rtems_* namespace.

	* libblock/include/rtems/diskdevs.h,
	cpukit/libblock/src/diskdevs.c: Move to rtems_* namespace. Add a
	capabilities field for drivers. Change rtems_disk_lookup to
	rtems_disk_obtain to match the release call. You do not lookup and
	release a disk, you obtain and release a disk.

	* libblock/include/rtems/ide_part_table.h,
	libblock/include/rtems/ramdisk.h, libblock/src/ide_part_table.c:
	Move to rtems_* namespace.

	* libblock/include/rtems/nvdisk.h: Formatting change.

	* libblock/src/blkdev.c: Move to rtems_* namespace. Change
	rtems_disk_lookup to rtems_disk_obtain

	* libblock/src/flashdisk.c: Move to rtems_* namespace. Use the new
	support for the block number in the scatter/grather request
	struct. This allows non-continuous buffer requests for those
	drivers that can support increasing performance.

	* libblock/src/nvdisk.c: Move to rtems_* namespace. Removed
	warnings. Added better error checking. Fixed some comments.

	* libblock/src/ramdisk.c: Move to rtems_* namespace. Added some
	trace functions to help debugging upper layers. Use the new
	support for the block number in the scatter/grather request
	struct. This allows non-continuous buffer requests for those
	drivers that can support increasing performance.

	* libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Use new chains
	API. Removed temporary hack and changed
	set_errno_and_return_minus_one to
	rtems_set_errno_and_return_minus_one. Move fat_buf_access from
	header and stopped it being inlined. Updated to libblock changes.

	* libfs/src/dosfs/fat_fat_operations.c,
	libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos_create.c,
	libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
	libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
	libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_initsupp.c,
	libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Use
	new chains API. Removed temporary hack and changed
	set_errno_and_return_minus_one to
	rtems_set_errno_and_return_minus_one. Updated to libblock changes.

	* libmisc/Makefile.am: Add new ls and rm command files.

	* libmisc/shell/cmp-ls.c, libmisc/shell/extern-ls.h,
	libmisc/shell/filemode.c, libmisc/shell/print-ls.c,
	libmisc/shell/pwcache.c, libmisc/shell/utils-ls.c,
	libmisc/shell/vis.c, shell/vis.h: New.

	* libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
	libmisc/shell/utils-cp.c: Fixed the usage call bug.

	* libmisc/shell/main_blksync.c: Updated to the new block IO ioctl
	command.

	* libmisc/shell/main_ls.c, libmisc/shell/main_rm.c: Updated to BSD
	commands with more features.

	* score/src/coremutex.c: Fix the strick order mutex code.

	* libmisc/shell/shell.c: Change shell tasks mode to be timeslice
	and no ASR.

	* sapi/include/confdefs.h: Change ata_driver_task_priority to
	rtems_ata_driver_task_priority. Add the new BD buf cache
	parameters with defaults.

	* score/src/interr.c: Do not return if the CPU halt call returns.
2008-07-29 02:21:15 +00:00
Thomas Doerfler de3864ec4b *** empty log message *** 2008-07-24 14:53:14 +00:00
Thomas Doerfler 075d81772d New function rtems_interrupt_handler_iterate()
for system information and diagnostics
2008-07-24 12:45:23 +00:00
Joel Sherrill e6ee171252 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell_script.c: Clean up code for command not found
	including the error message.
2008-07-23 20:28:13 +00:00
Joel Sherrill bd5762ddfc 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c,
	libmisc/monitor/mon-part.c, libmisc/monitor/mon-prmisc.c,
	libmisc/monitor/mon-queue.c, libmisc/monitor/mon-region.c,
	libmisc/monitor/mon-sema.c, libmisc/monitor/mon-task.c,
	libmisc/monitor/monitor.h: Use rtems_object_get_name() instead of
	internal routine. This makes it possible to also print string names
	of POSIX objects. Adjust task report to realign since we can have
	longer names.
2008-07-23 19:51:08 +00:00
Joel Sherrill 6c71b25364 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h, score/src/threadcreateidle.c: Idle thread
	body is now completely configured via the Configuration table.
2008-07-23 17:25:31 +00:00
Joel Sherrill 6a0898bba3 2008-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1291/cpukit
	* itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c,
	posix/include/mqueue.h, posix/include/rtems/posix/mqueue.h,
	posix/include/rtems/posix/semaphore.h,
	posix/include/rtems/posix/time.h, posix/src/condtimedwait.c,
	posix/src/mqueuereceive.c, posix/src/mqueuerecvsupp.c,
	posix/src/mqueuesend.c, posix/src/mqueuesendsupp.c,
	posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
	posix/src/mutextimedlock.c, posix/src/mutextranslatereturncode.c,
	posix/src/posixtimespecabsolutetimeout.c,
	posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
	posix/src/semaphoretranslatereturncode.c,
	posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c,
	posix/src/semtrywait.c, posix/src/semwait.c,
	posix/src/sigtimedwait.c, posix/src/timersettime.c,
	posix/src/ualarm.c, rtems/src/semobtain.c,
	rtems/src/semtranslatereturncode.c,
	score/include/rtems/score/coremutex.h,
	score/include/rtems/score/coresem.h, score/src/coresemseize.c: This
	patch addresses issues on implementation of the timeout on the
	following POSIX services. Some of these services incorrectly took a
	timeout as a relative time. Others would compute a 0 delta to timeout
	if the absolute time and the current time were equal and thus
	incorrectly block the caller forever. The root of the confusion is
	that POSIX specifies that if the timeout is incorrect (e.g. in the
	past, is now, or is numerically invalid), that it does not matter if
	the call would succeed without blocking. This is in contrast to RTEMS
	programming style where all errors are checked before any critical
	sections are entered. This fix implemented a more uniform way of
	handling POSIX absolute time timeouts.
	    + pthread_cond_timedwait - could block forever
	    + mq_timedreceive - used relative not absolute time
	    + mq_timedsend - used relative not absolute time
	    + pthread_mutex_timedlock - used relative not absolute time
	    + pthread_rwlock_timedrdlock- used relative not absolute time
	    + pthread_rwlock_timedwrlock- used relative not absolute time
	    + sem_timedwait - could block forever
2008-07-18 18:45:56 +00:00
Thomas Doerfler d3c321367c Changed special purpose register inline functions to macros.
fixed some minors in mpc83xx support
added file for mpc55xx watchdog support
2008-07-18 15:56:48 +00:00
Joel Sherrill 00a2d366a6 2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
	libmisc/monitor/monitor.h, libmisc/shell/main_chmod.c,
	libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
	libmisc/shell/main_whoami.c: Add pthread command to monitor when
	POSIX is enabled. Remove include of rtems/monitor.h from files not
	related.
2008-07-17 15:43:56 +00:00
Till Straumann 3d28361d19 2008-07-16 Till Straumann <strauman@slac.stanford.edu>
* score/cpu/powerpc/rtems/new-exceptions/cpu.h:
	use ppc_interrupt_get_disable_mask() to determine
	which bits to set/clear from _CPU_ISR_Set_level().
2008-07-16 21:52:04 +00:00
Till Straumann 441c930dc1 2008-07-16 Till Straumann <strauman@slac.stanford.edu>
* score/cpu/powerpc/rtems/powerpc/registers.h:
	added ppc_interrupt_get_disable_mask() inline function.
2008-07-16 21:47:04 +00:00
Joel Sherrill c702dd809e 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shellconfig.h, libmisc/stackchk/stackchk.h: Fix typos.
2008-07-16 20:32:23 +00:00
Joel Sherrill 798ff5a8ea 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell.c, libmisc/shell/shell.h: New argument sequence
	for rtems_shell_init(). This makes it possible to run the shell
	forever or invoke it from a program as a subroutine, have a user
	enter commands, and wait for it to exit.
2008-07-16 17:17:29 +00:00
Joel Sherrill 4d47256b4b 2008-07-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems.h, sapi/Makefile.am: Add simple helper to get
	RTEMS version string.
	* sapi/src/getversionstring.c: New file.
2008-07-15 22:56:45 +00:00
Thomas Doerfler 3c6fe2e7f9 added haleakala BSP contributed by Michael Hamel 2008-07-14 08:46:06 +00:00
Thomas Doerfler 224aebb3b8 added BSP to m68k
adapted PPC exception code
2008-07-11 10:07:00 +00:00