Joel Sherrill
1d33ecab00
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libcsupport/include/rtems/error.h, libcsupport/src/error.c: Clean up
so rtems_panic() can be a noreturn method. This eliminates some
unreachable and thus untestable code.
2010-06-28 22:13:55 +00:00
Joel Sherrill
6cc69f188b
2010-06-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* libcsupport/src/termios.c: Formatting.
2010-06-28 18:48:32 +00:00
Joel Sherrill
170f26aa17
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libmisc/dumpbuf/dumpbuf.c, libmisc/dumpbuf/dumpbuf.h: Add const.
2010-06-28 14:33:34 +00:00
Jennifer Averett
f9a4e80f86
2010-06-25 Jennifer Averett <Jennifer.Averett@OARcorp.com
...
* libcsupport/include/rtems/libio.h, libfs/Makefile.am: Added default
filesystem handlers.
* libfs/src/defaults/default_chown.c,
libfs/src/defaults/default_evalpath.c,
libfs/src/defaults/default_fchmod.c,
libfs/src/defaults/default_fcntl.c,
libfs/src/defaults/default_fdatasync.c,
libfs/src/defaults/default_freenode.c,
libfs/src/defaults/default_fsmount.c,
libfs/src/defaults/default_fstat.c,
libfs/src/defaults/default_fsync.c,
libfs/src/defaults/default_ftruncate.c,
libfs/src/defaults/default_ioctl.c,
libfs/src/defaults/default_link.c,
libfs/src/defaults/default_lseek.c,
libfs/src/defaults/default_mount.c,
libfs/src/defaults/default_read.c,
libfs/src/defaults/default_readlink.c,
libfs/src/defaults/default_rename.c,
libfs/src/defaults/default_rmnod.c,
libfs/src/defaults/default_statvfs.c,
libfs/src/defaults/default_symlink.c,
libfs/src/defaults/default_unlink.c,
libfs/src/defaults/default_utime.c,
libfs/src/defaults/default_write.c: New files.
2010-06-25 14:23:48 +00:00
Joel Sherrill
569b3f4141
2010-06-24 Gedare Bloom <giddyup44@yahoo.com>
...
PR 1589/cpukit
* score/Makefile.am, score/include/rtems/score/thread.h,
score/inline/rtems/score/thread.inl: Make _Thread_Evaluate_mode() an
inline method. It is only used in one place and relatively simple.
* score/src/threadevaluatemode.c: Removed.
2010-06-24 22:40:32 +00:00
Joel Sherrill
4d32a76de0
2010-06-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* libfs/src/imfs/memfile.c: Fix assert.
2010-06-24 22:01:49 +00:00
Joel Sherrill
a9ea7088e3
2010-06-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* libcsupport/src/read.c, libcsupport/src/write.c: read(2) and write(2)
should return 0 when passed a count of 0 after verifying other
possible errors.
2010-06-24 21:48:52 +00:00
Joel Sherrill
efd6e8e5a0
2010-06-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* libfs/src/imfs/imfs_creat.c: Fix warning.
2010-06-24 21:37:08 +00:00
Joel Sherrill
983bfad210
2010-06-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_debug.c,
libfs/src/imfs/imfs_directory.c, libfs/src/imfs/imfs_eval.c,
libfs/src/imfs/imfs_fsunmount.c, libfs/src/imfs/imfs_getchild.c,
libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/ioman.c,
libfs/src/imfs/memfile.c: Evaluate all assert calls in IMFS. Either
made them conditional on RTEMS_DEBUG or eliminated them.
2010-06-24 21:31:22 +00:00
Joel Sherrill
8bef4ccfb0
2010-06-24 Gedare Bloom <giddyup44@yahoo.com>
...
PR 1590/cpukit
* score/Makefile.am, score/include/rtems/score/thread.h,
score/src/threadtickletimeslice.c: Remove _Thread_Reset_timeslice and
replaces its single use with a call to the functionally equivalent
_Thread_Yield_processor().
* score/src/threadresettimeslice.c: Removed.
2010-06-24 21:27:30 +00:00
Joel Sherrill
2d1994c949
2010-06-24 Bharath Suri <bharath.s.jois@gmail.com>
...
PR 1542/filesystem
PR 1585/filesystem
* libfs/src/pipe/fifo.c: pipe_control_t was not deallocated if
fifo_open() was attempted with (O_WRONLY|O_NONBLOCK).
Mutex was locked too many times on this path and we needed an unlock.
2010-06-24 19:57:58 +00:00
Joel Sherrill
eb8c45dfdf
2010-06-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
PR 1587/filesystem
Coverity Id 35
* libfs/src/rfs/rtems-rfs-shell.c: Address possible NULL dereference.
2010-06-24 13:28:39 +00:00
Joel Sherrill
da9b538965
2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* libmisc/stackchk/check.c: More clean up and coverage improvements..
2010-06-23 23:28:46 +00:00
Joel Sherrill
2d637b20f6
2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* libmisc/stackchk/check.c: Clean up to improve coverage.
2010-06-23 18:18:42 +00:00
Chris Johns
68b49f1955
2010-06-23 Chris Johns <chrisj@rtems.org>
...
PR 1577/filesystem
* libfs/src/pipe/fifo.c: Fixed the error codes returned on open.
2010-06-23 05:01:46 +00:00
Chris Johns
ac03a9b82f
2010-06-23 Chris Johns <chrisj@rtems.org>
...
* rtems/Makefile.am: Remove the stray 'c' file.
2010-06-23 03:10:34 +00:00
Jennifer Averett
e525f66b09
2010-06-22 Jennifer Averett <Jennifer.Averett@OARcorp.com>
...
* libcsupport/Makefile.am, libcsupport/include/rtems/libio_.h: Moved
method to free a node from a define to an external method.
* libcsupport/src/freenode.c: New file.
2010-06-22 20:03:41 +00:00
Jennifer Averett
f5dc557118
2010-06-22 Jennifer Averett <Jennifer.Averett@OARcorp.com>
...
* posix/src/nanosleep.c, posix/src/timersettime.c: Removed redundent
code and cleaned up error checking code.
2010-06-22 15:36:06 +00:00
Sebastian Huber
da361aa97d
2010-06-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/src/mount.c: Fixed string assignment in mount entry
allocation.
2010-06-22 14:20:49 +00:00
Sebastian Huber
0378b47884
2010-06-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/src/mount.c: Fixed string assignment in mount entry
allocation.
2010-06-22 13:31:13 +00:00
Joel Sherrill
816aab9142
2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* posix/src/keycreate.c, posix/src/killinfo.c: Remove more ITRON
references.
2010-06-21 22:54:54 +00:00
Joel Sherrill
0de235f97f
2010-06-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
PR 1581/cpukit
* libcsupport/include/rtems/malloc.h, sapi/include/confdefs.h: Remove
extra * on function pointer declaration.
2010-06-21 21:13:42 +00:00
Joel Sherrill
d8af86bf22
2010-06-21 Peter Dufault <dufault@hda.com>
...
PR 1570/cpukit
* posix/src/semtimedwait.c: This routine is supposed to return -1/errno
NOT the status directly.
2010-06-21 16:38:26 +00:00
Joel Sherrill
ad376300ac
2010-06-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
PR 1554/cpukit
Coverity Id 17
* libi2c/libi2c.c, score/src/objectextendinformation.c: Fix memory leak
on error.
2010-06-21 16:27:37 +00:00
Joel Sherrill
0b95fb8057
2010-06-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
PR 1559/misc
Coverity Id 16
* libmisc/monitor/mon-editor.c: Fix buffer overflow.
2010-06-21 16:25:09 +00:00
Joel Sherrill
46e69ff4a6
2010-06-20 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* sapi/include/confdefs.h: Add parameters for FIFOs and pipes since
they are distinct to the user.
2010-06-20 19:41:33 +00:00
Joel Sherrill
659019e3de
2010-06-19 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* sapi/include/confdefs.h: Add CONFIGURE_MAXIMUM_FIFOS to account for
resources per FIFO instance.
2010-06-19 23:39:56 +00:00
Ralf Corsepius
432c4f08dc
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/rtems/mkrootfs.h: doxygen cosmetics.
2010-06-18 10:03:40 +00:00
Ralf Corsepius
e532099e5a
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/netinet/if_ether.c: Misc. 64bit fixes from FreeBSD.
2010-06-18 09:57:54 +00:00
Ralf Corsepius
70611700ff
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libfs/src/nfsclient/src/rpcio.c: Misc. 64bit fixes.
2010-06-18 09:36:02 +00:00
Ralf Corsepius
c86cc72204
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/include/rtems/rtems/object.h: Remove OBJECTS_ITRON_API.
2010-06-18 05:28:04 +00:00
Ralf Corsepius
dcd0e4c882
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/src/rtemsobjectidapimaximum.c: Remove OBJECTS_ITRON_API.
2010-06-18 04:22:24 +00:00
Ralf Corsepius
424e47e9b5
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* score/include/rtems/score/object.h: Remove OBJECTS_ITRON_API.
2010-06-18 04:21:19 +00:00
Ralf Corsepius
f0caa057fa
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* score/include/rtems/score/thread.h: Remove ITRON.
2010-06-18 04:20:06 +00:00
Ralf Corsepius
226d66d54c
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* score/include/rtems/score/interr.h: Remove ITRON.
2010-06-18 04:08:47 +00:00
Ralf Corsepius
691a5c6c54
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/mainpage.h: Remove comment referring to ITRON.
2010-06-18 04:07:20 +00:00
Ralf Corsepius
e88c7b7964
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/src/rtemsobjectgetapiname.c: Remove ITRON.
2010-06-18 04:05:05 +00:00
Ralf Corsepius
1a5f4bc772
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* sapi/include/rtems/config.h: Remove ITRON.
2010-06-18 04:04:05 +00:00
Ralf Corsepius
c5a359bba8
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* score/src/objectapimaximumclass.c: Remove OBJECTS_ITRON_API.
2010-06-18 04:03:04 +00:00
Ralf Corsepius
4b24055fb1
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* score/include/rtems/system.h: Remove ITRON_EXTERN.
2010-06-18 04:00:54 +00:00
Ralf Corsepius
a2e1773108
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* score/src/apiext.c: Remove comment referring to ITRON.
2010-06-18 03:59:55 +00:00
Ralf Corsepius
c51318ad23
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* core/include/rtems/score/object.h: Remove Objects_ITRON_API.
2010-06-18 03:58:21 +00:00
Ralf Corsepius
d9f7ea07b5
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* rtems/src/rtemsobjectgetapiclassname.c,
sapi/include/rtems/config.h, sapi/src/exinit.c:
Remove RTEMS_ITRON_API conditional blocks.
2010-06-18 03:03:32 +00:00
Ralf Corsepius
08c3066fa1
Remove RTEMS_ITRON_API conditional blocks.
2010-06-18 03:03:22 +00:00
Ralf Corsepius
d83c90f1fe
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* sapi/Makefile.am: Remove src/itronapi.c.
* sapi/src/itronapi.c: Remove.
2010-06-18 02:58:15 +00:00
Ralf Corsepius
7429965b11
2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* score/src/threadsuspend.c, score/src/threadresume.c,
score/src/threadreset.c, score/src/threadinitialize.c,
score/src/apiext.c, score/include/rtems/score/thread.h,
score/include/rtems/score/coresem.h:
Remove RTEMS_ITRON_API conditional blocks.
2010-06-18 02:56:42 +00:00
Ralf Corsepius
1ada6163d8
Remove RTEMS_ITRON_API conditional blocks.
2010-06-18 02:56:26 +00:00
Chris Johns
099cdd5b03
2010-06-18 Chris Johns <chrisj@rtems.org>
...
* libfs/src/rfs/rtems-rfs-file-block.c: Clean up uint64_t maths.
2010-06-17 22:04:51 +00:00
Chris Johns
ca8c50deae
2010-06-18 Chris Johns <chrisj@rtems.org>
...
* libfs/src/rfs/rtems-rfs-file-system.h,
libfs/src/rfs/rtems-rfs-file-system.c: Move questionable macros to
C functions.
2010-06-17 22:00:47 +00:00
Joel Sherrill
97e2fc3f61
2010-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* sapi/include/confdefs.h: Remove ITRON configuration parameters.
2010-06-17 18:39:28 +00:00