Commit Graph

297 Commits

Author SHA1 Message Date
Ralf Corsepius
4fcb2f17d5 Use "double" instead of "rtems_double". 2008-09-15 13:53:53 +00:00
Joel Sherrill
2d29741ab6 2008-09-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp34/sp34.scn, sp35/sp35.scn: Convert to UNIX CR/LF style.
2008-09-08 13:26:34 +00:00
Ralf Corsepius
f0157b8fd8 Convert to "bool". 2008-09-06 03:39:58 +00:00
Ralf Corsepius
c502aa3dc0 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp35/priinv.c, sp37/init.c, sp38/init.c, sp39/init.c, sp41/init.c,
	sp42/init.c, sp43/init.c, spfatal/fatal.c, spfatal/system.h,
	spfatal_support/init.c, spfatal_support/system.h:
	Convert to "bool".
2008-09-06 03:28:15 +00:00
Joel Sherrill
40c2d41e5b 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* spsize/size.c: Must extern _MPCI_Semaphore because it is no longer
	declared in a public place.
2008-09-05 14:43:45 +00:00
Joel Sherrill
6d97132e92 2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp07/system.h, sp07/tcreate.c: Convert to bool type.
2008-09-03 22:06:25 +00:00
Joel Sherrill
4f6bb5b01f 2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp43/init.c: Fix derefence of uninitialized pointer.
2008-08-15 16:33:22 +00:00
Joel Sherrill
02d989c0ef 2008-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* spsize/size.c: Make _System_state_Is_multiprocessing unused when
	multiprocessing is not enabled. Saves one more variable from single
	processor configuration.
2008-08-07 18:23:54 +00:00
Joel Sherrill
cccd632c8d 2008-08-05 Xudong Guan <xudong.guan@criticalsoftware.com>
PR 1212/cpukit
	* Makefile.am, configure.ac: Time slicing will not happen if the task
	mode is changed from a non-timeslicing mode to timeslicing mode if it
	is done by the executing thread (e.g. in its task body). This change
	includes sp44 to demonstrate the problem and verify the correction.
	* sp44/.cvsignore, sp44/Makefile.am, sp44/init.c, sp44/sp44.scn: New files.
2008-08-05 13:10:26 +00:00
Joel Sherrill
ffb9eeb5ce 2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen09.c: Do not use Simple Vectored Interrupt calls on
	architectures they are not supported on.
2008-07-17 21:22:29 +00:00
Joel Sherrill
03b655aaee 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp43/init.c, sp43/sp43.scn: Add call to rtems_get_version_string().
2008-07-16 16:48:51 +00:00
Ralf Corsepius
86ad26ace2 2008-06-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp36/strict_order_mut.c: Reflect __STRICT_ORDER_MUTEX__ having
	  been renamed into __RTEMS_STRICT_ORDER_MUTEX__.
2008-06-30 15:08:08 +00:00
Joel Sherrill
86db88d270 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp28/init.c: Corrections to configuration.
	* sp37/init.c: Correctly invoke rtems_interrupt_disable() body.
	* spsize/size.c: _ISR_Vector_table only exists on architectures
	which use the Simple Vectored Interrupt Model.
2008-06-05 14:23:57 +00:00
Joel Sherrill
d0941512ac 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* spsize/size.c: Convention calls for leading underscore on private
	RTEMS variables.
2008-06-02 16:12:13 +00:00
Joel Sherrill
c199cf899b 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* spfatal/fatal.c, spfatal06/testcase.h, spfatal07/testcase.h,
	spfatal08/testcase.h, spfatal09/testcase.h, spfatal10/testcase.h:
	Refactored and renamed initialization routines to
	rtems_initialize_data_structures, rtems_initialize_before_drivers,
	rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:44:30 +00:00
Joel Sherrill
ac9d3cf84d 2008-05-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp32/init.c: Formatting.
2008-05-07 21:57:43 +00:00
Joel Sherrill
5afa393ed5 2008-02-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen01.c: Correct test.
	* sp09/screen14.c: Update copyright.
	* sp28/init.c: Correct end of test messages.
2008-02-22 19:35:14 +00:00
Joel Sherrill
60735a304c 2008-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp43/init.c, sp43/sp43.scn: Exercise passing as object Id of SELF.
2008-02-04 17:16:56 +00:00
Joel Sherrill
2186ba8064 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp01/init.c, sp02/init.c, sp03/init.c, sp04/init.c, sp05/init.c,
	sp06/init.c, sp07/init.c, sp08/init.c, sp09/init.c, sp11/init.c,
	sp12/init.c, sp13/init.c, sp14/init.c, sp15/init.c, sp16/init.c,
	sp17/init.c, sp19/init.c, sp20/init.c, sp21/init.c, sp22/init.c,
	sp23/init.c, sp24/init.c, sp25/init.c, sp26/init.c, sp28/init.c,
	sp30/init.c, sp31/init.c, sp32/init.c, sp33/init.c, sp37/init.c,
	sp38/init.c, sp39/init.c, sp40/init.c, sp41/init.c, sp43/init.c,
	spfatal/init.c, spfatal_support/init.c, spsize/init.c: Change
	TEST_INIT to CONFIGURE_INIT. Make tmacros.h available to all POSIX
	tests. Add a clock_settime case for < 1988.
2008-02-01 00:45:11 +00:00
Joel Sherrill
916b0f301c 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp43/init.c, sp43/sp43.scn: Add test case for unprintable names.
2008-01-31 17:30:40 +00:00
Joel Sherrill
403c5077be 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp09/screen01.c, sp09/sp09.scn: Add more bad thread Id cases.
	* sp40/init.c, sp40/sp40.scn: Add message to say test is TBD.
	* sp41/sp41.scn: Now has content.
	* sp43/init.c, sp43/sp43.scn: Enhanced to increase coverage of
	Object Services recently added to API.
2008-01-31 16:08:52 +00:00
Joel Sherrill
6e31513261 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, sp02/task1.c, sp24/resume.c,
	sp30/resume.c, sp41/init.c, sp42/init.c: Add new Object Services
	collection. This changed the name of a few previously public but
	undocumented services and added a some new services.
	* sp43/.cvsignore, sp43/Makefile.am, sp43/init.c, sp43/sp43.scn,
	sp43/system.h: New files.
2008-01-29 21:53:04 +00:00
Joel Sherrill
1ccb8aae65 2008-01-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* spfatal10/.cvsignore: New file.
2008-01-29 14:38:24 +00:00
Joel Sherrill
42840b4dbe 2008-01-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* spfatal01/.cvsignore, spfatal02/.cvsignore, spfatal03/.cvsignore,
	spfatal04/.cvsignore, spfatal05/.cvsignore, spfatal06/.cvsignore,
	spfatal07/.cvsignore, spfatal08/.cvsignore, spfatal09/.cvsignore:
	New files.
2008-01-29 14:30:38 +00:00
Jennifer Averett
5fdb1e7bc0 2008-01-28 Jennifer Averett <jennifer.averett@OARcorp.com>
* Makefile.am, configure.ac: Added fatal error tests
	* spfatal01/Makefile.am, spfatal01/spfatal01.scn, spfatal01/testcase.h,
	spfatal02/Makefile.am, spfatal02/spfatal02.scn, spfatal02/testcase.h,
	spfatal03/Makefile.am, spfatal03/spfatal03.scn, spfatal03/testcase.h,
	spfatal04/Makefile.am, spfatal04/spfatal04.scn, spfatal04/testcase.h,
	spfatal05/Makefile.am, spfatal05/spfatal05.scn, spfatal05/testcase.h,
	spfatal06/Makefile.am, spfatal06/spfatal06.scn, spfatal06/testcase.h,
	spfatal07/Makefile.am, spfatal07/spfatal07.scn, spfatal07/testcase.h,
	spfatal08/Makefile.am, spfatal08/spfatal08.scn, spfatal08/testcase.h,
	spfatal09/Makefile.am, spfatal09/spfatal09.scn, spfatal09/testcase.h,
	spfatal10/Makefile.am, spfatal10/spfatal10.scn, spfatal10/testcase.h,
	spfatal_support/init.c, spfatal_support/system.h: New files.
2008-01-28 19:19:35 +00:00
Joel Sherrill
90f6ea620d 2008-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp28/init.c, sp28/sp28.scn, sp29/init.c, sp29/sp29.scn, sp32/init.c,
	sp32/sp32.scn, sp33/init.c, sp33/sp33.scn, sp42/init.c: Fix end of
	test messages.
2008-01-24 15:12:30 +00:00
Joel Sherrill
23a368d91e 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp34/changepri.c, sp35/priinv.c: Convert the Objects_Name type from a
	simple type to a union of an unsigned 32 bit integer and a pointer.
	This should help eliminate weird casts between u32 and pointers in
	various places. The APIs now have to explicitly call _u32 or _string
	versions of helper routines. This should also simplify things and
	eliminate the need for ugly casts in some cases.
2008-01-23 22:57:54 +00:00
Jennifer Averett
f070c86cac 2008-01-23 Jennifer Averett <jennifer.averett@OARcorp.com>
* sp42/Makefile.am: New file.
2008-01-23 14:50:42 +00:00
Joel Sherrill
4a4aabcae0 2008-01-23 Joel Sherrill <joel.sherrill@OARcorp.com>
Add sp42 to exercise thread queue with knowledge of the implementation
	so we can exercise all of the normal paths possible.
	* Makefile.am, configure.ac: Add sp42.
	* sp42/.cvsignore, sp42/init.c, sp42/sp42.scn: New files.
2008-01-23 13:58:54 +00:00
Joel Sherrill
9185d61c54 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp39/init.c: Add case for long timeout on blocking operation.
	* Makefile.am, configure.ac: Add new test to exercise thread
	queue blokcing synchronization. sp39 and sp41 are very similar.
	* sp41/.cvsignore, sp41/Makefile.am, sp41/init.c, sp41/sp41.scn,
	sp41/system.h: New files.
2008-01-23 13:05:55 +00:00
Joel Sherrill
8b7a7139df 2008-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp39/init.c: Clean up.
2008-01-22 18:30:14 +00:00
Joel Sherrill
265d9b6476 2008-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp39/init.c: Modify to improve coverage.
2008-01-22 14:46:13 +00:00
Jennifer Averett
0c76166efe 2008-01-18 Jennifer Averett <jennifer.averett@OARcorp.com>
* sp36/strict_order_mut.c:
2008-01-18 16:34:56 +00:00
Joel Sherrill
c8f8ffdd08 2008-01-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add sp40 to test some cases of dynamic
	driver registration.
	* sp40/.cvsignore, sp40/Makefile.am, sp40/init.c, sp40/sp40.scn,
	sp40/system.h: New files.
2008-01-08 18:27:29 +00:00
Joel Sherrill
14a64dc59e 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen07.c, sp09/screen12.c, sp09/screen14.c, sp09/sp09.scn
	Add test cases for:
	  + message queue create requesting too many message buffers
	    for the available memory
	  + region extend with address inside existing heap
	  + timer server initiate too large a stack, create error
	* sp12/pritask.c, sp12/sp12.scn: Add test cases for:
	  + task set priority while holding resource
2008-01-07 15:26:46 +00:00
Joel Sherrill
cd30436141 Convert to UNIX CR/LF. 2008-01-07 15:10:31 +00:00
Joel Sherrill
fa9889742a 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Added sp38 and sp39.
	* sp38/.cvsignore, sp38/Makefile.am, sp38/init.c, sp38/sp38.scn,
	sp38/system.h, sp39/.cvsignore, sp39/Makefile.am, sp39/init.c,
	sp39/sp39.scn, sp39/system.h: New files.
2008-01-07 15:07:47 +00:00
Joel Sherrill
03c6ff399e 2007-12-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp36/strict_order_mut.c: New file.
2007-12-21 15:50:52 +00:00
Joel Sherrill
e8f4303a4c 2007-12-21 Xi Yang <hiyangxi@gmail.com>
* Makefile.am, configure.ac: Add support for proper stacking of
	priority inheritance on mutexes as well as enforce proper order of
	release.
	* sp36/.cvsignore, sp36/Makefile.am, sp36/sp36.doc,
	sp36/sp36.scn: New files.
2007-12-21 15:50:33 +00:00
Joel Sherrill
b5c6ecf707 2007-12-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp07/task1.c, sp34/changepri.c, sp35/priinv.c: Add rtems_task_self()
	directive instead of violating RTEMS internals.
2007-12-20 21:52:24 +00:00
Joel Sherrill
79542d7a8b 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp07/init.c, sp07/system.h, sp07/tdelete.c, sp07/sp07.scn:
	Add test cases for User Extension Manager to improve code coverage.
	* sp21/task1.c: Fix spelling error.
2007-12-19 20:51:51 +00:00
Joel Sherrill
bbd655a3d5 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* spsize/size.c: Account for previous changes in calculation of MPCI
	receive server stack.
2007-12-19 16:05:56 +00:00
Joel Sherrill
6bc19a148a 2007-12-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp09/screen07.c, sp09/sp09.scn: Add test for
	rtems_message_queue_broadcast for bad buffer and count pointers.
	* sp30/init.c, sp30/sp30.scn: Add test for initiating timer server
	with bad priority or initiating twice.
	* sp37/sp37.scn, sp37/system.h: Add test for rtems_clock_tick when
	it forces a dispatch.
	* sp37/init.c: New file.
2007-12-14 17:44:15 +00:00
Joel Sherrill
dcdaba216a 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new tests for interrupt disable,
	enable, flash, and is in progress. These are normally inlines but
	also have bodies for non-C code. This test also exercises the odd
	case of calling clock tick from outside an ISR.
	* sp37/.cvsignore, sp37/Makefile.am, sp37/sp37.scn, sp37/system.h: New files.
2007-12-13 22:41:52 +00:00
Joel Sherrill
9c691efcf4 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp07/init.c, sp07/sp07.scn, sp07/task1.c: Add tests for
	using notepad with the current task's ID or SELF
	* sp09/screen02.c, sp09/screen04.c, sp09/sp09.scn: Add
	test missing test cases for clock_get.
2007-12-13 21:45:23 +00:00
Joel Sherrill
f446e6d0f2 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp28/init.c: Add test code for task variables to improve coverage.
2007-12-12 23:18:05 +00:00
Joel Sherrill
1383eca6d2 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp21/task1.c: Eliminate copies of the Configuration Table. Use the
	RTEMS provided accessor macros to obtain configuration fields.
2007-12-11 15:51:54 +00:00
Joel Sherrill
a1f37a0f6e 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* spsize/size.c: Move interrupt_stack_size field from CPU Table to
	Configuration Table. Eliminate CPU Table from all ports. Delete
	references to CPU Table in all forms.
2007-12-04 22:18:35 +00:00
Joel Sherrill
eb5d942ad5 2007-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen03.c, spsize/size.c: Builds again after CPU Table changes.
2007-12-04 16:03:06 +00:00
Glenn Humphrey
4650a44c07 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sp07/sp07.scn, sp07/task1.c, sp09/screen01.c, sp09/screen05.c,
	sp09/screen07.c, sp09/screen10.c, sp09/screen12.c, sp09/screen14.c,
	sp09/sp09.scn, sp25/sp25.scn, sp25/task1.c: Added several test cases
	to improve test coverage.
2007-11-27 20:44:55 +00:00