summaryrefslogtreecommitdiffstats
path: root/c/src/tests/libtests/cpuuse
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/src/tests/libtests/cpuuse
parent61a183a90eee65fc1fd3598e27739029e8efda45 (diff)
downloadrtems-6bcceb87abebed9c7287329328a5f8a51009757d.tar.bz2
enabled floating point and fixed confdef reference to initialization
tasks table.
Diffstat (limited to 'c/src/tests/libtests/cpuuse')
-rw-r--r--c/src/tests/libtests/cpuuse/init.c6
-rw-r--r--c/src/tests/libtests/cpuuse/system.h2
2 files changed, 5 insertions, 3 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 */