Commit Graph

4486 Commits

Author SHA1 Message Date
Joel Sherrill
38baeb75f1 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/interr.h, score/src/interr.c: Convention
	calls for leading underscore on private RTEMS variables.
2008-06-02 16:11:31 +00:00
Ralf Corsepius
59b9758def 2008-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/object.h,
	score/include/rtems/score/watchdog.h: Move #include's out of
	extern "C" {}.
2008-05-31 05:31:26 +00:00
Ralf Corsepius
4b5ddf2748 Move #include's out of extern "C" {}. 2008-05-31 05:31:18 +00:00
Till Straumann
9cf3432cc4 2008-05-30 Till Straumann <strauman@slac.stanford.edu>
* libfs/src/nfsclient/src/nfs.c:BUGFIX: must not attempt to
	release node if rtems_filesystem_evaluate_path() fails
	in nfs_eval_link() since pathloc contains no valid node.
2008-05-30 23:21:06 +00:00
Joel Sherrill
288b1f91a2 2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell_getchar.c: Minor change so dropping connection
	while at prompt results in shell logging out and connection still
	being available.
2008-05-27 17:25:45 +00:00
Joel Sherrill
83734c9d52 2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call
	fini() as part of exit(). This avoids atexit() being a required
	function.
2008-05-27 16:47:13 +00:00
Joel Sherrill
7c4cdeb9ea 2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell.c: Minor change so dropping connection during
	login prompt results in connection still being available.
2008-05-27 16:43:24 +00:00
Joel Sherrill
bd04dab99c Format. 2008-05-27 13:12:51 +00:00
Thomas Doerfler
bf95ccb506 Added const qualifier to various pointers and data tables to
reduce size of data area.
	IMFS: Fixed creation of symbolic links to avoid a compiler warning.
	DOSFS: Use LibBlock instead of read() to read the boot record.
2008-05-27 10:34:15 +00:00
Thomas Doerfler
a184e5ee44 Bugfix: Moved definition of ppp_softc into source file. 2008-05-27 10:33:22 +00:00
Thomas Doerfler
e9af8c57c2 Bugfix: String output without width option. 2008-05-27 10:32:38 +00:00
Thomas Doerfler
3183b04c79 New define: CONSOLE_DEVICE_NAME. 2008-05-27 10:32:04 +00:00
Thomas Doerfler
0868844e5e Added new defines OBJECTS_ID_NONE
and RTEMS_ID_NONE.  No object can have this ID.
2008-05-27 10:31:22 +00:00
Till Straumann
793249a2eb 2008-05-23 Till Straumann <strauman@slac.stanford.edu>
* libnetworking/netinet/ip_output.c: when fragmenting
	multicast packets M_MCAST must be set on all fragments.
	This was fixed in FreeBSD ip_output.c 1.82 on 1998/8/23 !
	(see my email to rtems-users from 2008/5/15).
2008-05-23 21:48:06 +00:00
Joel Sherrill
345fc11da9 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/task.h, itron/src/del_tsk.c,
	itron/src/exd_tsk.c, itron/src/task.c,
	posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
	posix/src/cancelrun.c, posix/src/pthread.c, posix/src/pthreadexit.c,
	posix/src/setcancelstate.c, posix/src/setcanceltype.c,
	posix/src/testcancel.c, rtems/src/taskdelete.c,
	score/inline/rtems/score/object.inl, score/src/objectclose.c,
	score/src/threadclose.c: Make all task delete/exit/cancel routines
	follow the same critical section pattern. Also ensure that POSIX
	cancelation routines are run at thread exit.
2008-05-22 20:38:03 +00:00
Joel Sherrill
cdc830964a 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/termios_baud2index.c,
	libcsupport/src/termios_baud2num.c,
	libcsupport/src/termios_num2baud.c,
	libcsupport/src/termios_setinitialbaud.c: New files.
2008-05-22 20:35:41 +00:00
Joel Sherrill
b6be421739 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am, libcsupport/preinstall.am,
	libcsupport/include/rtems/termiostypes.h: Move termios helper
	routines from libchip to libcsupport. Add routine which makes it easy
	for a termios device driver to inform termios of its default baud
	rate. This avoids inconsistencies in later termios settings changes.
2008-05-22 20:16:08 +00:00
Joel Sherrill
0f91b2350d 2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
2008-05-22 14:43:53 +00:00
Joel Sherrill
d2018f7178 2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline
	interface for Watchdog Driver.
	* libcsupport/include/rtems/watchdogdrv.h: New file.
2008-05-22 14:40:11 +00:00
Joel Sherrill
d9aca5f537 2008-05-16 Till Straumann <strauman@slac.stanford.edu>
* score/src/threadchangepriority.c: Just in case the transient
	state was set when we entered, ensure that it is still set when
	we exit.
	* score/src/threadclose.c: When a thread is being deleted, it should
	go into the dormant state -- not the transient state.
2008-05-16 21:51:40 +00:00
Joel Sherrill
088a954394 Fix Id. 2008-05-16 13:03:12 +00:00
Thomas Doerfler
42bf1b9f13 adapted gen83xx to new board 2008-05-15 15:10:38 +00:00
Eric Norum
d871cf1bc6 Add locks around non-atomic structure assignment. 2008-05-13 20:45:51 +00:00
Joel Sherrill
2015ca6cc1 2008-05-13 Robert S. Grimes <rsg@alum.mit.edu>
* libi2c/libi2c.h: Fix typo.
2008-05-13 20:37:36 +00:00
Joel Sherrill
b9499779ee 2008-05-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* pppd/example/system.h: Fix path in example -- NOT COMPILED WITH
	CPUKIT.
2008-05-13 16:09:48 +00:00
Joel Sherrill
d86ae064a0 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/rtems/init.h, sapi/src/exinit.c: Refactored and renamed
	initialization routines to rtems_initialize_data_structures,
	rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:40:59 +00:00
Joel Sherrill
f5f4566a5f 2008-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve
	comments.
2008-05-06 23:17:07 +00:00
Joel Sherrill
3766068275 Fix date. 2008-05-06 23:16:36 +00:00
Joel Sherrill
e06b6b0a09 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/objectget.c: Improve comments and readability.
2008-05-06 20:31:33 +00:00
Joel Sherrill
76deaf0c64 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/include/rtems/rtems/message.h, sapi/include/confdefs.h,
	score/src/coresemseize.c, score/src/threadhandler.c: Comment
	improvements from class.
2008-05-06 19:38:19 +00:00
Joel Sherrill
4aea8f2b71 Spacing. 2008-05-06 19:29:42 +00:00
Joel Sherrill
2905296a1c 2008-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1285/rtems
	* sapi/include/rtems/config.h: Remove obsolete
	rtems_configuration_get_maximum_devices().
2008-05-06 15:14:45 +00:00
Chris Johns
5a2b5b22c8 2008-05-01 Chris Johns <chrisj@rtems.org>
* libblock/include/rtems/nvdisk-sram.h,
	libblock/include/rtems/nvdisk.h,
	libblock/src/nvdisk-sram.c,
	libblock/src/nvdisk.c: New. A Non-volatile memory disk drive.
	* Makefile.am, preinstall.am, libblock/Makefile.am: Updated for
	the NV disk driver.
2008-05-01 04:15:36 +00:00
Chris Johns
50303dfbd1 2008-05-01 Maarten Van Es <maarten@mind.be>
* libnetworking/rtems/rtems_dhcp.c: Removed panic()s.  Added
	interface for rtems_dhcp_failsafe.
	* libnetworking/rtems/rtems_dhcp.h: Added interface for
	rtems_dhcp_failsafe.

2008-05-01  Arnout Vandecappelle <arnout@mind.be>

	* libnetworking/nfs/bootp_subr: Allow some errors for sosend() and
	return on timeout in bootpc_call().  Removed panic()s.
	* libnetworking/rtems/rtems_glue.c: Fix the cast for the
	SIOCAIFADDR ioctl call.
	* libnetworking/rtems/rtems_dhcp_failsafe.c,
	libnetworking/rtems/rtems_dhcp_failsafe.h: New.
	* libnetworking/Makefile.am, libnetworking/preinstall.am: Added
	rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
2008-05-01 02:57:49 +00:00
Joel Sherrill
fb8194045a 2008-04-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/timer.h: Fix typo.
2008-04-30 16:14:16 +00:00
Joel Sherrill
2ad3d02459 2008-04-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
	rtems/include/rtems/rtems/status.h,
	rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
	rtems/inline/rtems/rtems/sem.inl: More Doxygen warnings removed.
2008-04-28 18:21:01 +00:00
Joel Sherrill
86101e3cca Fix typo. 2008-04-28 18:14:14 +00:00
Joel Sherrill
7cdaed0d00 2008-04-28 Daron Chabot <daron.chabot@usask.ca>
* posix/src/keycreate.c, posix/src/pthreadequal.c,
	rtems/src/semtranslatereturncode.c,
	score/cpu/powerpc/rtems/score/powerpc.h,
	score/src/threadblockingoperationcancel.c: Fix compilation errors
	when --enable-rtems-debug is used.
2008-04-28 18:12:43 +00:00
Eric Norum
eae4a193d3 Handle cluster servers better. 2008-04-25 17:00:48 +00:00
Joel Sherrill
ec73a7536b 2008-04-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/system.h: Fix typo in comment.
2008-04-25 15:24:19 +00:00
Eric Norum
88f8f2fd6c Clean up error handling. 2008-04-24 21:50:57 +00:00
Joel Sherrill
98e92b0abb 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/include/rtems/rtems/partmp.h, sapi/include/confdefs.h: Fix
	typos added with recent changes.
2008-04-23 21:53:09 +00:00
Joel Sherrill
ad78965db2 2008-04-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove
	rtems_termios_reserve_resources. It is obsolete.
	* libcsupport/src/termiosreserveresources.c: Removed.
2008-04-22 23:24:09 +00:00
Joel Sherrill
60967286ce 2008-04-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/mainpage.h: New file.
2008-04-18 20:16:22 +00:00
Joel Sherrill
f9293dfaf1 2008-04-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/Doxyfile, rtems/include/rtems/rtems/asr.h,
	rtems/include/rtems/rtems/attr.h,
	rtems/include/rtems/rtems/barrier.h,
	rtems/include/rtems/rtems/barriermp.h,
	rtems/include/rtems/rtems/cache.h,
	rtems/include/rtems/rtems/config.h,
	rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
	rtems/include/rtems/rtems/eventmp.h,
	rtems/include/rtems/rtems/eventset.h,
	rtems/include/rtems/rtems/intr.h,
	rtems/include/rtems/rtems/message.h,
	rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
	rtems/include/rtems/rtems/msgmp.h,
	rtems/include/rtems/rtems/options.h,
	rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
	rtems/include/rtems/rtems/ratemon.h,
	rtems/include/rtems/rtems/region.h,
	rtems/include/rtems/rtems/regionmp.h,
	rtems/include/rtems/rtems/rtemsapi.h,
	rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
	rtems/include/rtems/rtems/signal.h,
	rtems/include/rtems/rtems/signalmp.h,
	rtems/include/rtems/rtems/status.h,
	rtems/include/rtems/rtems/support.h,
	rtems/include/rtems/rtems/taskmp.h,
	rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
	rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
	rtems/inline/rtems/rtems/attr.inl,
	rtems/inline/rtems/rtems/barrier.inl,
	rtems/inline/rtems/rtems/dpmem.inl,
	rtems/inline/rtems/rtems/event.inl,
	rtems/inline/rtems/rtems/message.inl,
	rtems/inline/rtems/rtems/modes.inl,
	rtems/inline/rtems/rtems/options.inl,
	rtems/inline/rtems/rtems/part.inl,
	rtems/inline/rtems/rtems/ratemon.inl,
	rtems/inline/rtems/rtems/region.inl,
	rtems/inline/rtems/rtems/sem.inl,
	rtems/inline/rtems/rtems/status.inl,
	rtems/inline/rtems/rtems/support.inl,
	rtems/inline/rtems/rtems/timer.inl: More Doxygen improvements.
2008-04-18 20:08:08 +00:00
Joel Sherrill
067a96ad0c 2008-04-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h,
	rtems/include/rtems/rtems/attr.h,
	rtems/include/rtems/rtems/barrier.h,
	rtems/include/rtems/rtems/barriermp.h,
	rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
	rtems/include/rtems/rtems/config.h,
	rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
	rtems/include/rtems/rtems/eventmp.h,
	rtems/include/rtems/rtems/eventset.h,
	rtems/include/rtems/rtems/intr.h,
	rtems/include/rtems/rtems/message.h,
	rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
	rtems/include/rtems/rtems/msgmp.h,
	rtems/include/rtems/rtems/object.h,
	rtems/include/rtems/rtems/options.h,
	rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
	rtems/include/rtems/rtems/ratemon.h,
	rtems/include/rtems/rtems/region.h,
	rtems/include/rtems/rtems/regionmp.h,
	rtems/include/rtems/rtems/rtemsapi.h,
	rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
	rtems/include/rtems/rtems/signal.h,
	rtems/include/rtems/rtems/signalmp.h,
	rtems/include/rtems/rtems/status.h,
	rtems/include/rtems/rtems/support.h,
	rtems/include/rtems/rtems/taskmp.h,
	rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
	rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
	rtems/inline/rtems/rtems/attr.inl,
	rtems/inline/rtems/rtems/barrier.inl,
	rtems/inline/rtems/rtems/dpmem.inl,
	rtems/inline/rtems/rtems/event.inl,
	rtems/inline/rtems/rtems/eventset.inl,
	rtems/inline/rtems/rtems/message.inl,
	rtems/inline/rtems/rtems/modes.inl,
	rtems/inline/rtems/rtems/options.inl,
	rtems/inline/rtems/rtems/part.inl,
	rtems/inline/rtems/rtems/ratemon.inl,
	rtems/inline/rtems/rtems/region.inl,
	rtems/inline/rtems/rtems/sem.inl,
	rtems/inline/rtems/rtems/status.inl,
	rtems/inline/rtems/rtems/support.inl,
	rtems/inline/rtems/rtems/tasks.inl,
	rtems/inline/rtems/rtems/timer.inl: Initial conversion of Classic API
	header files to Doxygen.
	* rtems/Doxyfile: New file.
2008-04-18 15:02:20 +00:00
Joel Sherrill
6be8a839ce 2008-04-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/key.c: Include <limits.h>
	* posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process
	a NULL extension block.
2008-04-18 15:01:36 +00:00
Joel Sherrill
547af382bd 2008-04-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c: Add comment.
2008-04-18 13:47:59 +00:00
Joel Sherrill
df0bfdf068 2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for
	application configuration errors. If any POSIX objects or a POSIX
	init thread is configured without POSIX being configure, then error
	out. Similarly for ITRON. Add
	CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER configuration
	parameter so the application has to explicitly configure the Clock
	driver in or out if the Timer driver is not configured. Also verify
	RTEMS was built for multiprocessing, if the user tries to configure a
	multiprocessing application.
2008-04-17 22:42:10 +00:00
Joel Sherrill
4f2cd78838 2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c: Add arm_cpu_mode so ARM BSP can overrid default value for
	cpsr.
2008-04-17 22:42:03 +00:00