2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>

PR 1743/cpu
	* tm26/task1.c, tm27/task1.c: Add Simple Priority Scheduler as
	complement to existing Deterministic Priority Scheduler. Modify these
	tests to verify the scheduler they are designed to work with is the
	default scheduler.
This commit is contained in:
Joel Sherrill
2011-03-16 17:11:32 +00:00
parent 18b8ac71d8
commit a1a5f9225c
3 changed files with 21 additions and 0 deletions
+8
View File
@@ -1,3 +1,11 @@
2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1743/cpu
* tm26/task1.c, tm27/task1.c: Add Simple Priority Scheduler as
complement to existing Deterministic Priority Scheduler. Modify these
tests to verify the scheduler they are designed to work with is the
default scheduler.
2011-03-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* tm26/task1.c: Update for API change.
+7
View File
@@ -102,6 +102,13 @@ rtems_task Init(
puts( "\n\n*** TIME TEST 26 ***" );
if (_Scheduler.Operations.initialize != _Scheduler_priority_Initialize) {
puts(" Error ==> " );
puts("Test only supported for deterministic priority scheduler\n" );
puts( "*** END OF TEST 26 ***" );
rtems_test_exit( 0 );
}
#define FP1_PRIORITY (RTEMS_MAXIMUM_PRIORITY - 3u) /* 201, */
status = rtems_task_create(
rtems_build_name( 'F', 'P', '1', ' ' ),
+6
View File
@@ -54,6 +54,12 @@ rtems_task Init(
Print_Warning();
puts( "\n\n*** TIME TEST 27 ***" );
if (_Scheduler.Operations.initialize != _Scheduler_priority_Initialize) {
puts(" Error ==> " );
puts("Test only supported for deterministic priority scheduler\n" );
puts( "*** END OF TEST 26 ***" );
rtems_test_exit( 0 );
}
#define LOW_PRIORITY (RTEMS_MAXIMUM_PRIORITY - 1u)
status = rtems_task_create(