From 458bd343e24cda7169c75f079705979891c9abc1 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 5 Nov 1999 16:44:02 +0000 Subject: 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 . --- c/src/libmisc/stackchk/check.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'c/src/libmisc/stackchk') diff --git a/c/src/libmisc/stackchk/check.c b/c/src/libmisc/stackchk/check.c index ac688c2a2e..b8688d3579 100644 --- a/c/src/libmisc/stackchk/check.c +++ b/c/src/libmisc/stackchk/check.c @@ -32,9 +32,6 @@ */ #define DONT_USE_FATAL_EXTENSION - -extern rtems_configuration_table BSP_Configuration; - #include #include #include @@ -318,11 +315,11 @@ void Stack_check_report_blown_task(void) ); fflush(stderr); - if (BSP_Configuration.User_multiprocessing_table) + if (rtems_configuration_get_user_multiprocessing_table()) fprintf( stderr, "; node=%d\n", - BSP_Configuration.User_multiprocessing_table->node + rtems_configuration_get_user_multiprocessing_table()->node ); else fprintf(stderr, "\n"); -- cgit v1.2.3