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/exec/sapi/include/confdefs.h | 2 ++ c/src/exec/sapi/include/rtems/config.h | 3 +++ 2 files changed, 5 insertions(+) (limited to 'c/src/exec/sapi/include') diff --git a/c/src/exec/sapi/include/confdefs.h b/c/src/exec/sapi/include/confdefs.h index b841d568de..e2a0c84d3d 100644 --- a/c/src/exec/sapi/include/confdefs.h +++ b/c/src/exec/sapi/include/confdefs.h @@ -80,6 +80,8 @@ int rtems_filesystem_mount_table_size = 1; /* * Stack Checker Requirements + * + * NOTE: This does not automatically enable reporting at program exit. */ #ifdef STACK_CHECKER_ON diff --git a/c/src/exec/sapi/include/rtems/config.h b/c/src/exec/sapi/include/rtems/config.h index 8a2def6082..7dbc997ff9 100644 --- a/c/src/exec/sapi/include/rtems/config.h +++ b/c/src/exec/sapi/include/rtems/config.h @@ -121,6 +121,9 @@ SAPI_EXTERN rtems_multiprocessing_table *_Configuration_MP_table; * or the exact format of the configuration table. */ +#define rtems_configuration_get_table() \ + (&_Configuration_Table) + #define rtems_configuration_get_work_space_start() \ (_Configuration_Table->work_space_start) -- cgit v1.2.3