Commit Graph

18439 Commits

Author SHA1 Message Date
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
Joel Sherrill
3da35a18e5 2009-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, cpu_asm.S: Unsuccessful attempt to fix.
2009-07-23 17:40:06 +00:00
Joel Sherrill
4e4f06bbbe 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical06/init.c: Test now hits forward and reverse cases.
2009-07-23 16:12:53 +00:00
Joel Sherrill
a74c869600 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/iterateoverthreads.c: Restructure a bit to make analysis
	easier.
2009-07-23 15:46:48 +00:00
Ralf Corsepius
7611ed8eb3 Remove. 2009-07-23 15:25:09 +00:00
Joel Sherrill
48751ab095 2009-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am, libmisc/shell/main_chmod.c,
	libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
	libmisc/shell/main_mfill.c, libmisc/shell/main_mmove.c,
	libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
	libmisc/shell/main_sleep.c, libmisc/shell/main_umask.c,
	libmisc/shell/shell_script.c, libmisc/stringto/stringto.h,
	libmisc/stringto/stringto_template.h: Convert return type from bool
	to rtems_status_code and add rtems_string_to_pointer. Perform
	associated clean up and changes for return type change.
	* libmisc/stringto/stringtopointer.c: New file.
2009-07-23 14:32:34 +00:00
Joel Sherrill
73dfaf83a1 2009-07-23 Santosh G Vattam <vattam.santosh@gmail.com>
* psxcancel/Makefile.am, psxcancel/init.c, psxcancel/psxcancel.scn: Add
	multiple cases which complete coverage of thread cancellation.
	* psxcancel/psxcancel.doc: New file.
2009-07-23 13:29:49 +00:00
Joel Sherrill
2d730043c0 2009-07-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical09/init.c, spintrcritical09/spintrcritical09.scn: Make
	test work for case that it is documented to handle.
2009-07-22 21:46:56 +00:00
Joel Sherrill
099712815e 2009-07-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/killinfo.c: Clean up. Avoid NULL pointer case.
2009-07-22 21:26:56 +00:00
Joel Sherrill
cdea617055 2009-07-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/inline/rtems/score/states.inl: Add
	_States_Is_interruptible_by_signal. Add more DOxygen comments and
	clean up.
2009-07-22 21:26:30 +00:00
Joel Sherrill
b01619d7c0 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* src/irq-generic.c: Priority inheritance on simple binary semaphores
	makes no sense and has recently been added as an error condition.
2009-07-22 20:45:23 +00:00
Joel Sherrill
592b91fb49 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/main_help.c: Provide a few more characters for command
	names.
2009-07-22 18:18:41 +00:00
Joel Sherrill
b362ec5ba1 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/main_mdump.c, libmisc/shell/main_mwdump.c: Fine tune
	printf format.
2009-07-22 16:29:11 +00:00
Joel Sherrill
0d3b27cda4 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/ide/ata.c: Remove warning.
2009-07-22 16:00:55 +00:00
Joel Sherrill
5c7c1ec6e6 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/regionextend.c: Remove warning.
2009-07-22 16:00:21 +00:00
Joel Sherrill
51cec29e9e 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/include/semaphore.h, posix/include/rtems/posix/semaphore.h:
	Move SEM_FAILED from private file to public file since it is defined
	by POSIX.
2009-07-22 15:39:09 +00:00
Joel Sherrill
17e3808dd5 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxsem01/Makefile.am, psxsem01/init.c: Much clean up.
	* psxsem01/system.h: Removed.
2009-07-22 15:37:54 +00:00
Joel Sherrill
7e9765df6e 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxsem01/init.c: Eliminate warning.
2009-07-22 15:21:13 +00:00
Joel Sherrill
f379d80537 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/main_mount.c: Eliminate warning.
2009-07-22 15:21:08 +00:00
Joel Sherrill
35d09baa84 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am, libmisc/shell/main_chmod.c,
	libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
	libmisc/shell/main_mfill.c, libmisc/shell/main_mmove.c,
	libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
	libmisc/shell/main_sleep.c, libmisc/shell/main_umask.c,
	libmisc/shell/shell.h, libmisc/shell/shell_script.c,
	libmisc/stringto/stringto_template.h: Convert all shell code to use
	stringto.h mehods with better error checking.
	* libmisc/shell/str2int.c: Removed.
2009-07-22 15:17:37 +00:00
Joel Sherrill
e8d59ca6af 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, preinstall.am, libmisc/Makefile.am, wrapup/Makefile.am:
	Add the stringto family of string to number converters. These are
	error checking wrappers for the strtoXXX methods and do their best to
	return false if the conversion failed. The error checking required
	for this is tedious and error prone. Hence better to have in a family
	of helper routines.
	* libmisc/stringto/stringto.h, libmisc/stringto/stringto_template.h,
	libmisc/stringto/stringtodouble.c, libmisc/stringto/stringtofloat.c,
	libmisc/stringto/stringtoint.c, libmisc/stringto/stringtolong.c,
	libmisc/stringto/stringtolonglong.c,
	libmisc/stringto/stringtounsignedchar.c,
	libmisc/stringto/stringtounsignedint.c,
	libmisc/stringto/stringtounsignedlong.c,
	libmisc/stringto/stringtounsignedlonglong.c: New files.
2009-07-22 14:26:25 +00:00
Joel Sherrill
381a53a801 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxcancel/init.c: Clean up.
2009-07-22 14:00:09 +00:00
Ralf Corsepius
e1ffb64f58 Regenerate. 2009-07-22 10:18:46 +00:00
Ralf Corsepius
1f70458a0d gcc-core-4.4.1-rtems4.10-20090722.diff 2009-07-22 10:18:24 +00:00
Ralf Corsepius
ab16a06375 New. 2009-07-22 10:12:52 +00:00
Ralf Corsepius
df979f2753 Remove. 2009-07-22 10:11:59 +00:00
Ralf Corsepius
e1f0b2dbfb GCC-4.4.1. 2009-07-22 10:07:14 +00:00
Joel Sherrill
12a191ae15 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/include/rtems/posix/key.h, posix/src/keycreate.c,
	posix/src/keydelete.c, posix/src/keyrundestructors.c: Restructure a
	bit to make it easier to do coverage analysis. Eliminate is_active
	member of control structure because it was redundant with very the
	key object was open or closed.
2009-07-22 00:09:31 +00:00
Joel Sherrill
4b45c1393c 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/eventseize.c, rtems/src/eventsurrender.c,
	rtems/src/eventtimeout.c: Clean up and minor rework as a side-effect
	of coverage analysis.
2009-07-21 23:09:07 +00:00
Joel Sherrill
7fbe4fa1bf 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical10/.cvsignore, spintrcritical10/Makefile.am,
	spintrcritical10/init.c, spintrcritical10/spintrcritical10.doc,
	spintrcritical10/spintrcritical10.scn: New files.
2009-07-21 23:06:46 +00:00
Joel Sherrill
75a5abaf4a 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, sp39/init.c, sp39/sp39.scn: Move
	unreliable third case in sp39 to spintrcritical10. New tests to hit
	other event synchronization critical sections.
	* spintrcritical11/.cvsignore, spintrcritical11/Makefile.am,
	spintrcritical11/init.c, spintrcritical11/spintrcritical11.doc,
	spintrcritical11/spintrcritical11.scn, spintrcritical12/.cvsignore,
	spintrcritical12/Makefile.am, spintrcritical12/spintrcritical12.doc,
	spintrcritical12/spintrcritical12.scn: New files.
2009-07-21 23:06:13 +00:00
Joel Sherrill
bd894e5447 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to exercise Debug Manager.
	* sp10/.cvsignore, sp10/Makefile.am, sp10/init.c, sp10/sp10.doc,
	sp10/sp10.scn: New files.
2009-07-21 19:32:30 +00:00
Joel Sherrill
90e6d39f8e 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/src/debug.c, score/include/rtems/debug.h: Rename
	_Debug_Is_enabled to rtems_is_debug_enabled.
2009-07-21 19:27:44 +00:00
Joel Sherrill
99fbb6080c 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical06/init.c: Clean up.
	* spintrcritical09/init.c: Adjust clock tick so it works on erc32.
	* spintrcritical09/spintrcritical09.scn: Fill in.
2009-07-21 18:26:27 +00:00
Joel Sherrill
56864ffc17 2009-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmutexattr01/init.c: Make test optional if tools do not support
	posix mutex type attribute.
2009-07-21 17:25:46 +00:00
Joel Sherrill
b58c04905b 2009-07-21 Roxana Leontie <roxana.leontie@gmail.com>
* console/fb_vga.c: replaced the ioctl structures with linux
	framebuffer equivalents
2009-07-21 15:48:34 +00:00
Joel Sherrill
db862461cb 2009-07-21 Roxana Leontie <roxana.leontie@gmail.com>
* libmisc/Makefile.am, libmisc/mw-fb/mw_fb.h: mw_fb.h eliminated the
	ufb_* calls and replaced some of the ioctl structures and numbers
	with the linux framebuffer equivalents
	* libmisc/mw-fb/mw_fb.c: Removed.
2009-07-21 15:47:28 +00:00
Joel Sherrill
bbebcd2c0d 2009-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* spintrcritical06/init.c: Add comment to indicate test is not finished
	and known to not hit the case.
	* Makefile.am, configure.ac: Add a couple more interrupt critical
	section tests.
	* spintrcritical08/.cvsignore, spintrcritical08/Makefile.am,
	spintrcritical08/init.c, spintrcritical08/spintrcritical08.doc,
	spintrcritical08/spintrcritical08.scn, spintrcritical09/.cvsignore,
	spintrcritical09/Makefile.am, spintrcritical09/init.c,
	spintrcritical09/spintrcritical09.doc,
	spintrcritical09/spintrcritical09.scn: New files.
2009-07-21 15:16:57 +00:00
Joel Sherrill
14d3ad4fcf 2009-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add new test to exercise error case for
	when a task is blocked on a condition variable with one mutex and
	another task attempts to block on the same condition variable with
	another mutex.
	* psxcond01/.cvsignore, psxcond01/Makefile.am, psxcond01/init.c,
	psxcond01/psxcond01.doc, psxcond01/psxcond01.scn: New files.
2009-07-21 15:07:26 +00:00
Joel Sherrill
75eaf66aa1 2009-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/include/rtems/posix/cancel.h, posix/src/cancel.c,
	posix/src/canceleval.c, posix/src/setcancelstate.c,
	posix/src/setcanceltype.c: Fix a minor bug in the previous
	modification which resulted in psxcancel failing.
2009-07-21 14:16:00 +00:00
Joel Sherrill
68799a2a8f 2009-07-21 Santosh G Vattam <vattam.santosh@gmail.com>
* posix/Makefile.am, posix/include/rtems/posix/cancel.h,
	posix/src/cancel.c, posix/src/setcancelstate.c,
	posix/src/setcanceltype.c: Add
	_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch method to
	avoid duplication of code and ease coverage analysis.
	* posix/src/canceleval.c: New file.
2009-07-21 13:17:59 +00:00
Thomas Doerfler
d374492cc6 Update for MPC55XX changes 2009-07-21 08:38:04 +00:00
Ralf Corsepius
115971c321 Update to binutils-2.19.51-20090721. 2009-07-21 06:52:16 +00:00
Ralf Corsepius
ad70382682 Remove. 2009-07-21 03:21:10 +00:00
Joel Sherrill
ceb3cb3b6c 2009-07-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, spintrcritical06/init.c: Add first attempt
	at hitting interrupt synchronization critical section in thread queue
	enqueue priority for reverse insertions.
	* spintrcritical07/.cvsignore, spintrcritical07/Makefile.am,
	spintrcritical07/spintrcritical07.doc,
	spintrcritical07/spintrcritical07.scn: New files.
2009-07-20 18:38:28 +00:00
Joel Sherrill
243596d65e 2009-07-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* cchip/cchip.c, include/cchip.h, include/rasta.h, pci/pci.c: Add CVS
	Ids.
2009-07-20 16:02:01 +00:00
Joel Sherrill
b2b77956dc 2009-07-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/corebarrierwait.c: Reverse order of tests to increase test
	coverage.
2009-07-20 14:51:21 +00:00
Joel Sherrill
eecd655794 2009-07-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test case for the
	_Thread_queue_Enqueue_priority interrupt critical section where the
	TCB we are using as a current pointer is removed from the thread
	queue when we flash interrupts while searching forward.
	* spintrcritical06/.cvsignore, spintrcritical06/Makefile.am,
	spintrcritical06/init.c, spintrcritical06/spintrcritical06.doc,
	spintrcritical06/spintrcritical06.scn: New files.
2009-07-20 14:49:25 +00:00
Joel Sherrill
260e09260a 2009-07-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical_support/intrcritical.c,
	spintrcritical_support/intrcritical.h: Change prototype of delay
	method to indicate when counter is reset. This can be used to count
	how many iterations we are doing.
2009-07-20 14:48:14 +00:00