Commit Graph

18402 Commits

Author SHA1 Message Date
Joel Sherrill
c005d41297 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxmsgq04/init.c, psxmsgq04/psxmsgq04.scn: Tinker with test to ensure
	that it hits both failing to allocate memory for the message queue
	name and message buffers.
2009-08-06 19:24:38 +00:00
Joel Sherrill
0d214a7c29 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxintrcritical01/init.c: Lower microseconds per tick so tests run
	quicker and more reliably hit the intended critical section.
2009-08-06 19:24:12 +00:00
Joel Sherrill
ee8512aae4 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical01/init.c, spintrcritical06/init.c,
	spintrcritical08/init.c, spintrcritical13/init.c: Lower microseconds
	per tick so tests run quicker and more reliably hit the intended
	critical section.
2009-08-06 19:23:38 +00:00
Joel Sherrill
e4f2fe13e7 2009-08-06 Christian Mauderer <christian.mauderer@embedded-brains.de>
* rtems/include/rtems/rtems/types.h: Improve documentation.
2009-08-06 16:32:54 +00:00
Joel Sherrill
cba16514b6 2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/include/buffer_test_io.h: Use printk on AVR by default.
2009-08-06 15:39:09 +00:00
Joel Sherrill
cac975ed5e 2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* bspcmdline01/bspcmdline01.scn, bspcmdline01/init.c: Add rtems_ as
	prefix to all routines.
2009-08-06 15:21:25 +00:00
Joel Sherrill
529760865d 2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/bspcmdline/bspcmdline.h, libmisc/bspcmdline/bspcmdline_get.c,
	libmisc/bspcmdline/bspcmdline_getparam.c,
	libmisc/bspcmdline/bspcmdline_getparamraw.c,
	libmisc/bspcmdline/bspcmdline_getparamrhs.c: Add rtems_ as prefix to
	all routines.
2009-08-06 15:21:14 +00:00
Joel Sherrill
04a62dce21 2009-08-05 Josh Switnicki <josh.switnicki@utoronto.ca>
* Makefile.am: added AVR specific Header files to score/cpu/avr/avr.
	These are from avr-libc 1.6 and assumed to exist by AVR applications.
	* preinstall.am: Regenerated.
2009-08-06 14:52:07 +00:00
Chris Johns
b9ff10f310 2009-08-06 Chris Johns <chrisj@rtems.org>
* src/rtemsInterrupt.cc: Fixed the code to compile on targets with
        CPU_SIMPLE_VECTORED_INTERRUPTS defined to true.
2009-08-06 04:00:27 +00:00
Chris Johns
945884fe9f 2009-08-06 Chris Johns <chrisj@rtems.org>
* libblock/src/bdbuf.c: Fix group user logic.
        * libblock/include/rtems/blkdev.h, libblock/src/blkdev.c,
        libblock/src/nvdisk.c, libblock/src/flashdisk.c: Add set block
        size, and get media block size support.
2009-08-06 03:58:09 +00:00
Joel Sherrill
14d9ae4190 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/sigaction.c: _POSIX_signals_Clear_process_signals now takes
	signal number not mask.
2009-08-05 21:39:49 +00:00
Joel Sherrill
88157a76de 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am, rtems/Makefile.am, rtems/preinstall.am,
	sapi/Makefile.am, sapi/preinstall.am, score/Makefile.am,
	score/preinstall.am, score/include/rtems/score/heap.h,
	score/inline/rtems/score/heap.inl: Remove inline version now that it
	is in a C file.
	* libcsupport/src/end_profile.c: New file.
2009-08-05 21:18:29 +00:00
Joel Sherrill
e6faab6503 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/Makefile.am: Move from inline to body to avoid path explosion
	from inlining this. Makes coverage analysis easier.
	* score/src/heapalignupuptr.c: New file.
2009-08-05 21:16:49 +00:00
Joel Sherrill
abc4af35f8 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, sp63/init.c: Add new test for exercising
	when we are unable to allocate the memory needed for an object
	extend. Make sure all is handled properly.
	* sp64/.cvsignore, sp64/Makefile.am, sp64/init.c, sp64/sp64.doc,
	sp64/sp64.scn: New files.
2009-08-05 20:58:17 +00:00
Joel Sherrill
34788417b4 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/bspcmdline/bspcmdline.h, libmisc/bspcmdline/bspcmdline_get.c,
	libmisc/bspcmdline/bspcmdline_getparam.c,
	libmisc/bspcmdline/bspcmdline_getparamraw.c,
	libmisc/bspcmdline/bspcmdline_getparamrhs.c: New files.
	Missed in previous commit.
2009-08-05 20:16:28 +00:00
Joel Sherrill
e152ecb7ec 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, preinstall.am, libmisc/Makefile.am, wrapup/Makefile.am:
	Add new BSP Boot Command Line helper routines. Recently boot_card()
	has grown the ability to have a command line string pointer. These
	routines provide an interface to that string.
2009-08-05 19:37:55 +00:00
Joel Sherrill
7c86172aba 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add test for new BSP Boot Command Line
	helper routines.
	* bspcmdline01/.cvsignore, bspcmdline01/Makefile.am,
	bspcmdline01/bspcmdline01.doc, bspcmdline01/bspcmdline01.scn,
	bspcmdline01/init.c, bspcmdline01/test.c: New files.
2009-08-05 19:36:57 +00:00
Joel Sherrill
2b558ffdd0 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Fix typo.
2009-08-05 19:13:27 +00:00
Joel Sherrill
21de9dcbda 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/psignalclearsignals.c: Add comments.
2009-08-05 19:09:21 +00:00
Joel Sherrill
c85ab23ab7 2009-08-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/libio_.h,
	libcsupport/src/fs_null_handlers.c: Null handlers are now const.
	* libi2c/libi2c.c, libi2c/libi2c.h: Documentation. Do not create
	semaphores on the fly.
	* cpukit/libblock/src/bdpart.c: Fixed format specifier.
	* cpukit/libblock/include/rtems/bdbuf.h, rtems/include/rtems.h,
	rtems/include/rtems/rtems/asr.h, rtems/include/rtems/rtems/attr.h,
	rtems/include/rtems/rtems/barrier.h,
	rtems/include/rtems/rtems/barriermp.h,
	rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
	rtems/include/rtems/rtems/config.h, rtems/include/rtems/rtems/dpmem.h,
	rtems/include/rtems/rtems/event.h,
	rtems/include/rtems/rtems/eventmp.h,
	rtems/include/rtems/rtems/eventset.h,
	rtems/include/rtems/rtems/intr.h, rtems/include/rtems/rtems/message.h,
	rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
	rtems/include/rtems/rtems/msgmp.h, rtems/include/rtems/rtems/object.h,
	rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
	rtems/include/rtems/rtems/ratemon.h,
	rtems/include/rtems/rtems/region.h,
	rtems/include/rtems/rtems/regionmp.h,
	rtems/include/rtems/rtems/rtemsapi.h, rtems/include/rtems/rtems/sem.h,
	rtems/include/rtems/rtems/semmp.h, rtems/include/rtems/rtems/signal.h,
	rtems/include/rtems/rtems/signalmp.h,
	rtems/include/rtems/rtems/status.h,
	rtems/include/rtems/rtems/support.h,
	rtems/include/rtems/rtems/taskmp.h, rtems/include/rtems/rtems/tasks.h,
	rtems/include/rtems/rtems/timer.h, rtems/include/rtems/rtems/types.h,
	rtems/inline/rtems/rtems/support.inl: Documentation.
	* include/rtems/irq-extension.h: Documentation. Added API for
	interrupt servers.
2009-08-05 18:17:12 +00:00
Joel Sherrill
b053cab093 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add a test to exercise an odd case in
	_POSIX_signals_Clear_signals.
	* psxsignal05/.cvsignore, psxsignal05/Makefile.am, psxsignal05/init.c,
	psxsignal05/psxsignal05.doc, psxsignal05/psxsignal05.scn: New files.
2009-08-05 18:13:29 +00:00
Joel Sherrill
7d89924051 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmsgq04/init.c: Correct typo in configuration so test does as
	intended.
2009-08-05 16:43:54 +00:00
Joel Sherrill
61ae99b802 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Account for memory for POSIX message queue
	file descriptors.
2009-08-05 16:43:33 +00:00
Joel Sherrill
236839e208 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmsgq04/init.c, psxmsgq04/psxmsgq04.doc, psxmsgq04/psxmsgq04.scn:
	Update to handle ENFILE case now that POSIX message queues and
	message queue file descriptors are configured separately and this
	error is possible.
2009-08-05 16:33:36 +00:00
Joel Sherrill
a07c8dedb0 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/mqueuecreatesupp.c: Now that the number of POSIX message
	queues and message queue descriptors are independently configured,
	this code is reachable.
2009-08-05 16:04:36 +00:00
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