diff options
Diffstat (limited to 'testsuites/sptests/sp19/init.c')
-rw-r--r-- | testsuites/sptests/sp19/init.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/testsuites/sptests/sp19/init.c b/testsuites/sptests/sp19/init.c index ee499fad6b..ef52f98444 100644 --- a/testsuites/sptests/sp19/init.c +++ b/testsuites/sptests/sp19/init.c @@ -28,13 +28,21 @@ const char rtems_test_name[] = "SP 19"; +void thread_switch_extension( Thread_Control *executing, Thread_Control *heir ) +{ + if ( heir->is_fp ) { + rtems_print_printer_fprintf_putc( &rtems_test_printer ); + } else { + rtems_print_printer_printk( &rtems_test_printer ); + } +} + rtems_task Init( rtems_task_argument argument ) { rtems_status_code status; - rtems_print_printer_fprintf_putc(&rtems_test_printer); TEST_BEGIN(); Task_name[ 1 ] = rtems_build_name( 'T', 'A', '1', ' ' ); |