[rtems commit] smp03: Use floating-point tasks

Sebastian Huber sebh at rtems.org
Fri Jan 19 12:09:06 UTC 2018


Module:    rtems
Branch:    master
Commit:    cf2024bc8a2c8eb62d55a1d01d226ed077d129f6
Changeset: http://git.rtems.org/rtems/commit/?id=cf2024bc8a2c8eb62d55a1d01d226ed077d129f6

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Jan 19 13:08:46 2018 +0100

smp03: Use floating-point tasks

This test uses sprintf().

---

 testsuites/smptests/smp03/init.c   | 4 ++--
 testsuites/smptests/smp03/system.h | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/testsuites/smptests/smp03/init.c b/testsuites/smptests/smp03/init.c
index 03eddb0..3ad0352 100644
--- a/testsuites/smptests/smp03/init.c
+++ b/testsuites/smptests/smp03/init.c
@@ -80,7 +80,7 @@ rtems_task Init(
       CONFIGURE_INIT_TASK_PRIORITY + (2*i),
       RTEMS_MINIMUM_STACK_SIZE,
       RTEMS_PREEMPT,
-      RTEMS_DEFAULT_ATTRIBUTES,
+      RTEMS_FLOATING_POINT,
       &id
     );
     directive_failed( status, "rtems_task_create" );
@@ -100,7 +100,7 @@ rtems_task Init(
     3,
     RTEMS_MINIMUM_STACK_SIZE,
     RTEMS_PREEMPT,
-    RTEMS_DEFAULT_ATTRIBUTES,
+    RTEMS_FLOATING_POINT,
     &id
   );
   directive_failed( status, "rtems_task_create" );
diff --git a/testsuites/smptests/smp03/system.h b/testsuites/smptests/smp03/system.h
index f0aff94..a5bcd06 100644
--- a/testsuites/smptests/smp03/system.h
+++ b/testsuites/smptests/smp03/system.h
@@ -37,7 +37,6 @@ rtems_task Test_task(
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 #define CONFIGURE_INIT_TASK_STACK_SIZE \
     (3 * CONFIGURE_MINIMUM_TASK_STACK_SIZE)
-#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
 
 #define CONFIGURE_INIT_TASK_PRIORITY        5 
 #define CONFIGURE_INIT_TASK_INITIAL_MODES   RTEMS_PREEMPT



More information about the vc mailing list