Joel Sherrill
9bd0258dae
2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* sapi/include/confdefs.h: Spelling.
2010-07-26 22:20:43 +00:00
Joel Sherrill
77c330ce3d
2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libcsupport/src/privateenv.c, libmisc/cpuuse/cpuusagereport.c,
posix/Makefile.am, posix/include/rtems/posix/key.h,
posix/src/keycreate.c, posix/src/keydelete.c,
score/src/iterateoverthreads.c: Since removing ITRON, the loop over
all APIs for tasks has a path that cannot be reached. Either modify
the code or mark tests for NULL as RTEMS_DEBUG.
* posix/src/keyfreememory.c: New file.
2010-07-26 22:03:18 +00:00
Joel Sherrill
bc3fe3c7f0
2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libfs/src/imfs/imfs_load_tar.c: Formatting.
2010-07-26 21:29:24 +00:00
Joel Sherrill
80c1577382
2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* sapi/include/confdefs.h: Do not cover up user configuation mistakes
on filesystems -- cite them as errors.
2010-07-26 21:28:06 +00:00
Joel Sherrill
04323c98d2
2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* rtems/src/ratemonperiod.c: Remove tabs.
2010-07-26 20:27:04 +00:00
Joel Sherrill
80031e28ed
2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac: Add test to extract a task blocked with
timeout on a priority ordered thread queue.
* sp72/.cvsignore, sp72/Makefile.am, sp72/init.c, sp72/sp72.doc,
sp72/sp72.scn: New files.
2010-07-26 15:38:41 +00:00
Joel Sherrill
7eef54e1ff
2010-07-26 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* rtems/src/ratemonperiod.c: Use if not switch since all cases of enum
are not valid and switch was generating dead code.
2010-07-26 13:49:01 +00:00
Ralf Corsepius
b478902eb1
Regenerate.
2010-07-26 09:42:46 +00:00
Ralf Corsepius
935b8ee9aa
Upgrade to gcc-4.5.1-RC-20100722.
2010-07-26 09:41:53 +00:00
Joel Sherrill
04ecf40405
2010-07-25 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* gxx01/gxx01.scn, gxx01/init.c: Remove local _exit().
2010-07-25 15:51:55 +00:00
Joel Sherrill
118cc56c10
2010-07-25 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* gxx01/gxx01.scn, gxx01/init.c: Add test f0r rtems_gxx_key_dtor().
2010-07-25 15:48:16 +00:00
Joel Sherrill
39d3f8de54
2010-07-25 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* sapi/include/rtems/init.h: Mark rtems_shutdown_executive as a
noreturn method.
2010-07-25 15:13:35 +00:00
Joel Sherrill
972a8dba72
2010-07-25 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* gxx01/gxx01.scn, gxx01/init.c: Add more testcases.
2010-07-25 14:53:37 +00:00
Joel Sherrill
cb87694407
2010-07-25 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libcsupport/src/gxx_wrappers.c: Free contents of key not key itself.
Kye pointer will never be malloc'ed.
2010-07-25 14:52:27 +00:00
Joel Sherrill
a5bbb06141
2010-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libcsupport/Makefile.am, libcsupport/src/termios_baud2num.c,
libcsupport/src/termios_num2baud.c: Use RTEMS associations to
simplify code and make easier for coverage.
* libcsupport/src/termios_baudtable.c: New file.
2010-07-24 16:12:49 +00:00
Joel Sherrill
bdf879323e
2010-07-23 Vinu Rajashekhar <vinutheraj@gmail.com>
...
* start/start.S: Replace the call to _return_to_monitor by
hlt instruction.
* startup/ldsegs.S: Remove the _return_to_monitor function.
2010-07-23 12:24:06 +00:00
Joel Sherrill
3364576344
2010-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
...
PR 1627/testing
* libfs/src/devfs/devstat.c:
2010-07-23 00:11:32 +00:00
Joel Sherrill
b28cb82e4f
2010-07-22 Bharath Suri <bharath.s.jois@gmail.com>
...
* devfs02/init.c, devfs02/devfs02.doc, devfs02/devfs02.scn,
devfs02/Makefile.am: New tests added
* devfs03/init.c, devfs03/devfs03.doc, devfs03/devfs03.scn,
devfs03/Makefile.am: New tests added
* devfs04/init.c, devfs04/devfs04.doc, devfs04/devfs04.scn,
devfs04/Makefile.am: New tests added
* Makefile.am, configure.ac: Changes to accommodate the above
newly added tests.
2010-07-22 11:54:10 +00:00
Joel Sherrill
59211c6616
2010-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* timer/timer.c: Do not do the indirect call if NULL.
2010-07-21 12:33:58 +00:00
Joel Sherrill
78da8ac396
2010-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac, termios06/init.c: Add initial tests for
XON/XOFF and VMIN/VMAX cases.
* termios07/.cvsignore, termios07/Makefile.am, termios07/init.c,
termios07/termios07.doc, termios07/termios07.scn,
termios08/.cvsignore, termios08/Makefile.am, termios08/init.c,
termios08/termios08.doc, termios08/termios08.scn: New files.
2010-07-19 13:54:47 +00:00
Joel Sherrill
efdc6987a7
2010-07-19 Bharath Suri <bharath.s.jois@gmail.com>
...
PR 1623/testing
* psx13/test.c, psx13/psx13.scn: New cases to improve coverage of
utime() and fpathconf().
* psxfile01/test.c, psxfile01/psxfile01.scn: New cases to improve
coverage of rmdir(), unlink(), mknod(), link(), open(), read(),
write().
* psxstat/test.c, psxstat/psxstat.scn: New case to improve
coverage of readlink().
2010-07-19 13:13:20 +00:00
Joel Sherrill
741343ad8e
2010-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac: Add tar test for error cases.
* tar03/.cvsignore, tar03/Makefile.am, tar03/init.c, tar03/tar03.doc,
tar03/tar03.scn: New files.
2010-07-19 13:12:40 +00:00
Joel Sherrill
e41e75def2
2010-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* stringto01/init.c, stringto01/stringto01.scn,
stringto01/stringto_test_template.h: Attempt to pick up a few more
error paths.
2010-07-19 13:10:48 +00:00
Joel Sherrill
24db9ba8bb
2010-07-17 Bharath Suri <bharath.s.jois@gmail.com>
...
PR 1622/testing
* psxchroot01/test.c, psxchroot01/psxchroot01.scn: Added two test
cases to completely cover chroot().
2010-07-16 19:19:09 +00:00
Joel Sherrill
917e4b4781
2010-07-16 Bharath Suri <bharath.s.jois@gmail.com>
...
PR 1617/testing
* spmountmgr01/init.c, spmountmgr01/spmountmgr01.scn,
spmountmgr01/spmountmgr01.doc: Added cases to exercise
mount-mktgt.c.
2010-07-16 15:01:11 +00:00
Sebastian Huber
b8e7e2f623
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/src/link.c: Do not overwrite errno with return status.
2010-07-16 09:24:51 +00:00
Sebastian Huber
320fe72c1f
2010-07-16 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
...
* psxfile01/test.c: Avoid NULL pointer access.
2010-07-16 09:23:42 +00:00
Sebastian Huber
89b85e5100
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* rtems/score/cpu.h: Include <rtems/score/types.h> first.
* rtems/score/types.h: Use <rtems/score/basedefs.h> header file.
2010-07-16 08:46:29 +00:00
Sebastian Huber
af16a7d29a
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* rtems/new-exceptions/cpu.h: Removed file.
* Makefile.am, preinstall.am: Reflect change above.
* rtems/score/cpu.h: Include <rtems/score/types.h> first. Added
contents of <rtems/new-exceptions/cpu.h>.
* rtems/score/types.h: Use <rtems/score/basedefs.h> header file.
2010-07-16 08:45:02 +00:00
Sebastian Huber
9f9a82bdce
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* score/include/rtems/score/basedefs.h: New file.
* score/Makefile.am, score/preinstall.am: Reflect change above.
* score/include/rtems/score/percpu.h: Include <rtems/score/cpu.h>.
* score/include/rtems/system.h: Moved definition of SCORE_EXTERN,
SAPI_EXTERN, RTEMS_EXTERN, POSIX_EXTERN, RTEMS_INLINE_ROUTINE,
RTEMS_COMPILER_MEMORY_BARRIER, RTEMS_COMPILER_NO_RETURN_ATTRIBUTE,
RTEMS_COMPILER_DEPRECATED_ATTRIBUTE, TRUE, and FALSE to
<rtems/score/basedefs.h>.
Removed include of <rtems/score/cpu.h>, <stdint.h> and <stddef.h>.
2010-07-16 08:31:34 +00:00
Sebastian Huber
17ecd5a06f
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libmd/md4.c: Removed definition of TRUE and FALSE.
2010-07-16 07:45:18 +00:00
Joel Sherrill
e77a193482
2010-07-15 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libcsupport/src/privateenv.c: Fix bug.
2010-07-15 21:31:10 +00:00
Joel Sherrill
bbe6a5fe81
2010-07-15 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
...
PR 1607/cpukit
* score/src/coremutexsurrender.c: Clean up and split out helper
routines.
2010-07-15 15:44:40 +00:00
Joel Sherrill
947015fbf3
2010-07-15 Bharath Suri <bharath.s.jois@gmail.com>
...
PR 1617/testing
* psxfile01/test.c, psxfile01/psxfile01.scn: Added new cases to
exercise_link_r and _unlink_r
* psxstat/test.c, psxstat/psxstat.scn: Added new cases to exercise
_lstat_r and _stat_r.
* psxtime/test.c, psxtime/psxtime.scn: Added new cases to exercise
_gettimeofday.
2010-07-15 13:59:25 +00:00
Joel Sherrill
66ed5ff777
2010-07-15 Bharath Suri <bharath.s.jois@gmail.com>
...
PR 1617/testing
* malloctest/init.c: Added new case to exercise _realloc_r.
2010-07-15 13:54:54 +00:00
Joel Sherrill
c275f71b39
2010-07-15 Bharath Suri <bharath.s.jois@gmail.com>
...
PR 1617/testing
* spmountmgr01/init.c, spmountmgr01/Makefile.am,
spmountmgr/.cvsignore, spmountmgr01/spmountmgr01.doc,
spmountmgr01/spmountmgr01.scn: New test which improves coverage
of mount-mgr.c under libcsupport.
* Makefile.am, configure.ac: Changes to accommodate the new test.
2010-07-15 13:53:28 +00:00
Sebastian Huber
be4e3d6fbc
2010-07-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* malloctest/init.c: Added test for
rtems_heap_allocate_aligned_with_boundary().
2010-07-15 13:36:25 +00:00
Sebastian Huber
d0ef58ad74
2010-07-16 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
...
* psxstat/test.c: Avoid NULL pointer access.
2010-07-15 12:15:56 +00:00
Sebastian Huber
f4dea06bab
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libfs/src/imfs/imfs.h: Changed IMFS_jnode_types_t to an enum.
Removed IMFS_NUMBER_OF_TYPES define.
* libfs/src/imfs/imfs_debug.c: Removed IMFS_types.
2010-07-15 08:59:46 +00:00
Sebastian Huber
de39b5127d
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/include/rtems/libio_.h: Removed rtems_filesystem_null_handlers.
* libcsupport/src/fs_null_handlers.c: Removed file.
* libcsupport/Makefile.am: Reflect change above.
* libfs/src/nfsclient/src/nfs.c, libfs/src/imfs/imfs_creat.c,
libfs/src/imfs/imfs_init.c, libfs/src/imfs/miniimfs_init.c: Use
rtems_filesystem_handlers_default instead of
rtems_filesystem_null_handlers.
* libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c:
Initialize handler and operations table with proper defaults.
2010-07-15 08:46:06 +00:00
Sebastian Huber
fd2b1634bb
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/include/rtems/libio.h: Removed file_info and handlers
fields in rtems_libio_t.
* libcsupport/src/close.c, libcsupport/src/fcntl.c,
libcsupport/src/fdatasync.c, libcsupport/src/fstat.c,
libcsupport/src/fsync.c, libcsupport/src/ftruncate.c,
libcsupport/src/getdents.c, libcsupport/src/ioctl.c,
libcsupport/src/libio_sockets.c, libcsupport/src/lseek.c,
libcsupport/src/open.c, libcsupport/src/read.c,
libcsupport/src/readv.c, libcsupport/src/write.c,
libcsupport/src/writev.c, libfs/src/devfs/devclose.c,
libfs/src/devfs/devioctl.c, libfs/src/devfs/devopen.c,
libfs/src/devfs/devread.c, libfs/src/devfs/devwrite.c
libfs/src/dosfs/msdos_dir.c libfs/src/dosfs/msdos_file.c
libfs/src/imfs/deviceio.c libfs/src/imfs/imfs_directory.c
libfs/src/imfs/imfs_fifo.c libfs/src/imfs/memfile.c
libfs/src/nfsclient/src/nfs.c libfs/src/rfs/rtems-rfs-rtems-file.c
libfs/src/rfs/rtems-rfs-rtems.h libnetworking/lib/ftpfs.c: Reflect
changes above.
2010-07-15 08:10:48 +00:00
Sebastian Huber
106d8f5e74
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_node_type.c: Fixed
devFS_node_type() prototype.
2010-07-15 07:59:57 +00:00
Sebastian Huber
0266c0e859
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* score/include/rtems/seterr.h: Include <errno.h>.
2010-07-15 07:40:28 +00:00
Sebastian Huber
1e01385ff0
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libcsupport/include/rtems/libio.h: Changed
rtems_filesystem_node_types_t to an enum. Declare
rtems_filesystem_handlers_default,
rtems_filesystem_operations_default,
rtems_filesystem_default_evalpath(),
rtems_filesystem_default_evalformake, and
rtems_filesystem_default_node_type().
* libfs/src/dosfs/msdos.h: Fixed msdos_node_type() prototype.
* libfs/src/defaults/default_evalformake.c,
libfs/src/defaults/default_handlers.c,
libfs/src/defaults/default_node_type.c,
libfs/src/defaults/default_ops.c: New files.
* libfs/Makefile.am: Reflect changes above.
2010-07-15 07:36:37 +00:00
Joel Sherrill
216715075b
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac: Add new test to exercise devFS_Show().
* devfs01/.cvsignore, devfs01/Makefile.am, devfs01/devfs01.doc,
devfs01/devfs01.scn, devfs01/init.c: New files.
2010-07-14 23:53:49 +00:00
Joel Sherrill
8911ffd33f
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac: Add new test to exercise
malloc_get_statistics().
* malloc05/.cvsignore, malloc05/Makefile.am, malloc05/init.c,
malloc05/malloc05.doc, malloc05/malloc05.scn: New files.
2010-07-14 23:29:45 +00:00
Joel Sherrill
830c6eee8e
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
PR 1535/tests
* malloc04/init.c, malloc04/malloc04.scn: Address issues in test. A mix
of work by Ralf and Joel.
2010-07-14 23:23:12 +00:00
Joel Sherrill
ba959a4b1c
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* spprintk/init.c, spprintk/spprintk.doc, spprintk/spprintk.scn: Clean
up and add test of getchark().
2010-07-14 23:17:48 +00:00
Joel Sherrill
fa1269216a
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* spfatal21/Makefile.am: Fix typo.
2010-07-14 17:03:36 +00:00
Joel Sherrill
be8bdff62b
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* support/include/test_support.h, support/src/test_support.c: Add
Allocate_majority_of_heap().
2010-07-14 16:03:57 +00:00