Commit Graph

18402 Commits

Author SHA1 Message Date
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
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