Commit Graph
286 Commits
Author SHA1 Message Date
Joel Sherrill 02ba7cac29 2009-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, spwatchdog/system.h,
	spwkspace/Makefile.am, spwkspace/init.c: Add shell of test for
	printk. These will help coverage. Simplify spwkspace.
	* spprintk/.cvsignore, spprintk/Makefile.am, spprintk/init.c,
	spprintk/spprintk.scn: New files.
	* spwkspace/system.h: Removed.
2009-05-14 14:29:40 +00:00
Joel Sherrill 4f7b4a8836 2009-05-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: New test to exercise rtems_workspace_XXX
	methods.
	* spwkspace/.cvsignore, spwkspace/Makefile.am, spwkspace/init.c,
	spwkspace/spwkspace.scn, spwkspace/system.h: New files.
2009-05-13 17:09:14 +00:00
Joel Sherrill b84f1fdc0d 2009-05-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp04/system.h, sp04/task1.c, sp04/tswitch.c, sp07/init.c,
	sp12/init.c, sp13/putbuff.c, sp13/system.h, sp13/task1.c,
	sp15/init.c, sp16/system.h, sp19/fptask.c, sp25/system.h,
	sp26/task1.c, sp27/init.c, sp28/init.c, sp29/init.c, sp31/task1.c,
	sp33/init.c, sp34/changepri.c, sp35/priinv.c, sp37/init.c,
	sp38/init.c, sp39/init.c, sp41/init.c, sp42/init.c, sp43/init.c,
	sp44/init.c, sp45/init.c, sp46/init.c, sp47/init.c, sp48/init.c,
	spfatal03/testcase.h, spfatal05/testcase.h, spfatal06/testcase.h,
	spfatal_support/system.h, spobjgetnext/init.c, spsize/getint.c,
	spsize/size.c: Fix warnings.
2009-05-10 14:39:46 +00:00
Joel Sherrill c14c2f0baf 2009-05-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add initial test of _Objects_Get_next.
	* spobjgetnext/.cvsignore, spobjgetnext/Makefile.am,
	spobjgetnext/init.c, spobjgetnext/spobjgetnext.scn,
	spobjgetnext/system.h: New files.
2009-05-08 02:05:51 +00:00
Joel Sherrill e73850bfb2 2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp25/init.c, sp25/system.h, sp25/task1.c: Reduce size of array from
	64k to 20k. No impact on test behavior.
2009-05-04 21:51:08 +00:00
Joel Sherrill 9149e76784 2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen12.c, sp25/task1.c: Remove warnigns for wrong types.
2009-05-04 20:34:24 +00:00
Joel Sherrill c8633f1fda 2009-04-20 Santosh G Vattam <vattam.santosh@gmail.com>
* sp37/init.c, sp37/sp37.scn: Add test case for
	rtems_interrupt_level_attribute body.
2009-04-20 15:47:32 +00:00
Ralf Corsepius 8e1f626cda 2009-04-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp01/Makefile.am, sp02/Makefile.am, sp03/Makefile.am,
	sp04/Makefile.am, sp05/Makefile.am, sp06/Makefile.am,
	sp07/Makefile.am, sp08/Makefile.am, sp09/Makefile.am,
	sp11/Makefile.am, sp12/Makefile.am, sp13/Makefile.am,
	sp14/Makefile.am, sp15/Makefile.am, sp16/Makefile.am,
	sp17/Makefile.am, sp19/Makefile.am, sp20/Makefile.am,
	sp21/Makefile.am, sp22/Makefile.am, sp23/Makefile.am,
	sp24/Makefile.am, sp25/Makefile.am, sp26/Makefile.am,
	sp27/Makefile.am, sp28/Makefile.am, sp29/Makefile.am,
	sp30/Makefile.am, sp31/Makefile.am, sp32/Makefile.am,
	sp33/Makefile.am, sp34/Makefile.am, sp35/Makefile.am,
	sp36/Makefile.am, sp37/Makefile.am, sp38/Makefile.am,
	sp39/Makefile.am, sp40/Makefile.am, sp41/Makefile.am,
	sp42/Makefile.am, sp43/Makefile.am, sp44/Makefile.am,
	sp45/Makefile.am, sp46/Makefile.am, sp47/Makefile.am,
	sp48/Makefile.am, spfatal/Makefile.am,
	spfatal01/Makefile.am, spfatal02/Makefile.am,
	spfatal03/Makefile.am, spfatal04/Makefile.am,
	spfatal05/Makefile.am, spfatal06/Makefile.am,
	spfatal07/Makefile.am, spfatal08/Makefile.am,
	spfatal09/Makefile.am, spsize/Makefile.am,
	spwatchdog/Makefile.am:
	Eliminate _exe_/.exe.
2009-04-03 12:48:04 +00:00
Joel Sherrill 8c324aa647 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1388/cpukit
	* sp09/screen05.c, sp09/screen09.c, sp09/sp09.scn: Classic Semaphores
	allow both priority inherit and ceiling attributes to be set on
	semaphore create. These attributes are mutually exclusive and this
	should be an error.
2009-03-02 16:12:49 +00:00
Joel Sherrill c83a33ccbb 2009-01-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add sp48 which tests that configuring for
	unlimited objects when configured for a unified workspace works as
	expected.
	* sp48/.cvsignore, sp48/Makefile.am, sp48/init.c, sp48/sp48.doc,
	sp48/sp48.scn: New files.
2009-01-30 22:20:39 +00:00
Joel Sherrill 03f0885546 2009-01-21 Nickolay Kolchin <nbkolchin@gmail.com>
Joel Sherrill <joel.sherrill@oarcorp.com>

	PR 1357/cpukit
	* rtems/src/tasks.c: Ensure creating a task with no ASR is honored.
2009-01-21 20:47:58 +00:00
Jennifer Averett 22fa9d6176 2009-01-16 Jennifer Averett <jennifer.averett@OARcorp.com>
* Makefile.am, configure.ac: Add new test to test Watchdog display
	helper routines. These reach into the SuperCore.
	* spwatchdog/.cvsignore, spwatchdog/Makefile.am, spwatchdog/delay.c,
	spwatchdog/init.c, spwatchdog/prtime.c, spwatchdog/spwatchdog.scn,
	spwatchdog/system.h, spwatchdog/task1.c: New files.
2009-01-16 18:57:53 +00:00
Joel Sherrill 786330c0d1 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp30/task1.c: Cast pointer to id as "void *" rather than task Id.
2009-01-05 19:47:16 +00:00
Joel Sherrill fa8ad9c2c3 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen05.c, sp09/screen07.c, sp09/screen10.c, sp09/screen11.c,
	sp09/screen12.c, sp09/screen14.c: Use rtems_build_id rather than
	hard-coded hex numbers for bad object Ids.
2009-01-05 19:45:49 +00:00
Joel Sherrill 29a83352f6 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp15/system.h, sp19/system.h: Array of task names should be of type
	rtems_name not rtems_id. Similarly array of task ids should be
	rtems_id not rtems_name.
2009-01-05 19:44:53 +00:00
Joel Sherrill 69e10f3e95 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* spsize/size.c: Eliminate _TOD_Microseconds_per_tick.
2008-12-16 20:56:40 +00:00
Joel Sherrill bb9c80df45 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, spfatal06/testcase.h,
	spfatal07/testcase.h, spfatal08/testcase.h, spfatal09/testcase.h,
	spsize/size.c: Eliminate pointers to API configuration tables in the
	main configuration table. Reference the main configuration table and
	the API configuration tables directly using the confdefs.h version
	rather than obtaining a pointer to it. This eliminated some
	variables, a potential fatal error, some unnecessary default
	configuration structures. Overall, about a 4.5% reduction in the code
	size for minimum and hello on the SPARC.
	* spfatal10/.cvsignore, spfatal10/Makefile.am, spfatal10/spfatal10.scn,
	spfatal10/testcase.h: Removed.
2008-12-15 19:21:10 +00:00
Joel Sherrill a986c0757a 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp07/init.c, sp12/init.c, sp12/pridrv.c, sp12/pritask.c,
	sp12/system.h, sp16/system.h, sp25/system.h, sp26/task1.c,
	sp28/init.c, sp29/init.c, sp35/priinv.c, sp42/init.c: Run all tests
	successfully with maxixum number of priorities as 16 instead of 256.
	This was done by temporarily modifying the score priority.h maximum.
	This allowed testing of all API code to ensure that it worked
	properly with a reduced number of priorities. Most modifications were
	to switch from hard-coded maximum to using the API provided methods
	to determine maximum number of priority levels.
2008-12-14 18:36:00 +00:00
Joel Sherrill 75ed329599 2008-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp46/sp46.scn: Add screen missed earlier.
2008-12-04 18:00:05 +00:00
Joel Sherrill ed348c8a7a 2008-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1348/cpukit
	* Makefile.am, configure.ac: Add test of special case of resetting cpu
	usage information while a period is running.
	* sp46/.cvsignore, sp46/Makefile.am, sp46/init.c, sp46/sp46.doc,
	sp46/sp46.scn: New files.
2008-12-04 15:58:49 +00:00
Joel Sherrill ab29fefe85 2008-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp45/init.c: New file.
2008-12-03 21:33:17 +00:00
Joel Sherrill a88e2dd030 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1347/cpukit
	* Makefile.am, configure.ac, sp30/resume.c, sp30/task1.c, sp31/delay.c:
	Rework Timer Server to ensure that the context allows for blocking,
	allocating memory, and acquiring semaphores and mutexes.
	* sp45/.cvsignore, sp45/Makefile.am, sp45/sp45.doc, sp45/sp45.scn:
	New files.
2008-12-03 20:59:49 +00:00
Joel Sherrill 1ea0f9d26a 2008-11-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp25/system.h: Add warning and temporary m32c conditional until size
	type addressed.
2008-11-25 22:13:36 +00:00
Joel Sherrill 29ff6c9ccb 2008-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen07.c: Use INT_MAX as number of messages so always
	properly sized and no overflow on constant.
	* sp09/screen10.c: Delay so on targets with simulator idle clock
	tick driver this will work.
	* sp09/screen11.c, sp09/system.h: Move badly aligned objects to odd
	byte boundaries rather than two byte boundaries.
	* sp09/screen03.c, sp09/screen14.c: Skip tests which try to
	allocate more memory than size_t holds on m32c.
2008-10-14 13:03:38 +00:00
Ralf Corsepius 3ab27952c2 Fix up ChangeLog. 2008-10-03 09:23:19 +00:00
Joel Sherrill 82478ffc7d 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen01.c, sp09/screen12.c, sp25/system.h, sp25/task1.c,
	sp28/init.c, sp39/init.c, sp41/init.c, spfatal01/testcase.h,
	spfatal08/testcase.h: Change size_t to ssize_t on all Heap, Workspace
	and Region calls. On 16-bit architectures, size_t can be 16-bits
	which would limit sizes to 64K. Also address constants which
	overflowed on 16-bit integer targets.
2008-10-02 20:57:28 +00:00
Joel Sherrill df518cbeab 2008-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp43/sp43.scn: Bump version to 4.9.99.0
2008-10-01 17:16:33 +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 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