Commit Graph

18377 Commits

Author SHA1 Message Date
Joel Sherrill
b2bf0e4814 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/include/rtems/posix/psignal.h, posix/src/mqueuecreatesupp.c,
	posix/src/psignalclearprocesssignals.c,
	posix/src/psignalclearsignals.c: Minor rework to ease coverage
	analysis.
2009-08-05 15:39:59 +00:00
Joel Sherrill
2b3692d315 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/include/rtems/rtems/intr.h, rtems/src/intrcatch.c: Disable
	rtems_interrupt_catch on targets which do not use the simple vectored
	interrupt model.
2009-08-05 15:36:49 +00:00
Joel Sherrill
74f4edaf44 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/heapallocatealigned.c: Fix spacing.
2009-08-05 15:35:55 +00:00
Joel Sherrill
a2fa532d7b 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/wkspace.c: Improve debug output.
2009-08-05 15:35:02 +00:00
Joel Sherrill
b6f8f03e62 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/conf.t: Add configuration of posix message queue file
	descriptors as separate entity. Also add documentation on posix
	configuration elements not previously covered.
2009-08-05 15:29:58 +00:00
Joel Sherrill
ade173922b 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/include/rtems/posix/config.h, posix/src/mqueue.c,
	sapi/include/confdefs.h: Add configuration of posix message queue
	file descriptors as separate entity.
2009-08-05 15:29:19 +00:00
Joel Sherrill
76a670bd40 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/include/rtems/rtems/region.h: Use new name.
	* score/include/rtems/debug.h: Fix spacing.
2009-08-05 15:27:01 +00:00
Joel Sherrill
6605d4dc99 2009-08-05 Santosh G Vattam <vattam.santosh@gmail.com>
* Makefile.am, psxmsgq04/init.c, psxmsgq04/psxmsgq04.doc,
	psxmsgq04/psxmsgq04.scn: Exercise running out of memory while
	allocating the message buffers for a POSIX message queue.
2009-08-05 15:21:43 +00:00
Chris Johns
0d15414ed6 009-08-05 Chris Johns <chrisj@rtems.org>
* libmisc/dummy/dummy-networking.c: New.
        * libmisc/dummy/dummy.c, libmisc/Makefile.am: Move
        trhe networking configuration into a separate file so
        configuration varations do not cause conflicts.
        * score/inline/rtems/score/object.inl,
        score/include/rtems/score/object.h: Remove warnings.
        * score/inline/rtems/score/object.inl: Add _Chain_First,
        _Chain_Last, _Chain_Mext, and _Chain_Previous.
        * sapi/inline/rtems/chain.inl: Add rtems_chain_first,
        rtems_chain_last, rtems_chain_mext, and rtems_chain_previous.
        * libblock/include/rtems/diskdevs.h: Remove the bdbuf pool id and
        block_size_log2. Add media_block_size.
        * libblock/src/diskdevs.c: Remove size restrictions on block
        size. Add media block size initialisation. Remove comment to clean
        up the bdbuf cache.
        * libblock/src/blkdev.c: Remove references to
        block_size_log2. Allow any block size.
        * libblock/include/rtems/bdbuf.h, libblock/src/bdbuf.c: Remove all
        references to pools and make the cache handle demand driver
        variable buffer size allocation. Added worker threads support the
        swapout task.
        * sapi/include/confdefs.h: Updated the bdbuf configutation.
2009-08-05 00:00:54 +00:00
Joel Sherrill
f14a21df69 2009-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clockdrv.c: Add stub nanoseconds since last tick handler to
	improve coverage.
2009-08-04 22:12:30 +00:00
Joel Sherrill
8fed642112 2009-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Account for allocation of user extension
	data area pointers.
2009-08-04 17:06:26 +00:00
Joel Sherrill
389afd914e 2009-08-04 Xi Yang <hiyangxi@gmail.com>
* pxa255/clock/clock.c: Move parentheses to improve math. More tests
	run.
2009-08-04 11:59:20 +00:00
Joel Sherrill
88a8702db7 2009-08-03 Roxana Leontie <roxana.leontie@gmail.com>
* bsp_howto/framebuffer.t: added documentation
2009-08-03 15:12:14 +00:00
Joel Sherrill
740d0aca04 2009-08-03 Roxana Leontie <roxana.leontie@gmail.com>
* fb/fb.c: changed the references to mw_fb.h into fb.h
2009-08-03 15:11:38 +00:00
Joel Sherrill
71abba7bdb 2009-08-03 Roxana Leontie <roxana.leontie@gmail.com>
* console/fb_vga.c: changed the reference to mw_fb.h into fb.h
2009-08-03 15:11:00 +00:00
Joel Sherrill
a20baf9b9f 2009-08-03 Roxana Leontie <roxana.leontie@gmail.com>
* Makefile.am, preinstall.am, libmisc/Makefile.am: changed the
	references to mw_fb.h into fb.h
	* libmisc/mw-fb/mw_fb.h: renamed fb.h
2009-08-03 15:10:10 +00:00
Joel Sherrill
354fb2e3bf 2009-08-03 Roger Dahlkvist <ruppe@kth.se>
* libchip/shmdr/shm_driver.h: nios2 was not accounted for.
2009-08-03 14:23:29 +00:00
Joel Sherrill
8960aa5417 2009-08-03 Roger Dahlkvist <ruppe@kth.se>
* score/cpu/Makefile.am: nios2 was not in the list.
2009-08-03 14:22:10 +00:00
Joel Sherrill
63682149f8 2009-08-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/psignal.c: Simplify implementation to ease coverage
	analysis.
2009-08-03 01:05:55 +00:00
Joel Sherrill
b6585b8bd7 2009-08-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/include/rtems/rtems/support.h: Fix comments.
2009-08-03 01:02:50 +00:00
Joel Sherrill
307b6b9cc4 2009-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxsignal03/init.c, psxsignal03/psxsignal03.scn,
	psxsignal04/psxsignal04.scn: Correct test numbers in macros so output
	is right. Update both screens.
2009-08-02 15:00:05 +00:00
Joel Sherrill
70a66ca5d3 2009-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, psxsignal03/Makefile.am,
	psxsignal03/init.c, psxsignal03/psxsignal03.doc: Add new test
	variation which focused on real-time signals rather than user
	signals.
	* psxsignal04/.cvsignore, psxsignal04/Makefile.am,
	psxsignal04/psxsignal04.doc, psxsignal04/psxsignal04.scn: New files.
2009-08-02 14:41:46 +00:00
Joel Sherrill
770db692bc 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/psxtransschedparam.c, posix/src/pthread.c: Add error checks
	for 0 time on sporadic scheduler replenish period and initial budget.
	This avoids having to correct for it in the TSR, so we can eliminate
	the check for ticks == 0 there.
2009-08-01 21:49:40 +00:00
Joel Sherrill
1d4005dbba 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/heap.inl: Revert accidental commit.
2009-08-01 21:48:18 +00:00
Joel Sherrill
c9c05a02e5 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx07/init.c, psx07/psx07.scn, psx07/task.c: Add test for budget and
	replenish period of zero.
2009-08-01 21:47:09 +00:00
Joel Sherrill
fb29a8de4a 2009-08-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/inline/rtems/score/heap.inl, score/src/heapresizeblock.c:
	Simplify routine.
2009-08-01 18:18:26 +00:00
Joel Sherrill
709ac26394 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/heap.inl: Revert accidental commit.
2009-08-01 16:00:36 +00:00
Joel Sherrill
894bbbc4f2 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/heap.inl, score/src/heapwalk.c: Do not
	inline code to check if newline should be printed. It leads to branch
	path explosion which is really hard to get coverage on.
2009-08-01 15:58:59 +00:00
Joel Sherrill
e89cf10620 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp63/init.c: Correct test case two.
2009-08-01 15:34:53 +00:00
Joel Sherrill
fa4c10cbd9 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp63/init.c, sp63/sp63.scn: Move into subroutines and add a second
	test case to exercise another odd branch not taken.
2009-08-01 14:40:37 +00:00
Joel Sherrill
ba23ff5e36 2009-07-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, sp62/init.c: Add new test to ensure a
	particular path is taken through the _Heap_Resize_block code.
	* sp63/.cvsignore, sp63/Makefile.am, sp63/init.c, sp63/sp63.doc,
	sp63/sp63.scn: New files.
2009-08-01 00:25:20 +00:00
Joel Sherrill
a764317842 2009-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/heapgetinfo.c: Simplify implementation.
2009-07-31 16:07:51 +00:00
Joel Sherrill
64bad68bc8 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to account for properly
	handling keys when a thread has non-NULL key value and key has NULL
	destructor and when a thread has NULL key value and key has
	destructor.
	* psxkey03/.cvsignore, psxkey03/Makefile.am, psxkey03/init.c,
	psxkey03/psxkey03.doc, psxkey03/psxkey03.scn: New files.
2009-07-30 20:21:41 +00:00
Joel Sherrill
3e5a9e5176 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test for exercising running out of
	memory while allocating the key pointers.
	* psxkey02/.cvsignore, psxkey02/Makefile.am, psxkey02/init.c,
	psxkey02/psxkey02.doc, psxkey02/psxkey02.scn: New files.
2009-07-30 18:48:56 +00:00
Joel Sherrill
d6675bfb58 Spaces -> tabs. 2009-07-30 17:20:08 +00:00
Joel Sherrill
7e260d67ad 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp42/Makefile.am, sp42/init.c, sp42/sp42.scn: Test was testing the
	wrong thing in a cpp macro. Added contents to screen file and add
	documentation file.
	* sp42/sp42.doc: New file.
2009-07-30 17:10:04 +00:00
Eric Norum
4ac7e27202 Enable data cache. 2009-07-30 15:56:38 +00:00
Joel Sherrill
b1b6beb0e3 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical16/spintrcritical16.doc: Remove junk and typos.
2009-07-30 14:52:40 +00:00
Joel Sherrill
095105ad20 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical16/init.c: Tinker with test to make it hit the case
	more reliably.
2009-07-30 14:52:15 +00:00
Joel Sherrill
8b40e27c0c 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add new test to exercise as many cases as
	possible of not being able to allocate memory from the workspace
	during thread creation.
	* sp18/.cvsignore, sp18/Makefile.am, sp18/init.c, sp18/sp18.doc,
	sp18/sp18.scn: New files.
2009-07-30 00:15:59 +00:00
Joel Sherrill
cedfd802ef 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/threadinitialize.c: Rework so there is only one error exit
	path. This required setting every variable that contains memory
	allocated from the workspace to NULL early and using that assumption
	in the one failed exit path.
2009-07-30 00:14:26 +00:00
Joel Sherrill
e63b79d590 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/wkspace.c: Add debug printks.
2009-07-30 00:11:44 +00:00
Joel Sherrill
0376d08fa7 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmsgq04/init.c: Add call to mq_unlink.
2009-07-29 20:27:27 +00:00
Joel Sherrill
59efe76bbf 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/mqueuedeletesupp.c: Mark unreachable section as
	RTEMS_DEBUG.
2009-07-29 20:26:42 +00:00
Joel Sherrill
330e858cc2 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add shell of new test.
	* psxmsgq04/.cvsignore, psxmsgq04/Makefile.am, psxmsgq04/init.c,
	psxmsgq04/psxmsgq04.doc, psxmsgq04/psxmsgq04.scn: New files.
2009-07-29 20:15:33 +00:00
Joel Sherrill
afcecbf750 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* network/network.c: Add csb637 PHY code based upon that in
	MicroMonitor 1.17.
2009-07-29 19:06:53 +00:00
Joel Sherrill
634adfeeae 2009-07-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/killinfo.c: Add _Thread_Enable_dispatch() on EAGAIN
	error case.  Add debug print on loop processing threads waiting
	for signal.
	* posix/src/psignal.c: When the sigwait() Thread Queue processing loop
	was changed to FIFO, I forgot to change the initialization to match.
2009-07-29 18:34:22 +00:00
Joel Sherrill
2ad8f85825 2009-07-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test to address cases where a thread
	is waiting on a signal (sigwait) and we send it. Also address case
	where there are too many queued signals.
	* psxsignal03/.cvsignore, psxsignal03/Makefile.am, psxsignal03/init.c,
	psxsignal03/psxsignal03.doc, psxsignal03/psxsignal03.scn: New files.
2009-07-29 18:31:20 +00:00
Joel Sherrill
a2b8140290 2009-07-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxsignal02/init.c: Fix spacing.
2009-07-29 18:30:45 +00:00
Joel Sherrill
83987a59c1 2009-07-29 Roxana Leontie <roxana.leontie@gmail.com>
* Makefile.am, preinstall.am, console/fb_vga.c: Switch to using
	frame_buffer_ naming. Joel cleaned up formatting and removed tabs
	that were there long before Roxana touched this file.
	* console/fb_vga.h: Removed.
2009-07-29 14:09:34 +00:00