Commit Graph

2705 Commits

Author SHA1 Message Date
Ralf Corsepius
f7e5fb5fc2 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/basedefs.h:
	Use "__asm__" instead of "asm" for improved c99-compliance.
2011-02-11 09:27:03 +00:00
Ralf Corsepius
3fc4d1463f 2011-02-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/fdisk.c: Reflect changes above.
2011-02-11 00:05:29 +00:00
Ralf Corsepius
fc658e4e69 2011-02-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/include/rtems/bdpart.h (rtems_bdpart_format):
	Eliminate unnamed union (Non c99-compliant).
	* libblock/src/bdpart-create.c, libblock/src/bdpart-read.c,
	libblock/src/bdpart-write.c: Reflect changes above.
2011-02-10 23:34:58 +00:00
Ralf Corsepius
b2b56cb985 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* sapi/include/confdefs.h: Fix typo.
2011-02-09 06:18:57 +00:00
Ralf Corsepius
46d6e7a9f1 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/btimer.h: New.
	* Makefile.am: Add rtems/btimer.h
	* libcsupport/include/timerdrv.h: Reflect having split out functions
	  to rtems/btimer.h.
2011-02-09 06:15:53 +00:00
Chris Johns
9632f83df8 011-02-08 Brett Swimley <bswimley@advanced.pro>
* libfs/src/rfs/rtems-rfs-rtems.c: Fix bug where the eval path did
        not close an inode.
2011-02-07 22:41:37 +00:00
Ralf Corsepius
8ee3775f30 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
2011-02-02 15:01:43 +00:00
Ralf Corsepius
5b1f197948 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/hexdump-display.c:
	Eliminate bcopy, bzero, bcmp, index (Obsolete).
	* libmisc/shell/hexdump-parse.c: Eliminate index (Obsolete).
	* libmisc/shell/hexsyntax.c: Eliminate rindex (Obsolete).
	* libmisc/shell/main_hexdump.c: Eliminate rindex (Obsolete).
	* libmisc/shell/main_rm.c: Eliminate rindex (Obsolete).
2011-02-02 04:21:26 +00:00
Joel Sherrill
c52c319ebf 2011-02-01 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1733/cpukit
	* score/src/isr.c: If target architecture does nto require stack
	initialization, then do not perform adjustment.
2011-02-01 20:22:08 +00:00
Ralf Corsepius
c14db0a302 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* libcsupport/src/printk.c: Fix typo.
2011-02-01 06:36:00 +00:00
Ralf Corsepius
200c945879 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* libmisc/stringto/stringtounsignedchar.c,
	libmisc/stringto/stringtounsignedint.c: Reformat range check.
2011-02-01 05:55:32 +00:00
Ralf Corsepius
5410c14a56 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* libmisc/Makefile.am: Add stringto/stringtolongdouble.c.
	* libmisc/stringto/stringtolongdouble.c: New.
2011-02-01 05:48:30 +00:00
Ralf Corsepius
ebf806fd52 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* libmisc/stringto/stringto.h: Rename header-guard.
	Add rtems_string_to_long_double.
2011-02-01 05:45:33 +00:00
Ralf Corsepius
fe7c9a1f83 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* libmisc/stringto/stringtoint.c: Reformat range check.
	Add check for result==0.
2011-02-01 05:43:21 +00:00
Ralf Corsepius
a38457a755 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* libmisc/stringto/stringtofloat.c: Reformat range check.
	Add check for result = -HUGE_VALF.
2011-02-01 05:41:48 +00:00
Ralf Corsepius
61bbacea0a 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* libmisc/stringto/stringtodouble.c: Reformat range check.
	Add check for result = -HUGE_VAL.
2011-02-01 05:41:07 +00:00
Ralf Corsepius
5df16fab53 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* libmisc/stringto/stringtolonglong.c: Reformat range check.
	c99 portability improvements. Add check for result==0.
2011-02-01 05:39:20 +00:00
Ralf Corsepius
c368bd6414 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* libmisc/stringto/stringtounsignedlonglong.c: Reformat range check.
	c99 portability improvements.
2011-02-01 05:38:01 +00:00
Ralf Corsepius
37ecff5c4a 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* libmisc/stringto/stringtounsignedlong.c: Reformat range check.
2011-02-01 05:36:03 +00:00
Ralf Corsepius
80604fa73b 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* libmisc/stringto/stringtolong.c:  Reformat range check.
	Add check for result==0.
2011-02-01 05:29:26 +00:00
Ralf Corsepius
5598bdd3f6 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* libmisc/Makefile.am: Remove stringto/stringto_template.h.
	* libmisc/stringto/stringto_template.h: Remove.
2011-02-01 02:39:21 +00:00
Ralf Corsepius
58a9213ddd Fix typos 2011-02-01 02:36:11 +00:00
Ralf Corsepius
8b9a33e895 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* libmisc/stringto/stringtodouble.c,
	libmisc/stringto/stringtofloat.c: Rework.
2011-02-01 02:34:19 +00:00
Ralf Corsepius
2f8f4950fc 2011-02-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* libmisc/stringto/stringtolong.c,
	libmisc/stringto/stringtolonglong.c,
	libmisc/stringto/stringtounsignedlong.c,
	libmisc/stringto/stringtounsignedlonglong.c:
	Rework.
2011-02-01 02:32:46 +00:00
Ralf Corsepius
0e867af11e 2011-01-31 Ralf Corsepius <ralf.corsepius@rtems.org>
* libmisc/stringto/stringtoint.c,
	libmisc/stringto/stringtounsignedint.c,
	libmisc/stringto/stringtounsignedchar.c: Rework.
2011-01-31 16:25:13 +00:00
Ralf Corsepius
58dac487fd 2011-01-31 Ralf Corsepius <ralf.corsepius@rtems.org>
* libmisc/stringto/stringtopointer.c: Rework.
2011-01-31 16:03:16 +00:00
Joel Sherrill
dcf368747f 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* include/rtems/bspIo.h, include/rtems/concat.h, include/rtems/irq.h,
	score/cpu/i386/rtems/score/idtr.h,
	score/cpu/powerpc/rtems/powerpc/registers.h,
	score/src/objectidtoname.c, score/src/schedulerpriorityblock.c,
	score/src/schedulerpriorityschedule.c,
	score/src/schedulerpriorityunblock.c,
	score/src/schedulerpriorityyield.c, score/src/thread.c,
	score/src/threadchangepriority.c, score/src/threadclearstate.c,
	score/src/threadclose.c, score/src/threadcreateidle.c,
	score/src/threaddelayended.c, score/src/threaddispatch.c,
	score/src/threadget.c, score/src/threadhandler.c,
	score/src/threadinitialize.c, score/src/threadloadenv.c,
	score/src/threadready.c, score/src/threadreset.c,
	score/src/threadrestart.c, score/src/threadresume.c,
	score/src/threadsetpriority.c, score/src/threadsetstate.c,
	score/src/threadsettransient.c, score/src/threadstackallocate.c,
	score/src/threadstackfree.c, score/src/threadstart.c,
	score/src/threadstartmultitasking.c, score/src/threadsuspend.c,
	score/src/threadtickletimeslice.c, score/src/threadyieldprocessor.c:
	Fix typo where license said found in found in.
2011-01-28 20:24:54 +00:00
Joel Sherrill
59f1bfe606 2011-01-21 Eric Norum <wenorum@lbl.gov>
* libmisc/capture/capture.c: Avoid using TCB of task just deleted.
2011-01-21 19:40:17 +00:00
Sebastian Huber
1680638ab6 2011-01-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libblock/src/blkdev-ops.c: New file.
	* libblock/Makefile.am: Reflect change from above.
	* libblock/include/rtems/blkdev.h: Declare rtems_blkdev_generic_ops.
2011-01-21 09:43:24 +00:00
Sebastian Huber
9deaa215ac 2011-01-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libblock/src/show_bdbuf.c, score/src/objectmp.c,
	score/src/threadmp.c: Avoid chain API violations.
2011-01-20 09:18:00 +00:00
Sebastian Huber
61380a5451 2011-01-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libblock/src/show_bdbuf.c, score/src/objectmp.c: Avoid chain API
	violations.
2011-01-20 08:16:15 +00:00
Joel Sherrill
2946682d59 2011-01-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/main_dd.c: Make symbol unique to avoid conflict with
	same name in <sys/stat.h>.
2011-01-17 23:05:36 +00:00
Joel Sherrill
f16c0591a2 2011-01-17 Alin Rus <alin.codejunkie@gmail.com>
* posix/src/aio_cancel.c: Fixed ending of if braces.

2011-01-17	Alin Rus <alin.codejunkie@gmail.com>

	* posix/src/aio_misc.c: Add debug information. Fixed idle_threads/
	active_threads issues. Fixed infinite loop in rtems_aio_handle().
2011-01-17 22:12:48 +00:00
Joel Sherrill
6c48b5358c 2011-01-08 Alin Rus <alin.codejunkie@gmail.com>
* posix/src/aio_misc.c: Fix rtems_aio_remove_req did not iterate
	over chain.
	* posix/src/aio_cancel.c: Add debug information. Add check for
	bad file descriptor. Add else branch for cancel request on empty
	IQ chain.
2011-01-08 21:01:32 +00:00
Joel Sherrill
3030975ab6 2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/error.c: Scheduler Simulator compilation always
	defines __RTEMS_VIOLATE_KERNEL_VISIBILITY__. So avoid redefinition
	warning.
2011-01-04 19:53:14 +00:00
Joel Sherrill
a84d456ce2 2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_readlink.c: readlink
	filesystem entry should return ssize_t.
2011-01-04 19:18:09 +00:00
Joel Sherrill
8633e8f084 2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/aio_cancel.c: Use perfd field not next_fd.
2011-01-04 18:38:58 +00:00
Joel Sherrill
f447932fc0 2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/nfsclient/src/nfs.c: readlink filesystem entry should
	return ssize_t.
2011-01-04 18:32:59 +00:00
Sebastian Huber
d00b7a5a3f 2010-12-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libfs/src/dosfs/msdos_conv.c: Fixed convertion of half seconds to
	seconds.
2010-12-28 09:55:57 +00:00
Sebastian Huber
3ae59505d0 2010-12-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libfs/src/dosfs/msdos_misc.c: Create short file names acceptable for
	Windows.
2010-12-28 08:46:57 +00:00
Sebastian Huber
45edf78e36 2010-12-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_misc.c,
	libfs/src/dosfs/msdos_create.c: Create valid create and modfied date
	and time.
2010-12-27 14:35:13 +00:00
Joel Sherrill
5aecf664d9 2010-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
Jennifer Averett <jennifer.averett@oarcorp.com>

	Add RTEMS Scheduler Simulator.
	* sapi/include/confdefs.h: This adds some simple conditional
	logic to disable portions of the configuration that are NOT supported
	when configuring an RTEMS instance for use with a Scheduler Simulator
	instance.
2010-12-17 14:56:06 +00:00
Sebastian Huber
4e21c9a5b1 2010-12-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libmisc/cpuuse/cpuusagereport.c: We have to take the time since the
	last context switch before the uptime.
2010-12-16 15:46:34 +00:00
Sebastian Huber
18657d189d 2010-12-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/src/watchdognanoseconds.c: New file.
	* score/Makefile.am: Reflect change above.
	* score/include/rtems/score/watchdog.h, score/src/coretodget.c,
	score/src/coretodgetuptime.c: Do not allow NULL as nanoseconds since
	last tick handler pointer.
2010-12-16 14:50:12 +00:00
Sebastian Huber
6c6b2f13f4 2010-12-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libnetworking/loop.h, libnetworking/net/if_loop.c,
	libnetworking/rtems/rtems_glue.c, libmisc/dummy/dummy-networking.c:
	Initialize loop back interface during normal initialization via
	rtems_bsdnet_initialize_network().
2010-12-08 10:30:27 +00:00
Joel Sherrill
57e278dab9 2010-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, posix/src/signal_2.c: sighandler_t is defined
	conditionally in some versions of newlib and unconditionally in
	others. Make sure we always compile.
2010-12-03 20:34:24 +00:00
Sebastian Huber
10ace498cb 2010-11-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Revert
	previous commit due to too many broken linker command files.  The
	HAVE_INITFINI_ARRAY is defined for nearly all targets by Newlib, but
	only few linker command files respect this.
2010-11-30 08:15:35 +00:00
Sebastian Huber
d6a72fff81 2010-11-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Added
	support for .preinit_array, .init_array and .fini_array sections.
2010-11-29 14:14:27 +00:00
Sebastian Huber
5c4e0c5947 2010-11-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/include/confdefs.h, score/include/rtems/score/scheduler.h,
	score/inline/rtems/score/scheduler.inl,
	score/inline/rtems/score/schedulerpriority.inl,
	score/src/schedulerpriority.c,
	score/src/schedulerprioritythreadschedulerallocate.c,
	score/src/schedulerprioritythreadschedulerfree.c,
	score/src/schedulerprioritythreadschedulerupdate.c,
	score/src/schedulerpriorityyield.c: Added attribute unused.  Renamed
	types and fields to follow the Score naming conventions.
2010-11-25 13:24:26 +00:00
Sebastian Huber
215f4014e6 2010-11-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/include/rtems/score/scheduler.h,
	score/include/rtems/score/schedulerpriority.h: Whitespace removal.
	Moved C++ extern directive.
2010-11-25 12:42:50 +00:00