Commit Graph
18337 Commits
Author SHA1 Message Date
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
Joel Sherrill 7895090627 2009-07-29 Roxana Leontie <roxana.leontie@gmail.com>
* libmisc/mw-fb/mw_fb.h: Cleaned code and added some more structures.
2009-07-29 13:38:50 +00:00
Ralf Corsepius 810f43e625 Remove. 2009-07-29 04:31:59 +00:00
Joel Sherrill d2861a11a0 2009-07-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to handle the case where
	a region resize frees enough memory to unblock a task.
	* sp62/.cvsignore, sp62/Makefile.am, sp62/init.c, sp62/sp62.doc,
	sp62/sp62.scn: New files.
	* sp61/init.c: Test does not need regions.
2009-07-28 23:49:47 +00:00
Joel Sherrill ad4759abd2 2009-07-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am, libcsupport/preinstall.am,
	sapi/include/confdefs.h: Add configuration and basic device driver
	ver definition for frame buffer device.
	* libcsupport/include/rtems/framebuffer.h: New file.
2009-07-28 23:28:35 +00:00
Joel Sherrill b32020b470 2009-07-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, cpu_asm.S, rtems/score/cpu.h: Context switch now works well
	enough to run ticker to completion with the simulator clock idle
	task. But if you comment out the printk's in _CPU_Context_Initialize,
	it hangs. This remains to be investigated.
2009-07-28 23:14:23 +00:00
Joel Sherrill 5353469af4 2009-07-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test case for processing a timeout
	on a thread (that is the thread executing) that has also had its
	request satisfied while it is being enqueued.
	* spintrcritical16/.cvsignore, spintrcritical16/Makefile.am,
	spintrcritical16/init.c, spintrcritical16/spintrcritical16.doc,
	spintrcritical16/spintrcritical16.scn: New files.
	* spintrcritical15/init.c: Remove unused TSR>
2009-07-28 19:23:49 +00:00
Eric Norum c7cf1d77ca PR 1420/bsps
Turn on buffered writes to DRAM. As Device Errata SECF124 notes this may cause
double writes, but that's not really a big problem and benchmarking tests have
shown that buffered writes do gain some performance.
2009-07-28 19:21:24 +00:00
Joel Sherrill f1b90cc4bd 2009-07-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* bsp_howto/.cvsignore, bsp_howto/Makefile.am,
	bsp_howto/bsp_howto.texi: Add Frame Buffer Device Driver shell.
	* bsp_howto/framebuffer.t: New file.
	* user/conf.t: Add CONFIGURE_APPLICATION_NEEDS_FRAME_BUFFER_DRIVER.
2009-07-28 18:02:25 +00:00
Joel Sherrill 78ab0c5592 Add Doxygen cleanups. 2009-07-28 15:22:23 +00:00
Joel Sherrill 5eac085310 2009-07-28 Xi Yang <hiyangxi@gmail.com>
* configure.ac: undefine BSP_PRESS_KEY_FOR_RESET
	* startup/bspreset.c, include/ep7312.h: Support skyeye shutdown device
2009-07-28 14:34:45 +00:00
Joel Sherrill 5d8b8eb1f5 2009-07-28 Santosh G Vattam <vattam.santosh@gmail.com>
* psxmsgq01/init.c, psxmsgq01/psxmsgq01.scn: Add tests for various
	mq_timedreceive and mq_timedsend conditions. In particular test
	timeout in the past.
2009-07-28 13:46:03 +00:00
Joel Sherrill 42d57c7ac6 2009-07-28 Santosh G Vattam <vattam.santosh@gmail.com>
* psx05/init.c, psx05/psx05.scn: Add test for pthread_mutex_timedlock
	with timeout in the past.
2009-07-28 13:44:58 +00:00
Joel Sherrill 33692dd004 2009-07-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test case for a thread timing out on a
	thread queue while another thread is in the process of blocking on
	the same thread queue.
	* spintrcritical15/.cvsignore, spintrcritical15/Makefile.am,
	spintrcritical15/init.c, spintrcritical15/spintrcritical15.doc,
	spintrcritical15/spintrcritical15.scn: New files.
2009-07-27 22:04:19 +00:00
Ralf Corsepius e7667a8f6a Upgrade to autoconf-2.64. 2009-07-27 11:55:52 +00:00
Ralf Corsepius 9ff8bda5bd Regenerate. 2009-07-27 11:54:58 +00:00
Ralf Corsepius 2bdf507361 newlib-1.17.0-rtems4.10-20090727.diff 2009-07-27 11:52:59 +00:00
Ralf Corsepius 28dc5fb1ab Bump GCC_RPMREL. 2009-07-27 11:52:15 +00:00
Ralf Corsepius eec869d3f6 New. 2009-07-27 11:51:27 +00:00
Joel Sherrill 0df035b6e5 2009-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/Makefile.am, score/preinstall.am: SuperCore Spinlock is only
	used by POSIX API. Do not build it when POSIX is not enabled.
2009-07-27 00:00:53 +00:00
Ralf Corsepius 862e1ec9de Regenerate. 2009-07-26 05:00:19 +00:00
Ralf Corsepius bff8cf4bf2 Bump AUTOCONF_RPMREL. 2009-07-26 04:59:59 +00:00
Ralf Corsepius 051e1b2ec1 Bump AUTOMAKE_RPMREL. 2009-07-26 04:56:06 +00:00
Ralf Corsepius bcbfc091d6 Require help2man for automake < 1.11 2009-07-26 04:55:43 +00:00
Joel Sherrill 5d6d1a116a 2009-07-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: spintrcritical15 not ready yet.
2009-07-25 12:57:14 +00:00
Joel Sherrill 6914ffe0c8 2009-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/src/ioregisterdriver.c: Fix spacing.
2009-07-25 01:44:04 +00:00
Joel Sherrill 7467542e85 2009-07-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, sp40/Makefile.am, sp40/init.c,
	sp40/sp40.scn: Now verified to hit coverage cases.
	* sp40/sp40.doc: New file.
2009-07-25 01:39:45 +00:00
Joel Sherrill 96b8762610 2009-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp40/Makefile.am, sp40/init.c, sp40/sp40.scn: Attempt to write test
	to catch two remaining uncovered cases in rtems_io_register_driver.
	* sp40/system.h: Removed.
2009-07-25 01:31:07 +00:00
Joel Sherrill eecb54552d 2009-07-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to exercise odd case in
	rtems_iterate_over_all_threads.
	* sp41/.cvsignore, sp41/Makefile.am, sp41/init.c, sp41/sp41.doc,
	sp41/sp41.scn: New files.
2009-07-24 20:43:06 +00:00
Joel Sherrill b4f7353712 2009-07-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxsignal02/psxsignal02.scn: Fill in screen file.
2009-07-24 20:37:04 +00:00
Joel Sherrill a3e4a589d5 2009-07-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to exercise algorithm to
	dispatch process wide signals to individual threads.
	* psxsignal02/.cvsignore, psxsignal02/Makefile.am, psxsignal02/init.c,
	psxsignal02/psxsignal02.doc, psxsignal02/psxsignal02.scn: New files.
2009-07-24 19:18:20 +00:00
Joel Sherrill 24399ad594 2009-07-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/killinfo.c: Rework to make easier to analyze for code
	coverage and to simplify so it is easier to analyze for correctness.
2009-07-24 19:17:54 +00:00
Joel Sherrill cd62f7a7fd 2009-07-24 Roxana Leontie <roxana.leontie@gmail.com>
* console/fb_vga.c: divided fb_screeninfo structure into
	fb_var_screeninfo and fb_fix_screeninfo; same with get_screen_info
2009-07-24 13:28:44 +00:00
Joel Sherrill 8daaa65e32 2009-07-24 Roxana Leontie <roxana.leontie@gmail.com>
* libmisc/mw-fb/mw_fb.h: divided fb_screeninfo structure into
	fb_var_screeninfo and fb_fix_screeninfo
2009-07-24 13:27:49 +00:00
Ralf Corsepius 18e23e9100 2009-07-23 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/enable-itron.m4: Default to not building itron.
2009-07-23 21:23:13 +00:00
Joel Sherrill 6ffde61c4c 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test to exercise interrupt
	synchronization logic in _POSIX_Timer_Insert_helper that supports
	POSIX timers.
	* psxintrcritical01/.cvsignore, psxintrcritical01/Makefile.am,
	psxintrcritical01/init.c, psxintrcritical01/psxintrcritical01.doc,
	psxintrcritical01/psxintrcritical01.scn: New files.
2009-07-23 20:30:01 +00:00
Joel Sherrill f5b58ff34c 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/timerreset.c: Mark an unreachable path that is a sanity
	check as conditional on RTEMS_DEBUG.
2009-07-23 19:40:23 +00:00
Joel Sherrill 2c0d7929bc 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp36/strict_order_mut.c: Simple binary semaphores cannot have an
	inheritance protocol since there is no holder associated with them.
2009-07-23 19:05:11 +00:00
Joel Sherrill 5ea6d2e649 2009-07-23 Josh Switnicki <josh.switnicki@utoronto.ca>
* README: Included information about simulavrxx
2009-07-23 18:56:44 +00:00
Joel Sherrill d541ba8cc6 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new tests to exercise cases where a
	timer is scheduled from an ISR while it is being scheduled at the
	task level.
	* spintrcritical13/.cvsignore, spintrcritical13/Makefile.am,
	spintrcritical13/init.c, spintrcritical13/spintrcritical13.doc,
	spintrcritical13/spintrcritical13.scn, spintrcritical14/.cvsignore,
	spintrcritical14/Makefile.am, spintrcritical14/spintrcritical14.doc,
	spintrcritical14/spintrcritical14.scn: New files.
2009-07-23 18:54:23 +00:00
Joel Sherrill 75fed1b941 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical01/init.c, spintrcritical06/init.c,
	spintrcritical08/init.c, spintrcritical09/init.c: Perform some
	cleanup and make the tests more similar.
2009-07-23 18:04:53 +00:00