Commit Graph

18124 Commits

Author SHA1 Message Date
Joel Sherrill
2212a2adf9 2009-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/Makefile.am, posix/include/rtems/posix/priority.h,
	posix/include/rtems/posix/pthread.h,
	posix/inline/rtems/posix/priority.inl, posix/src/killinfo.c,
	posix/src/pthread.c, posix/src/pthreadcreate.c,
	posix/src/pthreadsetschedparam.c: Various modifications to improve
	binary code coverage analysis. Some of these are to mark code as
	debug only. Some are to break conditional expressions into multiple
	lines. Some are to move inline methods that are not time critical
	into subroutines to make them easier to test. Inlining them multiple
	times means that their logic paths are spread across multiple
	methods. This explodes the test cases required.
	* posix/src/psxpriorityisvalid.c, posix/src/psxtransschedparam.c: New files.
2009-06-24 06:38:52 +00:00
Joel Sherrill
046f47154f 2009-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, spprintk/init.c, spprintk/spprintk.scn:
	Enhance spprintk. Add two new fatal error tests to cover
	__assert_func.
	* spfatal11/.cvsignore, spfatal11/Makefile.am, spfatal11/init.c,
	spfatal11/spfatal11.doc, spfatal11/spfatal11.scn: New files.
2009-06-24 06:35:29 +00:00
Joel Sherrill
b2cf98586c 2009-06-18 Fernando Nicodemos <fgnicodemos@terra.com.br>
* umon/umonrtemsglue.c: Add console device that uses MicroMonitor to do
	actual input and output. This driver should work on any board that
	uses MicroMonitor.
	* umon/umoncons.c: New file.
2009-06-18 19:58:35 +00:00
Joel Sherrill
737f8c4d5d 2009-06-18 Fernando Nicodemos <fgnicodemos@terra.com.br>
* Makefile.am, configure.ac, console/uarts.c: Add console device that
	uses MicroMonitor to do actual input and output. This driver should
	work on any board that uses MicroMonitor.
2009-06-18 19:58:27 +00:00
Joel Sherrill
753ddb2ffb 2009-06-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds, startup/linkcmds.csb637: Move .init section from
	the front of the executable so the start label has the first
	instruction in the executable.
2009-06-18 19:54:37 +00:00
Joel Sherrill
cbbc55ef71 2009-06-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxstat/psxstat.scn, psxstat/test.c: Disable test for error on wrong
	mode bits being set. This behavior was not POSIX compliant and has
	been corrected in the filesystem code.
2009-06-18 16:19:53 +00:00
Joel Sherrill
c1d924daa7 2009-06-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/regionextend.c: Restructure to eliminate dead code being
	generated.
2009-06-18 16:17:03 +00:00
Chris Johns
18105b44d9 2009-06-18 Chris Johns <chrisj@rtems.org>
* sp35/priinv.c, sp35/priinv.c: Declare unions volatile to
        workaround the H8300 gcc bug.
2009-06-17 22:59:16 +00:00
Chris Johns
f9eb21d863 2009-06-18 Chris Johns <chrisj@rtems.org>
* psx04/task3.c: Declare unions volatile to workaround the H8300
        gcc bug.
2009-06-17 22:58:19 +00:00
Chris Johns
c0075af37a 2009-06-18 Chris Johns <chrisj@rtems.org>
* telnetd/des.c: Split the des_f struct into smaller parts so
        targets that cannot address large structs can be supported.
2009-06-17 22:29:52 +00:00
Joel Sherrill
73c421b8ff 2009-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/ps2_mouse.c: Fix inconsistent spacing.
2009-06-17 22:05:39 +00:00
Joel Sherrill
202f93f347 2009-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/objectshrinkinformation.c: Fix spelling error.
2009-06-17 22:01:20 +00:00
Chris Johns
1205a7c9fe Changed the H8300 to lower case. 2009-06-17 22:01:18 +00:00
Chris Johns
6b2c314f20 2009-06-18 Chris Johns <chrisj@rtems.org>
* libmisc/shell/hexdump-odsyntax.c: H8300 has the same size float
        and double. Fix error in case statement.
2009-06-17 21:57:51 +00:00
Chris Johns
bf7cc57b0a 2009-06-18 Chris Johns <chrisj@rtems.org>
* score/cpu/mips/rtems/mips/idtcpu.h: Missed another WAIT
        define. Removed.
2009-06-17 21:15:16 +00:00
Till Straumann
f382d0fb22 2009-06-17 Till Straumann <strauman@slac.stanford.edu>
* vmeUniverse/vmeUniverse.c, vmeUniverse/vmeTsi148.c:
	include <rtems/pci.h> instead of <bsp/pci.h>.
2009-06-17 21:01:01 +00:00
Chris Johns
b311cbc957 2009-06-17 Chris Johns <chrisj@rtems.org>
* libmisc/shell/extern-dd.h: Delcare the conv arrays extern to
        stop PPC link errors.
        * libmisc/shell/main_time.c, libmisc/Makefile.am,
        libmisc/shell/shellconfig.h: Add a time command.
2009-06-17 05:34:33 +00:00
Joel Sherrill
ce57509cbd 2009-06-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/rtems/bspIo.h, libcsupport/Makefile.am: Add putk().
	* libcsupport/src/putk.c: New file.
2009-06-16 13:34:35 +00:00
Joel Sherrill
dba73982fd 2009-06-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/killinfo.c: Make easier to map coverage data.
2009-06-15 16:33:11 +00:00
Joel Sherrill
8bcb9e23d3 2009-06-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* umon/umonrtemsglue.c: Add flag to ensure that it umon connection is
	initialized twice, it is safe.
2009-06-15 15:49:12 +00:00
Joel Sherrill
d09de3d1d1 2009-06-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* umon/monlib.h: Add umon.h to be installed as <rtems/umon.h> so umon
	.h files are modified as little as possible.
	* umon/umon.h: New file.
2009-06-15 15:38:38 +00:00
Joel Sherrill
3f6500bf0a 2009-06-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, preinstall.am: Make an RTEMS specific umon.h wrapper
	include file.
2009-06-15 15:31:18 +00:00
Joel Sherrill
83e524e696 2009-06-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Re-add basic console code.
2009-06-15 14:36:48 +00:00
Chris Johns
6576c1d7ea 2009-06-15 Chris Johns <chrisj@rtems.org>
* libmisc/shell/hexdump-odsyntax.c: AVR has the same size float
        and double. Fix error in case statement.
        * libmisc/shell/main_dd.c: Remove sys/conf.h header. It is not
        available if networking is disabled.
2009-06-15 01:02:18 +00:00
Chris Johns
3967dbe4d3 Fixed nested includes. 2009-06-14 23:33:44 +00:00
Chris Johns
4896ab5dfc 2009-06-15 Chris Johns <chrisj@rtems.org>
* score/cpu/mips/rtems/mips/idtcpu.h: Remote WAIT define. Horrible
        overload.
2009-06-14 23:31:05 +00:00
Joel Sherrill
671e042e35 2009-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/heapwalk.c: Remove include of stdlib.h since abort was not
	called anymore.
2009-06-13 22:49:28 +00:00
Joel Sherrill
2a4e8e0457 2009-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/region.h,
	rtems/src/rtemsobjectgetclassinfo.c, score/src/heapwalk.c,
	score/src/objectgetnameasstring.c, score/src/objectsetname.c,
	score/src/timespecdivide.c, score/src/ts64divide.c: Remove include of
	stdio.h
2009-06-13 22:39:39 +00:00
Joel Sherrill
84d7499a2b 2009-06-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/i2c/spi-sd-card.c, libchip/ide/ata.c: Eliminate using the
	GNU/Linux specific error numbers EBADRQC and ENOTBLK. Switch to
	EINVAL and ENOTTY as appropriate.
2009-06-12 17:40:04 +00:00
Joel Sherrill
918a0d8fdd 2009-06-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* libblock/src/flashdisk.c, libblock/src/nvdisk.c,
	libblock/src/ramdisk.c, libfs/src/dosfs/fat.c,
	libfs/src/dosfs/msdos_format.c: Eliminate using the GNU/Linux
	specific error numbers EBADRQC and ENOTBLK. Switch to EINVAL and
	ENOTTY as appropriate.
2009-06-12 17:38:53 +00:00
Joel Sherrill
5c15be811c 2009-06-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Add MicroMonitor support.
2009-06-12 17:36:59 +00:00
Joel Sherrill
40be8f8bdd 2009-06-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp54/init.c: Fix spacing.
2009-06-12 17:33:12 +00:00
Joel Sherrill
2b6993e4f2 2009-06-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, preinstall.am: Add MicroMonitor support.
	* startup/umonsupp.c: New file.
2009-06-12 17:21:07 +00:00
Joel Sherrill
ba6f12b7e4 2009-06-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* umon/README, umon/cli.h, umon/monlib.c, umon/monlib.h, umon/tfs.h,
	umon/tfsDriver.c, umon/umonrtemsglue.c: New files.
2009-06-12 17:20:42 +00:00
Joel Sherrill
c0ae2676b5 Add new test for error cases in _Objects_Name_to_id_string which is currently only used by POSIX semaphores and message queues. 2009-06-12 15:17:49 +00:00
Joel Sherrill
79ee0ac2c1 2009-06-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp02/sp02.doc, sp02/system.h: Update copyright year.
2009-06-12 14:01:50 +00:00
Joel Sherrill
69c3370fa6 2009-06-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp02/sp02.doc, sp02/system.h: Add test case for configuring the IDLE
2009-06-12 14:00:10 +00:00
Chris Johns
e4a3d93ab1 2009-06-12 Chris Johns <chrisj@rtems.org>
* libmisc/shell/dd-args.c, libmisc/shell/dd-conv.c,
        libmisc/shell/dd-conv_tab.c, libmisc/shell/dd-misc.c,
        libmisc/shell/dd-position.c, libmisc/shell/dd.h,
        libmisc/shell/extern-dd.h, libmisc/shell/hexdump-conv.c,
        libmisc/shell/hexdump-display.c, libmisc/shell/hexdump-odsyntax.c,
        libmisc/shell/hexdump-parse.c, libmisc/shell/hexdump.h,
        libmisc/shell/hexsyntax.c, libmisc/shell/main_dd.c,
        libmisc/shell/main_hexdump.c: New.
        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add dd and
        hexdump commands.
2009-06-12 05:51:43 +00:00
Chris Johns
be72045b51 2009-06-12 Chris Johns <chrisj@rtems.org>
* ide/ide.c: Format the data output in DEBUG mode.
2009-06-12 03:06:33 +00:00
Chris Johns
0c87142315 2009-06-12 Chris Johns <chrisj@rtems.org>
* Makefile.am: Compile the shared bspinit.c.
2009-06-12 03:03:20 +00:00
Chris Johns
7275542171 2009-06-12 Chris Johns <chrisj@rtems.org>
* libblock/include/rtems/flashdisk.h,
        libblock/include/rtems/nvdisk.h, libblock/src/flashdisk.c,
        libblock/src/nvdisk.c: Change names to match the RAM disk change.
        * libcsupport/src/eval.c: Remove some warnings.
2009-06-12 02:59:18 +00:00
Chris Johns
7baa484300 2009-06-12 Chris Johns <chrisj@rtems.org>
* libblock/src/bdbuf.c: Update comments.
        * libblock/src/bdpart.c, libblock/src/ide_part_table.c: Get the
        device from the rdev field of the stat buf.
        * libcsupport/include/rtems/libio.h: Add a path length to evalpath
        handler. Add parent locations to rmmod and unlink handlers.
        * libcsupport/include/rtems/libio_.h: Add a path length to
        rtems_filesystem_evaluate_path. Add
        rtems_filesystem_evaluate_relative_path, rtems_filesystem_dirname,
        and rtems_filesystem_prefix_separators. Remove
        rtems_filesystem_evaluate_parent.
        * libcsupport/src/base_fs.c, libcsupport/src/chdir.c,
        libcsupport/src/chmod.c, libcsupport/src/chown.c,
        libcsupport/src/chroot.c, libcsupport/src/fchdir.c,
        libcsupport/src/link.c, libcsupport/src/mount.c,
        libcsupport/src/open.c, libcsupport/src/privateenv.c,
        libcsupport/src/readlink.c, libcsupport/src/unmount.c,
        libcsupport/src/utime.c, libcsupport/src/unmount.c,
        libcsupport/src/utime.c, libfs/src/devfs/devfs.h,
        libfs/src/devfs/devfs_eval.c, libfs/src/devfs/devstat.c,
        libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_misc.c,
        libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c,
        libfs/src/imfs/imfs_load_tar.c, libfs/src/imfs/ioman.c,
        libfs/src/pipe/pipe.c, libmisc/fsmount/fsmount.c,
        libnetworking/lib/ftpfs.c: Add the length parameter to the eval
        call.
        * libcsupport/src/eval.c: Add rtems_filesystem_prefix_separators,
        rtems_filesystem_dirname,
        rtems_filesystem_evaluate_relative_path. Add the length parameter
        to the eval call.
        * libcsupport/src/rmdir.c: Find the parent pathloc then the node
        pathloc from that node. Remove the call to find the parent given
        the node pathloc.
        * libcsupport/src/stat.c: Add the length parameter to the eval
        call. Set the device into the rdev field.
        * libcsupport/src/unlink.c: Find the parent pathloc then the node
        pathloc from that node. Remove the call to find the parent given
        the node pathloc.
        * libfs/src/dosfs/fat.c, libfs/src/dosfs/msdos_format.c: Get the
        disk device number from the stat rdev field.
        * libfs/src/dosfs/msdos.h: Add the length parameter to the eval
        call. Add the parent pathloc to the rmnod handler.
        * libfs/src/dosfs/msdos_dir.c: Add the parent pathloc to the rmnod
        handler.
        * libfs/src/dosfs/msdos_eval.c: Add the length parameter to the
        eval and token call.
        * libfs/src/imfs/imfs_directory.c: Add the parent pathloc to the
        rmnod handler.
        * libfs/src/imfs/imfs_fchmod.c: Do not test the mode flags for
        only the allowed flags. Add the missing flags spec'ed in the POSIX
        standard.
        * libfs/src/imfs/imfs_fsunmount.c, libfs/src/imfs/imfs_rmnod.c,
        libfs/src/imfs/imfs_unlink.c, libfs/src/imfs/memfile.c: Add the
        parent node. Currently ignored in the IMFS.
        * libfs/src/imfs/imfs_stat.c: Return the device number in the rdev
        field.
        * libfs/src/imfs/imfs_mknod.c, libfs/src/imfs/imfs_symlink.c : Add
        the length parameter to the token call.
        * libfs/src/nfsclient/src/nfs.c: Add the length parameter to the
        eval call and parent node to the rmnod and unlink command.
        * libmisc/shell/internal.h: Remove the libc mounter decl to make
        public.
        * libmisc/shell/main_mount.c: Add support for hooking external
        mount support for new file systems.
        * libmisc/shell/shell.h: Add helper functions for the mount
        command.
2009-06-12 01:53:33 +00:00
Chris Johns
9e06eb1e96 2009-06-11 Roxana Leontie <roxana.leontie@gmail.com>
* cdtest/system.h: modified the number of max semaphores
          - test was failing before
2009-06-12 01:14:41 +00:00
Joel Sherrill
e73f8a1758 2009-06-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* network/network.c: Attempt to support csb637 PHY.
2009-06-11 20:03:14 +00:00
Joel Sherrill
34e648791e 2009-06-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/corespinlockwait.c: Mark timeout code which is not
	currently exercised by any API with the
	FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API conditional.
2009-06-11 15:18:08 +00:00
Joel Sherrill
fe484f7d2e 2009-06-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/linkcmds: Fix spacing.
2009-06-11 13:12:42 +00:00
Joel Sherrill
d15bae699d 2009-06-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Fix minor error when application has its own
	initialization task table.
2009-06-10 17:10:59 +00:00
Joel Sherrill
7cd9cd89f9 2009-06-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add mq_send to full queue from ISR case.
	* psxmsgq03/.cvsignore, psxmsgq03/Makefile.am, psxmsgq03/init.c,
	psxmsgq03/psxmsgq03.doc, psxmsgq03/psxmsgq03.scn, psxmsgq03/system.h: New files.
2009-06-10 17:09:54 +00:00
Joel Sherrill
293a0a41d2 2009-06-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add new test.
	* sp54/.cvsignore, sp54/Makefile.am, sp54/init.c, sp54/sp54.doc,
	sp54/sp54.scn: New files.
2009-06-10 17:09:34 +00:00
Joel Sherrill
5f6a4a24fa 2009-06-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* heapwalk/init.c: Add test code for first free block pointer not
	aligned.
2009-06-10 15:28:10 +00:00