summaryrefslogtreecommitdiffstats
path: root/c/src/tests/sptests/sp20/system.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-09-29 14:51:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-09-29 14:51:16 +0000
commitcf42c54cfa3499b73571d174dfe76c8397750946 (patch)
treef0f4609281497f50b766aecb4d904e9a901132e6 /c/src/tests/sptests/sp20/system.h
parent2000-09-29 Stephan Merker <merker@decrc.abb.de> (diff)
downloadrtems-cf42c54cfa3499b73571d174dfe76c8397750946.tar.bz2
2000-09-29 Stephan Merker <merker@decrc.abb.de>
* sp20/getall.c, sp20/init.c, sp20/system.h, sp20/task1.c: Added new task to test sequence of altering a period's length while it is still active.
Diffstat (limited to '')
-rw-r--r--c/src/tests/sptests/sp20/system.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/c/src/tests/sptests/sp20/system.h b/c/src/tests/sptests/sp20/system.h
index 868fd60ae5..a7f524cc8f 100644
--- a/c/src/tests/sptests/sp20/system.h
+++ b/c/src/tests/sptests/sp20/system.h
@@ -13,12 +13,16 @@
* $Id$
*/
+/* StM:
+ One test added for verifying rtems_rate_monotonic_period() with changing period lengths.
+ */
+
#include <tmacros.h>
/* types */
struct counters {
- rtems_unsigned32 count[6];
+ rtems_unsigned32 count[7];
};
/* functions */
@@ -27,7 +31,7 @@ rtems_task Init(
rtems_task_argument argument
);
-rtems_task Task_1_through_5(
+rtems_task Task_1_through_6(
rtems_task_argument argument
);
@@ -38,7 +42,7 @@ void Get_all_counters( void );
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
-#define CONFIGURE_MAXIMUM_TASKS 6
+#define CONFIGURE_MAXIMUM_TASKS 7
#define CONFIGURE_MAXIMUM_PERIODS 10
#define CONFIGURE_INIT_TASK_PRIORITY 10
@@ -51,11 +55,11 @@ void Get_all_counters( void );
/* global variables */
-TEST_EXTERN rtems_id Task_id[ 6 ]; /* array of task ids */
-TEST_EXTERN rtems_name Task_name[ 6 ]; /* array of task names */
+TEST_EXTERN rtems_id Task_id[ 7 ]; /* array of task ids */
+TEST_EXTERN rtems_name Task_name[ 7 ]; /* array of task names */
TEST_EXTERN struct counters Count; /* iteration counters */
TEST_EXTERN struct counters Temporary_count;
-extern rtems_task_priority Priorities[ 6 ];
+extern rtems_task_priority Priorities[ 7 ];
/* end of include file */