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
89b897f020
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psxtime/psxtime.scn, psxtime/test.c: Add test for passing a null
pointer.
2010-06-28 21:00:15 +00:00
Joel Sherrill
ef87186893
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* configure.ac: Remove reference to RTEMS_OBJECT_FORMAT.
2010-06-28 19:53:00 +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
43efb633ba
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac: Add test to exercise IMFS behaviour with
files of maximum sizes.
* psximfs01/.cvsignore, psximfs01/Makefile.am, psximfs01/init.c,
psximfs01/psximfs01.doc, psximfs01/psximfs01.scn: New files.
2010-06-28 18:48:25 +00:00
Joel Sherrill
03a47f6e06
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac: Revert changes related to uncommitted test
under development.
2010-06-28 17:15:44 +00:00
Joel Sherrill
33ece501be
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac, malloctest/init.c, termios03/init.c,
termios03/termios03.scn: Handle some of the VKILL and VERASE cases.
2010-06-28 17:05:25 +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
Joel Sherrill
c55bbe806e
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* sp69/Makefile.am: Really needs spin.c
2010-06-28 14:28:40 +00:00
Joel Sherrill
ecefc8ea52
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
...
PR 1591/bsps
* preinstall.am: Regenerate.
2010-06-28 14:25:29 +00:00
Joel Sherrill
b6eaf42933
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac: Add new test to exercise termios RX and TX
interrupt driven IO support.
* termios04/.cvsignore, termios04/Makefile.am, termios04/init.c,
termios04/termios04.doc, termios04/termios04.scn,
termios04/termios_testdriver_intr.c,
termios04/termios_testdriver_intr.h: New files.
2010-06-28 14:23:19 +00:00
Joel Sherrill
0308c02853
2010-06-26 Bharath Suri <bharath.s.jois@gmail.com>
...
PR 1592/testing
* Makefile.am, configure.ac: Changes to incorporate sperror01,
sperror02, sperror03
* sperror01/init.c, sperror02/init.c: New tests to exercise
rtems_error routine
* sperror03/init.c: New test to exercise rtems_panic routine
2010-06-28 14:03:45 +00:00
Joel Sherrill
9f61efdaa7
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* sp69/Makefile.am, sp71/Makefile.am, spfifo02/Makefile.am: Tests do
not need spin.c
2010-06-28 13:51:05 +00:00
Joel Sherrill
4b4cbdd68f
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* termios03/init.c, termios03/termios03.doc, termios03/termios03.scn,
termios03/termios_testdriver_polled.c,
termios03/termios_testdriver_polled.h: Add more test cases.
2010-06-28 13:42:25 +00:00
Joel Sherrill
4a3def384f
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* sp70/Makefile.am: Tests do not need spin.c
2010-06-28 13:24:25 +00:00
Joel Sherrill
1b9c0c5aee
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* malloc02/Makefile.am, malloc03/Makefile.am: Tests do not need spin.c
2010-06-28 13:23:27 +00:00
Joel Sherrill
d04a7e9316
2010-06-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* support/src/tmtests_support.c: Fix warning.
2010-06-25 16:59:06 +00:00
Joel Sherrill
69cab20e40
2010-06-25 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* termios03/.cvsignore, termios03/Makefile.am, termios03/init.c,
termios03/termios03.doc, termios03/termios03.scn,
termios03/termios_testdriver_polled.c,
termios03/termios_testdriver_polled.h: New files.
* Makefile.am, configure.ac: Add initial version of new test for polled
IO support in termios.
2010-06-25 16:52:26 +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
287febb503
2010-06-24 Bharath Suri <bharath.s.jois@gmail.com>
...
* Makefile.am, configure.ac: Removed some fifo tests.
* spfifo01/Makefile.am, spfifo01/init.c: Minor changes to avoid
excessive new lines in the output.
spfifo02/Makefile.am, spfifo02/init.c, spfifo02/spfifo02.doc,
spfifo02/spfifo02.scn, spfifo03/Makefile.am: Merge from spfifo08.
Also added a few more cases, mostly from spfifo04/init.c.
* spfifo03/init.c, spfifo03/spfifo03.doc, spfifo03/spfifo03.scn:
Previously was spfifo06. Configure parameter for pipes is used now.
* spfifo04/.cvsignore, spfifo04/Makefile.am, spfifo04/init.c,
spfifo04/spfifo04.doc, spfifo04/spfifo04.scn, spfifo08/.cvsignore,
spfifo08/Makefile.am, spfifo08/init.c, spfifo08/spfifo08.doc,
spfifo08/spfifo08.scn: Removed.
2010-06-24 19:46:40 +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
Sebastian Huber
d290bbb5b2
2010-06-24 Arnout Vandecappelle <arnout@mind.be>
...
PR 1586/misc
* libchip/i2c/spi-sd-card.h, libchip/i2c/spi-sd-card.c: Add retries to
SD card accesses.
2010-06-24 07:54:15 +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
ef08dc1f8a
2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* block01/Makefile.am, block02/Makefile.am, block03/Makefile.am,
block04/Makefile.am, block05/Makefile.am, block06/Makefile.am,
block07/Makefile.am, block08/Makefile.am, block09/Makefile.am,
block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am,
heapwalk/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am,
monitor02/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am,
rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am,
stringto01/Makefile.am, termios/Makefile.am, termios01/Makefile.am,
termios02/Makefile.am: Revert.
2010-06-23 23:26:08 +00:00
Joel Sherrill
24a5a1452f
2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* termios01/termios01.scn: Fix bug so existing test code for
rtems_termios_baud_to_index() is executed.
2010-06-23 23:25:45 +00:00
Joel Sherrill
ab59de4542
2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* block01/Makefile.am, block02/Makefile.am, block03/Makefile.am,
block04/Makefile.am, block05/Makefile.am, block06/Makefile.am,
block07/Makefile.am, block08/Makefile.am, block09/Makefile.am,
block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am,
heapwalk/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am,
monitor02/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am,
rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am,
stringto01/Makefile.am, termios/Makefile.am, termios01/Makefile.am,
termios01/init.c, termios02/Makefile.am: Fix bug so existing test
code for rtems_termios_baud_to_index() is executed.
2010-06-23 23:24:11 +00:00
Joel Sherrill
ec76b1148e
2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* Makefile.am, configure.ac: Revert accidentally committed patch.
2010-06-23 22:50:49 +00:00
Joel Sherrill
ce00f304d7
2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* psx01/Makefile.am, psx02/Makefile.am, psx03/Makefile.am,
psx04/Makefile.am, psx05/Makefile.am, psx06/Makefile.am,
psx07/Makefile.am, psx08/Makefile.am, psx09/Makefile.am,
psx10/Makefile.am, psx11/Makefile.am, psx12/Makefile.am,
psx13/Makefile.am, psx14/Makefile.am, psxalarm01/Makefile.am,
psxautoinit01/Makefile.am, psxautoinit02/Makefile.am,
psxbarrier01/Makefile.am, psxcancel/Makefile.am,
psxcancel01/Makefile.am, psxchroot01/Makefile.am,
psxcleanup/Makefile.am, psxcleanup01/Makefile.am,
psxclock/Makefile.am, psxcond01/Makefile.am, psxenosys/Makefile.am,
psxfatal01/Makefile.am, psxfatal02/Makefile.am,
psxfile01/Makefile.am, psxintrcritical01/Makefile.am,
psxitimer/Makefile.am, psxkey01/Makefile.am, psxkey02/Makefile.am,
psxkey03/Makefile.am, psxmount/Makefile.am, psxmsgq01/Makefile.am,
psxmsgq02/Makefile.am, psxmsgq03/Makefile.am, psxmsgq04/Makefile.am,
psxmutexattr01/Makefile.am, psxobj01/Makefile.am,
psxpasswd01/Makefile.am, psxrdwrv/Makefile.am,
psxreaddir/Makefile.am, psxrwlock01/Makefile.am,
psxsem01/Makefile.am, psxsignal01/Makefile.am,
psxsignal02/Makefile.am, psxsignal03/Makefile.am,
psxsignal04/Makefile.am, psxsignal05/Makefile.am,
psxspin01/Makefile.am, psxspin02/Makefile.am, psxstack01/Makefile.am,
psxstat/Makefile.am, psxsysconf/Makefile.am, psxtime/Makefile.am,
psxtimer01/Makefile.am, psxtimer02/Makefile.am,
psxualarm/Makefile.am, psxusleep/Makefile.am: Revert accidentally
committed patch.
2010-06-23 22:49:59 +00:00
Joel Sherrill
e6e4eecec5
2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* Makefile.am, configure.ac, psx01/Makefile.am, psx02/Makefile.am,
psx03/Makefile.am, psx04/Makefile.am, psx05/Makefile.am,
psx06/Makefile.am, psx07/Makefile.am, psx08/Makefile.am,
psx09/Makefile.am, psx10/Makefile.am, psx11/Makefile.am,
psx12/Makefile.am, psx13/Makefile.am, psx14/Makefile.am,
psxalarm01/Makefile.am, psxautoinit01/Makefile.am,
psxautoinit02/Makefile.am, psxbarrier01/Makefile.am,
psxcancel/Makefile.am, psxcancel01/Makefile.am,
psxchroot01/Makefile.am, psxcleanup/Makefile.am,
psxcleanup01/Makefile.am, psxclock/Makefile.am,
psxcond01/Makefile.am, psxenosys/Makefile.am, psxfatal01/Makefile.am,
psxfatal02/Makefile.am, psxfile01/Makefile.am, psxfile02/init.c,
psxfile02/psxfile02.doc, psxfile02/psxfile02.scn,
psxintrcritical01/Makefile.am, psxitimer/Makefile.am,
psxkey01/Makefile.am, psxkey02/Makefile.am, psxkey03/Makefile.am,
psxmount/Makefile.am, psxmsgq01/Makefile.am, psxmsgq02/Makefile.am,
psxmsgq03/Makefile.am, psxmsgq04/Makefile.am,
psxmutexattr01/Makefile.am, psxobj01/Makefile.am,
psxpasswd01/Makefile.am, psxrdwrv/Makefile.am,
psxreaddir/Makefile.am, psxrwlock01/Makefile.am,
psxsem01/Makefile.am, psxsignal01/Makefile.am,
psxsignal02/Makefile.am, psxsignal03/Makefile.am,
psxsignal04/Makefile.am, psxsignal05/Makefile.am,
psxspin01/Makefile.am, psxspin02/Makefile.am, psxstack01/Makefile.am,
psxstat/Makefile.am, psxsysconf/Makefile.am, psxtime/Makefile.am,
psxtimer01/Makefile.am, psxtimer02/Makefile.am,
psxualarm/Makefile.am, psxusleep/Makefile.am: Add test for fd greater
than number of file descriptors configured.
2010-06-23 22:48:44 +00:00
Jennifer Averett
32e5d81420
2010-06-23 Jennifer Averett <Jennifer.Averett@OARcorp.com>
...
* psxfile02/psxfile02.doc: Filled in documentation information.
2010-06-23 19:31:36 +00:00
Jennifer Averett
6cb72216e7
2010-06-23 Jennifer Averett <Jennifer Averett@OARcorp.com>
...
* Makefile.am, configure.ac: Added test case for calls that check for
an unopened file descriptor.
* psxfile02/.cvsignore, psxfile02/Makefile.am, psxfile02/init.c,
psxfile02/psxfile02.doc, psxfile02/psxfile02.scn: New files.
2010-06-23 18:43:24 +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
Sebastian Huber
0ed275ec44
Typo.
2010-06-23 16:32:49 +00:00
Ralf Corsepius
8dbb864f82
2010-06-23 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* configure.ac: autoconf >= 2.65, automake >= 1.11.
2010-06-23 13:32:58 +00:00
Sebastian Huber
3103d4cbad
2010-06-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* make/custom/lpc32xx_mzx_boot_int.cfg,
startup/linkcmds.lpc32xx_mzx_boot_int: Removed files.
* include/boot.h, include/emc.h, include/i2c.h, include/nand-mlc.h,
make/custom/lpc32xx_mzx.cfg, make/custom/lpc32xx_mzx_stage_1.cfg,
make/custom/lpc32xx_mzx_stage_2.cfg, misc/boot.c, misc/emc.c,
misc/i2c.c, misc/nand-mlc.c, misc/nand-mlc-read-blocks.c,
misc/nand-mlc-write-blocks.c, misc/restart.c,
startup/linkcmds.lpc32xx, startup/linkcmds.lpc32xx_mzx,
startup/linkcmds.lpc32xx_mzx_stage_1,
startup/linkcmds.lpc32xx_mzx_stage_2: New files.
* configure.ac, Makefile.am, preinstall.am: Reflect changes above.
* include/bsp.h, include/lpc32xx.h, irq/irq.c, rtc/rtc-config.c,
startup/bspstart.c, startup/bspstarthooks.c,
startup/linkcmds.lpc32xx_phycore: Changes throughout.
2010-06-23 08:27:57 +00:00
Sebastian Huber
b18fd861ba
2010-06-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* make/custom/lpc23xx_tli800.cfg, startup/linkcmds.lpc23xx_tli800: New
files.
* Makefile.am, configure.ac: Reflect changes above.
* startup/linkcmds.lpc2362: Typos.
* README: Documentation.
2010-06-23 08:11:28 +00:00
Sebastian Huber
b0cb645bce
2010-06-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* shared/startup/linkcmds.base: Define bsp_vector_table_size
unconditionally. Use bsp_vector_table_in_start_section.
2010-06-23 08:04:00 +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
Joel Sherrill
ba6f945a7e
2010-06-22 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* stackchk/blow.c, stackchk/stackchk.scn: Print a stack check report
before blowing stack.
2010-06-22 19:59:35 +00:00
Jennifer Averett
71a30785f2
2010-06-22 Jennifer Averett <Jennifer.Averett@OARcorp.com>
...
* Makefile.am, configure.ac: Added test that attempts to free stack
memory. This causes a error to be printed from the free function.
* malloc03/.cvsignore, malloc03/Makefile.am, malloc03/init.c,
malloc03/malloc03.doc, malloc03/malloc03.scn: New files.
2010-06-22 19:27:12 +00:00
Jennifer Averett
91e446f3ab
2010-06-22 Jennifer Averett <Jennifer.Averett@OARcorp.com>
...
* malloctest/init.c: Added error case with malloc of size 0.
2010-06-22 18:20:47 +00:00