Commit Graph

18439 Commits

Author SHA1 Message Date
Joel Sherrill
bfa4bb20d1 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/tod.h: Correct name of parameter.
2009-07-01 19:50:00 +00:00
Joel Sherrill
37cff02c38 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to cover bodies of some chain
	routines whose bodies are not used by RTEMS itself.
	* spchain/.cvsignore, spchain/Makefile.am, spchain/init.c,
	spchain/spchain.doc, spchain/spchain.scn: New files.
2009-07-01 19:49:08 +00:00
Joel Sherrill
605b6eb746 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* spwatchdog/init.c, spwatchdog/spwatchdog.scn: Add test case of empty
	chain for coverage.
2009-07-01 19:31:53 +00:00
Joel Sherrill
c7b38baf37 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp01/sp01.doc, sp01/task1.c, sp16/sp16.doc, sp16/task5.c: Bypass
	RTEMS_MILLISECONDS_TO_TICKS and RTEMS_MICROSECONDS_TO_TICKS to
	improve coverage.
2009-07-01 19:23:58 +00:00
Joel Sherrill
e5d3dd6ee0 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp01/task1.c: Use RTEMS_MILLISECONDS_TO_TICKS to improve coverage.
2009-07-01 18:40:39 +00:00
Joel Sherrill
f9ff8cea68 2009-07-01 Santosh G Vattam <vattam.santosh@gmail.com>
* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Add test case for
	obtaining rwlock for write with a timed lock operation when the
	abstime timeout is in the past.
2009-07-01 16:15:21 +00:00
Joel Sherrill
d852e2342b 2009-06-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/prwlocktimedrdlock.c: Restructure if slightly to make to
	make it easier to analyze for coverage.
2009-06-30 17:54:50 +00:00
Joel Sherrill
94ccbb7b3d 2009-06-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Add test case for
	obtaining rwlock for read with a timed lock operation when the
	abstime timeout is in the past.
2009-06-30 17:50:15 +00:00
Joel Sherrill
b4e5a61914 2009-06-29 Xi Yang <hiyangxi@gmail.com>
* pxa255/ffuart/ffuart.c, pxa255/include/pxa255.h: Add Skyeye support.
	* pxa255/include/bits.h: Removed.
2009-06-29 23:25:29 +00:00
Joel Sherrill
85e525aab8 2009-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx05/init.c, psx05/psx05.scn: Add test case for process scope now
	that the assert has been removed in the source.
2009-06-29 23:23:23 +00:00
Joel Sherrill
290d2b79fe 2009-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/killinfo.c, posix/src/mutexinit.c, posix/src/psignal.c,
	posix/src/psignalchecksignal.c, posix/src/pthread.c,
	posix/src/pthreadexit.c, posix/src/pthreadinitthreads.c: Remove
	includes of <assert.h> where possible. Make other uses conditional on
	ifdef RTEMS_DEBUG.
2009-06-29 23:19:28 +00:00
Joel Sherrill
89c3f8498f 2009-06-29 Xi Yang <hiyangxi@gmail.com>
* Makefile.am: Update to current style.
	* bsp_specs: Fix warning for _start.
	* start/start.S: Proper attribution for origin.
	* startup/bspstart.c: Add Skyeye bsp_reset() on Skyeye.
	* include/.cvsignore: New file.
	* include/bspopts.h.in: Removed.
2009-06-29 23:16:44 +00:00
Ralf Corsepius
5ca8bf3bf8 Update to gdb-6.8.50.20090629 2009-06-29 16:55:24 +00:00
Ralf Corsepius
db47affdc3 New. 2009-06-29 16:29:42 +00:00
Joel Sherrill
40b905ccf8 2009-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* spfatal10/.cvsignore, spfatal10/Makefile.am, spfatal10/init.c,
	spfatal10/spfatal10.doc, spfatal10/spfatal10.scn: New files.
2009-06-24 22:02:11 +00:00
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