summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp04/system.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-06-12 20:55:21 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-06-12 20:55:21 +0000
commit9b413eaef683ad383f9fbae5ea6b1f55b8acbe35 (patch)
treee4c4277b52edf92025de2ba05f60a720868e59e9 /testsuites/sptests/sp04/system.h
parentFixed comment block at the beginning of the file for a copyright date (diff)
downloadrtems-9b413eaef683ad383f9fbae5ea6b1f55b8acbe35.tar.bz2
Patch from Eric Norum to avoid printing from context switch user extension.
The array is too long and needs to be shortened.
Diffstat (limited to 'testsuites/sptests/sp04/system.h')
-rw-r--r--testsuites/sptests/sp04/system.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuites/sptests/sp04/system.h b/testsuites/sptests/sp04/system.h
index 191de5a2dc..cef8f5546b 100644
--- a/testsuites/sptests/sp04/system.h
+++ b/testsuites/sptests/sp04/system.h
@@ -66,4 +66,15 @@ TEST_EXTERN rtems_name Extension_name[ 4 ]; /* array of task names */
/* array of task run counts */
TEST_EXTERN volatile rtems_unsigned32 Run_count[ 4 ];
+/*
+ * Keep track of task switches
+ */
+struct taskSwitchLog {
+ int taskIndex;
+ rtems_time_of_day when;
+};
+extern struct taskSwitchLog taskSwitchLog[];
+extern int taskSwitchLogIndex;
+volatile extern int testsFinished;
+
/* end of include file */