From 606926fe6878b01851387a8677c01e48e665cdf9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 14 May 2002 15:20:48 +0000 Subject: 2001-05-14 Joel Sherrill * sp21/task1.c: Correct INVALID_DRIVER_MAJOR so it is precisely 1 more than the configured number of drivers. --- testsuites/sptests/ChangeLog | 5 +++++ testsuites/sptests/sp21/task1.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'testsuites/sptests') 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 + + * sp21/task1.c: Correct INVALID_DRIVER_MAJOR so it is precisely 1 more + than the configured number of drivers. + 2002-04-14 Ralf Corsepius * 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 -- cgit v1.2.3