Commit Graph

19081 Commits

Author SHA1 Message Date
Joel Sherrill
bcf16c034d 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp01/sp01.scn, sp01/task1.c, sp03/task1.c, sp03/task2.c,
	sp04/task1.c, sp04/tswitch.c, sp09/screen02.c, sp09/screen13.c,
	sp09/screen14.c, sp09/sp09.scn, sp11/sp11.scn, sp11/task1.c,
	sp11/task2.c, sp19/fptask.c, sp19/sp19.scn, sp19/task1.c,
	sp22/prtime.c, sp22/sp22.scn, sp22/task1.c, sp24/sp24.scn,
	sp24/task1.c, sp30/task1.c, sp31/prtime.c, sp31/sp31.scn,
	sp31/task1.c, spwatchdog/prtime.c, spwatchdog/spwatchdog.scn,
	spwatchdog/task1.c: Convert calls to legacy routine rtems_clock_get(
	RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
2009-08-10 14:49:51 +00:00
Joel Sherrill
da8946a492 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/console.c: Spacing.
2009-08-10 14:27:48 +00:00
Joel Sherrill
49f60a3801 2009-08-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, preinstall.am, fb/fb.c: Install nds specific .h files
	into nds subdirectory.
2009-08-10 14:05:43 +00:00
Joel Sherrill
efc6c73345 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/system.h: Switch to unified work area.
2009-08-10 13:33:17 +00:00
Joel Sherrill
0d979acc0e 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* network/network.c: Disable use of simple vectored interrupt install
	until updated and this can be removed.
2009-08-10 13:31:43 +00:00
Joel Sherrill
6522e79aa6 2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, startup/bspreset.c: Add Skyeye reset device.
2009-08-10 03:16:35 +00:00
Joel Sherrill
57bcaa29a7 2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add Skyeye reset device.
	* startup/bspreset.c: New file.
2009-08-10 03:03:08 +00:00
Joel Sherrill
d81bfed2af 2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/heapresizeblock.c: Remove printk's that were accidentally
	committed.
2009-08-09 17:42:20 +00:00
Joel Sherrill
384f0225e8 2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Adjust allocation in test so it passes now that
	heap overhead constant has been increased.
2009-08-09 17:31:48 +00:00
Joel Sherrill
235aaf0c10 2009-08-09 Xi Yang <hiyangxi@gmail.com>
* libcsupport/Makefile.am, posix/Makefile.am, rtems/Makefile.am,
	sapi/Makefile.am, score/Makefile.am,
	score/include/rtems/score/heap.h: HEAP_BLOCK_USED_OVERHEAD was under
	by one uint32_t. This showed up in the unlimited and heapwalk tests
	on ARM targets.
2009-08-09 15:23:10 +00:00
Chris Johns
bdceecd262 2009-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/linkcmds, startup/linkcmds.lpc2478,
        startup/linkcmds.lpc2478_ncs, startup/linkcmds.lpc2478_ncs_ram:
        Fixed dummy entries.
2009-08-08 02:40:22 +00:00
Joel Sherrill
9345c7d198 2009-08-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/console.c, startup/genpvec.c, startup/setvec.c: Disable call
	to rtems_interrupt_catch until it is fixed. Need to disabled
	set_vector.
2009-08-07 15:49:23 +00:00
Joel Sherrill
eeb78c5d7f 2009-08-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/console.c: Disable call to rtems_interrupt_catch until it is
	fixed.
2009-08-07 15:47:27 +00:00
Joel Sherrill
ab808e236f 2009-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp28/init.c, sp28/sp28.scn: Update screen. Add a few missing error
	cases.
2009-08-07 14:04:55 +00:00
Joel Sherrill
c05f201080 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test case for user providing their own
	stack to a POSIX thread.
	* psxstack01/.cvsignore, psxstack01/Makefile.am, psxstack01/init.c,
	psxstack01/psxstack01.doc, psxstack01/psxstack01.scn: New files.
2009-08-07 00:42:47 +00:00
Joel Sherrill
248db2171f 2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* bspcmdline01/init.c: Do not violate visibility.
2009-08-07 00:31:05 +00:00
Joel Sherrill
f32c036de0 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/objectextendinformation.c: Minor rework to eliminate
	uncovered ranges introduced by Chris' patch.
2009-08-07 00:19:04 +00:00
Joel Sherrill
8eb2830609 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clockdrv.c: Tinker with clock on Skyeye.
2009-08-06 22:24:36 +00:00
Joel Sherrill
076bc8be04 2009-08-06 Xi Yang <hiyangxi@gmail.com>
* pxa255/clock/clock.c: Adjust clock for Skyeye. Joel added empty
	nanoseconds since last tick handler.
2009-08-06 22:24:13 +00:00
Joel Sherrill
9ef365f706 2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/setvec.c: Removed.
2009-08-06 21:52:40 +00:00
Joel Sherrill
2953a9e51b 2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/tm27.h: Remove references to rtems_interrupt_catch since this
	archiecture does not use Simple Vectored Interrupt model.
2009-08-06 21:51:50 +00:00
Joel Sherrill
d68c788e47 Revert 2009-08-06 21:45:28 +00:00
Joel Sherrill
ac893a9731 2009-08-06 Chris Johns <chrisj@rtems.org>
* score/src/objectextendinformation.c: Ensure that nothing is moved or
	copied until all memory is successfully allocated.
2009-08-06 20:43:30 +00:00
Joel Sherrill
f0bf33260a Revert. 2009-08-06 20:43:19 +00:00
Joel Sherrill
e41a7481f8 Fix comment 2009-08-06 20:40:19 +00:00
Joel Sherrill
684e243dd0 Revert. 2009-08-06 20:39:27 +00:00
Joel Sherrill
fba809c87b 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp64/init.c, sp64/sp64.scn: Chris ensured that nothing is moved until
	all memory is successfully allocated. This means the test can
	validate the heap is unchanged on extend failure.
2009-08-06 20:35:41 +00:00
Joel Sherrill
53afba1268 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/mqueuecreatesupp.c, posix/src/mqueuenametoid.c,
	posix/src/mqueueopen.c, posix/src/semaphorecreatesupp.c: Tinker with
	error handling for name too long. Use strnlen to ensure we do not run
	off the end of the maximum length string.
2009-08-06 19:26:56 +00:00
Joel Sherrill
288f8498b7 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* support/src/test_support.c: Tinker with longest valid name.
2009-08-06 19:25:17 +00:00
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