Changeset 828049cb in rtems
- Timestamp:
- 03/08/18 07:48:28 (6 years ago)
- Branches:
- 5, master
- Children:
- bc16c65
- Parents:
- 0231ebc
- git-author:
- Sebastian Huber <sebastian.huber@…> (03/08/18 07:48:28)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (03/08/18 07:49:15)
- Location:
- testsuites/sptests/sp19
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/sptests/sp19/init.c
r0231ebc r828049cb 29 29 const char rtems_test_name[] = "SP 19"; 30 30 31 void thread_switch_extension( Thread_Control *executing, Thread_Control *heir ) 32 { 33 if ( heir->is_fp ) { 34 rtems_print_printer_fprintf_putc( &rtems_test_printer ); 35 } else { 36 rtems_print_printer_printk( &rtems_test_printer ); 37 } 38 } 39 31 40 rtems_task Init( 32 41 rtems_task_argument argument … … 35 44 rtems_status_code status; 36 45 37 rtems_print_printer_fprintf_putc(&rtems_test_printer);38 46 TEST_BEGIN(); 39 47 -
testsuites/sptests/sp19/system.h
r0231ebc r828049cb 41 41 #define CONFIGURE_MAXIMUM_TASKS 7 42 42 43 #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION 43 void thread_switch_extension( Thread_Control *, Thread_Control * ); 44 45 #define CONFIGURE_INITIAL_EXTENSIONS \ 46 { .thread_switch = thread_switch_extension }, \ 47 RTEMS_TEST_INITIAL_EXTENSION 44 48 45 49 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
Note: See TracChangeset
for help on using the changeset viewer.