summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-05-14 15:20:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-05-14 15:20:48 +0000
commit606926fe6878b01851387a8677c01e48e665cdf9 (patch)
tree93fb7f758a83462d72df84b5571f2595af212b07 /testsuites/sptests
parent2002-05-07 Chris Johns <ccj@acm.org> (diff)
downloadrtems-606926fe6878b01851387a8677c01e48e665cdf9.tar.bz2
2001-05-14 Joel Sherrill <joel@OARcorp.com>
* sp21/task1.c: Correct INVALID_DRIVER_MAJOR so it is precisely 1 more than the configured number of drivers.
Diffstat (limited to 'testsuites/sptests')
-rw-r--r--testsuites/sptests/ChangeLog5
-rw-r--r--testsuites/sptests/sp21/task1.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog
index 393a1d4e5a..dce9c72b03 100644
--- a/testsuites/sptests/ChangeLog
+++ b/testsuites/sptests/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-14 Joel Sherrill <joel@OARcorp.com>
+
+ * sp21/task1.c: Correct INVALID_DRIVER_MAJOR so it is precisely 1 more
+ than the configured number of drivers.
+
2002-04-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove ENABLE_GCC28.
diff --git a/testsuites/sptests/sp21/task1.c b/testsuites/sptests/sp21/task1.c
index b28b1f019c..f60699a1ae 100644
--- a/testsuites/sptests/sp21/task1.c
+++ b/testsuites/sptests/sp21/task1.c
@@ -7,7 +7,7 @@
*
* Output parameters: NONE
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2002.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -21,7 +21,8 @@
#define STUB_DRIVER_MAJOR 0x2
#define NO_DRIVER_MAJOR 0x3
-#define INVALID_DRIVER_MAJOR 0x5
+#define INVALID_DRIVER_MAJOR (CONFIGURE_MAXIMUM_DRIVERS + 1)
+/* #define INVALID_DRIVER_MAJOR 0xffffffff */
rtems_task Task_1(
rtems_task_argument argument