diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-05 16:44:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-05 16:44:02 +0000 |
commit | 458bd343e24cda7169c75f079705979891c9abc1 (patch) | |
tree | a9e584c28211674b28d1e37aec005e0e3a25afa1 /testsuites/sptests/spfatal | |
parent | Eliminated references to stack checker related #defines. (diff) | |
download | rtems-458bd343e24cda7169c75f079705979891c9abc1.tar.bz2 |
This is another pass at making sure that nothing outside the BSP
unnecessarily uses any variables defined by the BSP. On this
sweep, use of BSP_Configuration and Cpu_table was eliminated.
A significant part of this modification was the addition of
macros to access fields in the RTEMS configuration structures.
This is necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves. This started after
comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
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 */ |