Commit Graph

21625 Commits

Author SHA1 Message Date
Ralf Corsepius
d89e247c7a Bump BINUTILS_RPMREL. 2010-08-26 02:16:19 +00:00
Ralf Corsepius
8c168003a5 Add binutils-pr11939 patch. 2010-08-26 02:15:42 +00:00
Joel Sherrill
4cce3f97c5 2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 93/NO_EFFECT
	Coverity Id 94/NO_EFFECT
	* libcsupport/src/readv.c, libcsupport/src/writev.c: size_t is unsigned
	so it is useless to check for < 0.
2010-08-25 22:25:18 +00:00
Till Straumann
5ece7981f1 2010-08-25 Till Straumann <strauman@slac.stanford.edu>
PR 1689/bsps
	* shared/flash/intelFlash.c: Scale erase timeout by actual
	system clock rate rather than assuming a fixed value.
2010-08-25 22:21:14 +00:00
Joel Sherrill
ae336ea4be 2010-08-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* .cvsignore: New file.
2010-08-25 22:15:44 +00:00
Joel Sherrill
39aa5cfae0 2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 125
	Coverity Id 126
	* libi2c/libi2c.c: Use strncpy and snprintf.
2010-08-25 21:17:03 +00:00
Joel Sherrill
49460dc6d4 2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/coremsginsert.c: Fix typo.
2010-08-25 20:48:43 +00:00
Joel Sherrill
f8b7c83d37 2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 148/STRAY_SEMICOLON
	* score/src/coremsginsert.c: Slightly modify macro.
2010-08-25 20:47:33 +00:00
Joel Sherrill
ce3bfb7e47 2010-08-25 Gedare Bloom <giddyup44@yahoo.com>
PR 1688/libcpu
	* shared/score/interrupt.S: Fix bug in the sun4u _ISR_Dispatch code
	that ends up cloberring the global registers. It manifests primarily
	as a memory alignment error when the globals are used to read to/from
	memory.
2010-08-25 20:33:25 +00:00
Joel Sherrill
21e3de112c 2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 169
	* libmisc/stackchk/check.c: Readd line accidentally deleted between
	1.67 and 1.68.
2010-08-25 20:29:41 +00:00
Joel Sherrill
d4a97df3fd 2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 163
	* libmisc/stackchk/check.c: Adjust conditional compilation.
2010-08-25 20:15:56 +00:00
Joel Sherrill
4b556660f1 2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 164/UNINIT
	Coverity Id 165/UNINIT
	* posix/src/prwlockinit.c, posix/src/pspininit.c,
	score/include/rtems/score/corespinlock.h,
	score/inline/rtems/score/corerwlock.inl,
	score/inline/rtems/score/corespinlock.inl: Add initialization helpers
	for score rwlock and spinlock. Use them from POSIX.
2010-08-25 20:01:47 +00:00
Sebastian Huber
1b5a0ecef7 2010-08-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/free.c, libcsupport/src/malloc.c,
	libcsupport/src/malloc_initialize.c: Remove heap walks in case
	RTEMS_DEBUG is defined.
2010-08-25 14:30:01 +00:00
Sebastian Huber
5bb3197dfe 2010-08-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* spheapprot/.cvsignore, spheapprot/Makefile.am,
	spheapprot/spheapprot.doc, spheapprot/spheapprot.scn: New files.
	* Makefile.am, configure.ac: Reflect changes above.
2010-08-25 13:05:47 +00:00
Ralf Corsepius
0d10d566fa Regenerate. 2010-08-25 12:46:46 +00:00
Ralf Corsepius
b51eb88b2c Bump GCC_RPMREL. 2010-08-25 12:46:17 +00:00
Ralf Corsepius
763e117ba4 newlib-1.18.0-rtems4.11-20100825.diff. 2010-08-25 12:46:01 +00:00
Ralf Corsepius
0fa653a68e New. 2010-08-25 12:45:40 +00:00
Sebastian Huber
cfe3c083cc 2010-08-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* malloctest/init.c: Update for heap API changes.
2010-08-25 12:38:48 +00:00
Sebastian Huber
4d73c382ab 2010-08-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1672/cpukit
	* score/include/rtems/score/heap.h, score/src/heap.c,
	score/src/heapallocate.c, score/src/heapextend.c,
	score/src/heapfree.c, score/src/heapresizeblock.c,
	score/src/heapsizeofuserarea.c: Added heap protection in case
	RTEMS_DEBUG is defined.
2010-08-25 12:35:52 +00:00
Sebastian Huber
9788279237 2010-08-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libfs/src/imfs/imfs_fcntl.c: Removed file.
	* libfs/Makefile.am: Reflect change from above.
	* libfs/src/defaults/default_fcntl.c: Return 0 instead of -1 and errno.
	* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_fifo.c,
	libfs/src/imfs/imfs_handlers_directory.c,
	libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/nfsclient/src/nfs.c,
	libfs/src/rfs/rtems-rfs-rtems-dir.c,
	libfs/src/rfs/rtems-rfs-rtems-file.c, libfs/src/rfs/rtems-rfs-rtems.c,
	libfs/src/rfs/rtems-rfs-rtems.h: Use default file system handlers.
2010-08-25 09:37:49 +00:00
Sebastian Huber
d4d6bd813f 2010-08-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libblock/include/rtems/media.h, libblock/src/media-server.c: Use
	chains instead of a message queue.
2010-08-25 08:44:14 +00:00
Sebastian Huber
6ef96da17e 2010-08-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
CID 114/SECURE_CODING
	* libblock/src/media.c: Avoid strcpy().
2010-08-25 08:31:43 +00:00
Sebastian Huber
2b5bd836ce 2010-08-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
CID 113/SECURE_CODING
	* libblock/src/media-path.c: Avoid strcpy().  Style.  Use assert() to
	avoid dead code.
2010-08-25 08:26:21 +00:00
Joel Sherrill
e0b6d43e95 2010-08-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
* startup/init68360.c: Fix type punning warning.
2010-08-24 17:08:07 +00:00
Sebastian Huber
469e71d720 2010-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* spchain/init.c, spchain/spchain.doc, spchain/spchain.scn: New test
	cases.
2010-08-24 15:01:04 +00:00
Sebastian Huber
69f2a078c8 2010-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1673/cpukit
	* sapi/src/chainappendnotify.c, sapi/src/chaingetnotify.c,
	sapi/src/chaingetwait.c, sapi/src/chainprependnotify.c: New files.
	* sapi/Makefile.am: Reflect changes above.
	* sapi/include/rtems/chain.h: Declare
	rtems_chain_append_with_notification(),
	rtems_chain_prepend_with_notification(),
	rtems_chain_get_with_notification(), and rtems_chain_get_with_wait().
	* sapi/inline/rtems/chain.inl: Define
	rtems_chain_append_with_empty_check(),
	rtems_chain_prepend_with_empty_check(), and
	rtems_chain_get_with_empty_check().
2010-08-24 14:29:55 +00:00
Ralf Corsepius
b15fb6e065 2010-08-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/untar/untar.c: Return if open fails.
	Use ssize_t for read() return value.
2010-08-24 13:06:24 +00:00
Ralf Corsepius
89dbb28bd4 2010-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/aio_cancel.c: Spray pthread_mutex_unlocks.
2010-08-24 12:04:43 +00:00
Ralf Corsepius
e4522091c9 2010-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/aio_read.c: aio_nbytes is always >= 0.
2010-08-24 11:50:35 +00:00
Ralf Corsepius
7280e0a4a0 2010-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/aio_write.c: aio_nbytes is always >= 0.
	Fix typo in comment.
2010-08-24 06:46:29 +00:00
Ralf Corsepius
823a26fc22 2010-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/sys/utsname.h: Remove times().
	Remove unnecessary includes.
	Introduce SYS_NMLN (From freebsd).
	* libcsupport/src/utsname.c: Rework uname().
2010-08-24 05:51:51 +00:00
Joel Sherrill
0b4222f7cc 2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/read.c, libcsupport/src/write.c: Remove redundant
	check for 0 size request.
2010-08-23 23:19:31 +00:00
Joel Sherrill
5f1ad30d54 2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/open.c: Spacing.
2010-08-23 23:19:07 +00:00
Joel Sherrill
3fc6b5651f 2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* libi2c/libi2c.c: Fix typo in va_end().
2010-08-23 23:18:27 +00:00
Joel Sherrill
bf4766fe69 2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* libblock/src/flashdisk.c, libblock/src/nvdisk.c,
	libcsupport/src/ioctl.c, libfs/src/dosfs/fat_file.c: Add va_end().
2010-08-23 23:17:42 +00:00
Joel Sherrill
bab3862b22 2010-08-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
* startup/bspstart.c: Add include to fix warning.
2010-08-23 23:10:27 +00:00
Joel Sherrill
64c2aa9ae0 2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
CID 79/DEADCODE
	CID 78/DEADCODE
	CID 77/DEADCODE
	CID 76/DEADCODE
	* posix/src/condtimedwait.c, posix/src/mutextimedlock.c,
	posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
	posix/src/semtimedwait.c: Resolve various dead code issues identified
	by Coverity scanner.
2010-08-23 21:31:27 +00:00
Joel Sherrill
85b9e7fd96 2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>
CID 99
	CID 100
	CID 101
	CID 102
	* libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos.h,
	libfs/src/dosfs/msdos_misc.c: Resolve invalid use of const identified
	by Coverity scanner.
2010-08-23 21:29:31 +00:00
Joel Sherrill
2ff189dd0a 2010-08-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
* network/network.c: Fix warning.
2010-08-23 17:14:11 +00:00
Sebastian Huber
a19ae9ec60 2010-08-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1673/cpukit
	* score/src/chainappendempty.c, score/src/chaingetempty.c,
	score/src/chainprependempty.c: New files.
	* score/Makefile.am: Reflect changes above.
	* score/include/rtems/score/chain.h: Declare
	_Chain_Append_with_empty_check(), _Chain_Prepend_with_empty_check(),
	and _Chain_Get_with_empty_check().
	* score/inline/rtems/score/chain.inl: Define
	_Chain_Append_with_empty_check_unprotected(),
	_Chain_Prepend_with_empty_check_unprotected(), and
	_Chain_Get_with_empty_check_unprotected().
2010-08-23 16:10:53 +00:00
Joel Sherrill
ae1ce9be6c 2010-08-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
* irq/irq.h, startup/bspstart.c: Add includes to resolve warnings.
2010-08-23 16:08:53 +00:00
Joel Sherrill
33910b8401 2010-08-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
* network/network.c: Fix warning.
2010-08-23 15:43:55 +00:00
Sebastian Huber
c7eb1d450e Removed. 2010-08-23 09:13:58 +00:00
Sebastian Huber
b89e4cd89c 2010-08-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
* gxx01/gxx_wrappers.h, gxx02/.cvsignore, gxx02/Makefile.am,
	gxx02/gxx02.doc, gxx02/gxx02.scn, gxx02/init.c: Removed files.
	* Makefile.am, configure.ac: Reflect changes above.
	* gxx01/init.c: Removed fatal error test case.
2010-08-23 08:32:52 +00:00
Sebastian Huber
83636b5802 2010-08-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
* spfatal24/.cvsignore, spfatal24/Makefile.am,
	spfatal24/spfatal24.doc, spfatal24/spfatal24.scn,
	spfatal24/testcase.h, spfatal25/.cvsignore, spfatal25/Makefile.am,
	spfatal25/spfatal25.doc, spfatal25/spfatal25.scn,
	spfatal25/testcase.h: New files.
	* Makefile.am, configure.ac: Reflect changes above.
2010-08-23 08:27:34 +00:00
Sebastian Huber
4b9ddca40c 2010-08-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1671/cpukit
	* libcsupport/include/rtems/gxx_wrappers.h: New file.
	* libcsupport/Makefile.am, libcsupport/preinstall.am: Reflect change
	above.
	* libcsupport/src/gxx_wrappers.c: Include <rtems/gxx_wrappers.h>.  Use
	_Internal_error_Occurred() instead of rtems_panic().
	* score/include/rtems/score/interr.h: Added
	INTERNAL_ERROR_GXX_KEY_ADD_FAILED and
	INTERNAL_ERROR_GXX_MUTEX_INIT_FAILED.
2010-08-23 07:59:38 +00:00
Sebastian Huber
612ff40e8d 2010-08-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
* test/tests.c: Removed file.
	* startup/bspstart.c: Fixed warnings.
2010-08-23 07:38:50 +00:00
Sebastian Huber
d522354773 2010-08-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
* console/hsu.c: Fixed warnings.
2010-08-23 07:25:47 +00:00
Joel Sherrill
fc0af72d77 2010-08-20 <yann.sionneau@telecom-sudparis.eu>
* libchip/network/greth.c, libchip/network/open_eth.c: Add constants
	for buffer modes.
2010-08-20 21:26:10 +00:00