Commit Graph

18264 Commits

Author SHA1 Message Date
Ralf Corsepius
e2ae590b61 Housekeeping. 2009-07-11 07:33:43 +00:00
Ralf Corsepius
58d9b2421c Remove. 2009-07-11 07:27:51 +00:00
Joel Sherrill
3a0827287d 2009-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, score/src/threadqenqueuepriority.c: Add
	RTEMS_DO_NOT_UNROLL_THREADQ_ENQUEUE_PRIORITY to give user ability to
	disable the loop in _Thread_queue_Enqueue_priority from being
	unrolled. This reduces code size and makes coverage analysis easier.
2009-07-10 20:32:48 +00:00
Joel Sherrill
0c196a192b 2009-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical_support/intrcritical.c,
	spintrcritical_support/intrcritical.h: New files.
2009-07-10 20:31:17 +00:00
Joel Sherrill
937a22a7cf 2009-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new infrastructure which is more
	reliable about generating cases which hit interrupt critical
	sections. Remove sp41 since it used its own mechanism.
	* spintrcritical01/.cvsignore, spintrcritical01/Makefile.am,
	spintrcritical01/init.c, spintrcritical01/spintrcritical01.doc,
	spintrcritical01/spintrcritical01.scn, spintrcritical02/.cvsignore,
	spintrcritical02/Makefile.am, spintrcritical02/spintrcritical02.doc,
	spintrcritical02/spintrcritical02.scn, spintrcritical03/.cvsignore,
	spintrcritical03/Makefile.am, spintrcritical03/spintrcritical03.doc,
	spintrcritical03/spintrcritical03.scn, spintrcritical04/.cvsignore,
	spintrcritical04/Makefile.am, spintrcritical04/spintrcritical04.doc,
	spintrcritical04/spintrcritical04.scn, spintrcritical05/.cvsignore,
	spintrcritical05/Makefile.am, spintrcritical05/spintrcritical05.doc,
	spintrcritical05/spintrcritical05.scn: New files.
	* sp41/.cvsignore, sp41/Makefile.am, sp41/init.c, sp41/sp41.scn,
	sp41/system.h: Removed.
2009-07-10 20:28:10 +00:00
Joel Sherrill
0f46e321b4 2009-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp41/init.c: Remove incorrect comment.
2009-07-10 20:21:02 +00:00
Joel Sherrill
36c2586f92 2009-07-09 Josh Switnicki <josh.switnicki@utoronto.ca>
* cpu_asm.S: Fixed bug in _CPU_Context_Switch. The wrong registers
	were being used for pointer to running task Context_Control
	struct.
2009-07-10 19:07:54 +00:00
Joel Sherrill
5c736abdfd 2009-07-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Fix typo.
2009-07-10 17:06:37 +00:00
Joel Sherrill
142a9df16a 2009-07-10 Xi Yang <hiyangxi@gmail.com>
* Makefile.am, pxa255/ffuart/ffuart.c, pxa255/include/pxa255.h,
	pxa255/pmc/pmc.c: Add PMC support.
2009-07-10 15:34:12 +00:00
Joel Sherrill
55b891e2fa 2009-07-10 Xi Yang <hiyangxi@gmail.com>
* Makefile.am: Complete update to current style.
2009-07-10 14:35:23 +00:00
Joel Sherrill
744379eee3 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/watchdogadjusttochain.c: Rework to ease code coverage
	analysis.
2009-07-09 21:56:34 +00:00
Joel Sherrill
b503e0b92e 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/semcreate.c: Clean up rework to eliminate the goto and fix
	a bug introduced by rework.
2009-07-09 21:55:23 +00:00
Joel Sherrill
7f8dd5758e 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp29/init.c: Simple binary semaphores can not be inherit priority.
2009-07-09 21:29:47 +00:00
Joel Sherrill
f5b5ef8881 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp25/init.c: Spacing.
2009-07-09 20:25:18 +00:00
Joel Sherrill
8f9b2f6026 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add sp59 to test path through
	_Thread_queue_First_priority where the task's priority was in the
	bottom 1/4 of the range.
	* sp59/.cvsignore, sp59/Makefile.am, sp59/init.c, sp59/sp59.doc,
	sp59/sp59.scn: New files.
2009-07-09 20:23:38 +00:00
Joel Sherrill
ab8c4ee27f 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test for Thread Queue extract a thread
	not blocked on a thread queue.
	* spthreadq01/.cvsignore, spthreadq01/Makefile.am, spthreadq01/init.c,
	spthreadq01/spthreadq01.doc, spthreadq01/spthreadq01.scn: New files.
2009-07-09 19:02:41 +00:00
Joel Sherrill
d5ae827a35 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test for timespec divide by zero.
	* sp58/.cvsignore, sp58/Makefile.am, sp58/init.c, sp58/sp58.doc,
	sp58/sp58.scn: New files.
2009-07-09 18:21:58 +00:00
Joel Sherrill
af690b8573 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/heap.c: Remove unneeded include.
2009-07-09 17:39:51 +00:00
Joel Sherrill
0c5a8be8b2 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp43/init.c, sp43/sp43.scn: Add test of having the object class
	pointer being null. This does not happen naturally at this time so
	force the point.
2009-07-09 16:58:04 +00:00
Joel Sherrill
66abaa1e20 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c, malloctest/malloctest.scn: Add heap resize test
	for shrinking a block enough to need to free the newly unused
	portion.
2009-07-09 16:13:06 +00:00
Joel Sherrill
c45a2ded00 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/semcreate.c: Restructure to simplify and improve ability to
	anlize this routine for coverage.
2009-07-08 22:26:11 +00:00
Joel Sherrill
299fc7ac56 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp12/sp12.scn: Update screen to reflect priority changes from long
	ago.
2009-07-08 22:17:50 +00:00
Joel Sherrill
a5e620e89d 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, sp27/Makefile.am, sp27/init.c,
	sp27/sp27.doc, sp27/sp27.scn: Rework sp27 so it can be reinstantiated
	as sp27a and test flushing both counting and binary semaphores.
	Reformatted.
	* sp27a/.cvsignore, sp27a/Makefile.am, sp27a/sp27a.doc,
	sp27a/sp27a.scn: New files.
2009-07-08 20:26:45 +00:00
Joel Sherrill
2962c9931a 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* spstkalloc/Makefile.am: Remove unneeded USE_TIMER_SERVER which was
	copied fomr other Makefile.am's.
2009-07-08 20:26:01 +00:00
Joel Sherrill
f034ac0758 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp51/init.c, sp54/Makefile.am, sp55/Makefile.am, sp56/Makefile.am,
	sp57/Makefile.am, spchain/Makefile.am, spfatal10/Makefile.am,
	spfatal11/Makefile.am, spfatal12/Makefile.am: Remove unneeded
	USE_TIMER_SERVER which was copied fomr other Makefile.am's.
2009-07-08 20:25:30 +00:00
Joel Sherrill
4b6c378fab 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c, malloctest/malloctest.scn: Add error cases for
	_Protected_heap_Get_information().
2009-07-08 19:15:04 +00:00
Joel Sherrill
7b0f182a25 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp57/sp57.doc: Correct.
2009-07-08 18:50:19 +00:00
Joel Sherrill
02819318cd 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test of restarting a task which is in
	the middle of a sleep or wake after.
	* sp57/.cvsignore, sp57/Makefile.am, sp57/init.c, sp57/sp57.doc,
	sp57/sp57.scn: New files.
2009-07-08 18:49:15 +00:00
Joel Sherrill
4b4108a4c5 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/objectgetinfo.c: Clean up and eliminate unreachable code.
2009-07-08 17:56:07 +00:00
Joel Sherrill
67d6947e7f 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp43/init.c, sp43/sp43.scn: Add more cases for
	rtems_object_get_class_information() to improve coverage.
2009-07-08 17:54:37 +00:00
Joel Sherrill
d6c8b56b62 2009-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/rtemsobjectapimaximumclass.c,
	score/include/rtems/score/object.h,
	score/src/objectapimaximumclass.c, score/src/objectgetinfo.c: Change
	return type of API maximum class methods to unsigned.
2009-07-07 23:33:17 +00:00
Joel Sherrill
bc93f30f39 2009-07-07 Chris Johns <chrisj@rtems.org>
* score/src/objectshrinkinformation.c: Rework loop to simplify and
	remove dead code.
2009-07-07 22:47:03 +00:00
Joel Sherrill
33a538113c 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* ChangeLog, posix/src/mutexsetprioceiling.c: Remove warning.
2009-07-07 21:04:57 +00:00
Joel Sherrill
12bb21e3b5 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to verify that when a user
	extension create hook fails, that the error is properly propagated.
	* sp56/.cvsignore, sp56/Makefile.am, sp56/init.c, sp56/sp56.doc,
	sp56/sp56.scn: New files.
2009-07-07 20:39:14 +00:00
Joel Sherrill
2204f52043 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp04/sp04.doc, sp04/sp04.scn, sp04/task1.c: Add test of
	rtems_extension_delete.
2009-07-07 20:38:17 +00:00
Joel Sherrill
6afc8dde54 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp09/screen01.c, sp09/sp09.scn: Add test for
	rtems_object_get_classic_name with invalid id.
2009-07-07 19:39:12 +00:00
Joel Sherrill
0dbc0c3322 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp02/task1.c: Minor spacing.
2009-07-07 19:36:53 +00:00
Joel Sherrill
fc267d1eed 2009-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* README.IceCube: Correct mkimage addresses.
2009-07-07 17:34:30 +00:00
Joel Sherrill
06f5ec9ce0 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/mutexsetprioceiling.c: Restructure to eliminate code
	paths which are unreachable. Also add more comments.
	* score/src/coremutexsurrender.c: Mark some code as RTEMS_DEBUG only
	since it cannot be hit unless coremutexseize.c is broken.
2009-07-07 17:29:47 +00:00
Joel Sherrill
9a845e175b 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test of pthread mutex auto
	intialization.
	* psxautoinit01/.cvsignore, psxautoinit01/Makefile.am,
	psxautoinit01/init.c, psxautoinit01/psxautoinit01.scn: New files.
2009-07-07 14:30:12 +00:00
Joel Sherrill
8860ecf275 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/mutexget.c: Restructure to improve ability to do coverage
	analysis.
2009-07-06 22:02:34 +00:00
Joel Sherrill
824b3d1c90 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx05/init.c, psx05/psx05.scn: Add a couple of invalid Id cases.
2009-07-06 22:01:58 +00:00
Joel Sherrill
9847e4b478 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* spfatal12/init.c: Address to heap initialize must be aligned but size
	must be too small.
2009-07-06 21:05:03 +00:00
Joel Sherrill
147c5d512f 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxsignal01/init.c: Tune code to really hit POSIX signal from ISR
	code.
2009-07-06 21:03:05 +00:00
Joel Sherrill
3ba0750fd1 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/psxtransschedparam.c: Restructure to avoid untestable code
	being generated by switch.
2009-07-06 17:59:34 +00:00
Joel Sherrill
69ca55c088 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx07/init.c: Slight test fix to ensure state of sched_param
	structure.
2009-07-06 17:58:44 +00:00
Joel Sherrill
630a2a68ea 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to exercise case when
	broadcasting to a message queue with a pending message.
	* sp55/.cvsignore, sp55/Makefile.am, sp55/init.c, sp55/sp55.doc,
	sp55/sp55.scn: New files.
2009-07-06 17:10:39 +00:00
Joel Sherrill
402dad517e 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/coremsgsubmit.c: Move impossible case inside an RTEMS_DEBUG
	conditional.
2009-07-06 16:44:49 +00:00
Joel Sherrill
45d3b3304e 2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* setvec.c: Add CVS Id.
2009-07-06 15:45:45 +00:00
Joel Sherrill
7c46cf58b3 2009-07-03 Josh Switnicki <josh.switnicki@utoronto.ca>
* cpu.c: Implemented _CPU_Context_Initialize as a C function instead
	of a macro.  It works with limited functionality.  Implemented
	_CPU_Thread_Idle_body to use sleep instruction.
	* Makefile.am: Changed cpu_asm.c -> cpu_asm.S
	* cpu_asm.S: renamed from cpu_asm.c and implemented functions is asm
	* rtems/asm.h: Appended "macros.inc" to the end of "asm.h"
	* rtems/score/cpu.h:
	  + Included "avr/io.h".
	  + Added use 16 bit object definition.
	  + Modified Context_Control struct to relect the registers
	    that need to be saved.
	  + Implemented _CPU_ISR_Disable, _CPU_ISR_Enable, and _CPU_ISR_Flash.
	    Added function definitions for _CPU_Context_Initialize and
	    _CPU_Push.
2009-07-06 15:36:23 +00:00