diff options
Diffstat (limited to 'testsuites/sptests/spfatal')
-rw-r--r-- | testsuites/sptests/spfatal/fatal.c | 5 | ||||
-rw-r--r-- | testsuites/sptests/spfatal/system.h | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/testsuites/sptests/spfatal/fatal.c b/testsuites/sptests/spfatal/fatal.c index aef4a159de..c89105a826 100644 --- a/testsuites/sptests/spfatal/fatal.c +++ b/testsuites/sptests/spfatal/fatal.c @@ -103,7 +103,7 @@ void Process_case() { switch ( Case_in_switch ) { case FATAL_WORKSPACE_OF_ZERO: - New_Configuration = BSP_Configuration; + New_Configuration = rtems_configuration_get_table(); New_Configuration.work_space_start = NULL; Case_in_switch = FATAL_NULL_WORKSPACE; break; @@ -131,6 +131,7 @@ void Process_case() Initialization_tasks[ 0 ].entry_point = Init; break; } - rtems_initialize_executive( &New_Configuration, &Cpu_table ); + rtems_initialize_executive( + &New_Configuration, rtems_cpu_configuration_get_table() ); } diff --git a/testsuites/sptests/spfatal/system.h b/testsuites/sptests/spfatal/system.h index f2391c2a94..113beffd29 100644 --- a/testsuites/sptests/spfatal/system.h +++ b/testsuites/sptests/spfatal/system.h @@ -73,7 +73,5 @@ TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */ TEST_EXTERN rtems_configuration_table New_Configuration; extern rtems_extensions_table Extensions; -extern rtems_configuration_table BSP_Configuration; -extern rtems_cpu_table Cpu_table; /* end of include file */ |