summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-09 21:00:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-09 21:00:33 +0000
commit6bcceb87abebed9c7287329328a5f8a51009757d (patch)
tree9a108b7c7b0f325acd80c8bb6b2fba6923de34ee /c
parentnew test (diff)
downloadrtems-6bcceb87abebed9c7287329328a5f8a51009757d.tar.bz2
enabled floating point and fixed confdef reference to initialization
tasks table.
Diffstat (limited to 'c')
-rw-r--r--c/src/tests/libtests/cpuuse/init.c6
-rw-r--r--c/src/tests/libtests/cpuuse/system.h2
-rw-r--r--c/src/tests/libtests/rtmonuse/init.c2
-rw-r--r--c/src/tests/libtests/rtmonuse/system.h4
4 files changed, 9 insertions, 5 deletions
diff --git a/c/src/tests/libtests/cpuuse/init.c b/c/src/tests/libtests/cpuuse/init.c
index 95bbdc0939..b6fe093d78 100644
--- a/c/src/tests/libtests/cpuuse/init.c
+++ b/c/src/tests/libtests/cpuuse/init.c
@@ -67,7 +67,7 @@ rtems_task Init(
1,
RTEMS_MINIMUM_STACK_SIZE * 2,
RTEMS_TIMESLICE,
- RTEMS_DEFAULT_ATTRIBUTES,
+ RTEMS_FLOATING_POINT,
&Task_id[ 1 ]
);
directive_failed( status, "rtems_task_create of TA1" );
@@ -77,7 +77,7 @@ rtems_task Init(
1,
RTEMS_MINIMUM_STACK_SIZE * 2,
RTEMS_TIMESLICE,
- RTEMS_DEFAULT_ATTRIBUTES,
+ RTEMS_FLOATING_POINT,
&Task_id[ 2 ]
);
directive_failed( status, "rtems_task_create of TA2" );
@@ -87,7 +87,7 @@ rtems_task Init(
1,
RTEMS_MINIMUM_STACK_SIZE * 2,
RTEMS_TIMESLICE,
- RTEMS_DEFAULT_ATTRIBUTES,
+ RTEMS_FLOATING_POINT,
&Task_id[ 3 ]
);
directive_failed( status, "rtems_task_create of TA3" );
diff --git a/c/src/tests/libtests/cpuuse/system.h b/c/src/tests/libtests/cpuuse/system.h
index bdf4ce271e..a7bd81aa0c 100644
--- a/c/src/tests/libtests/cpuuse/system.h
+++ b/c/src/tests/libtests/cpuuse/system.h
@@ -49,6 +49,8 @@ void Task_switch(
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/libtests/rtmonuse/init.c b/c/src/tests/libtests/rtmonuse/init.c
index c4437839bd..26a7a335ec 100644
--- a/c/src/tests/libtests/rtmonuse/init.c
+++ b/c/src/tests/libtests/rtmonuse/init.c
@@ -49,7 +49,7 @@ rtems_task Init(
Priorities[ index ],
RTEMS_MINIMUM_STACK_SIZE * 4,
RTEMS_DEFAULT_MODES,
- RTEMS_DEFAULT_ATTRIBUTES,
+ (index == 5) ? RTEMS_FLOATING_POINT : RTEMS_DEFAULT_ATTRIBUTES,
&Task_id[ index ]
);
directive_failed( status, "rtems_task_create loop" );
diff --git a/c/src/tests/libtests/rtmonuse/system.h b/c/src/tests/libtests/rtmonuse/system.h
index b301bdeeb0..0744e58887 100644
--- a/c/src/tests/libtests/rtmonuse/system.h
+++ b/c/src/tests/libtests/rtmonuse/system.h
@@ -11,7 +11,7 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * system.h,v 1.6 1995/12/19 20:21:12 joel Exp
+ * $Id$
*/
#include <tmacros.h>
@@ -45,6 +45,8 @@ void Get_all_counters( void );
#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES
#define CONFIGURE_MAXIMUM_PERIODS 10
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */