diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-04-09 21:00:33 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-04-09 21:00:33 +0000 |
commit | 6bcceb87abebed9c7287329328a5f8a51009757d (patch) | |
tree | 9a108b7c7b0f325acd80c8bb6b2fba6923de34ee /c/src/tests/libtests/cpuuse | |
parent | new test (diff) | |
download | rtems-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.c | 6 | ||||
-rw-r--r-- | c/src/tests/libtests/cpuuse/system.h | 2 |
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 */ |