Changeset 458bd34 in rtems for c/src/libmisc/stackchk


Ignore:
Timestamp:
11/05/99 16:44:02 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
968f7742
Parents:
707f5c7
Message:

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@…>.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libmisc/stackchk/check.c

    r707f5c7 r458bd34  
    3232 */
    3333#define DONT_USE_FATAL_EXTENSION
    34 
    35 
    36 extern rtems_configuration_table BSP_Configuration;
    3734
    3835#include <assert.h>
     
    319316    fflush(stderr);
    320317
    321     if (BSP_Configuration.User_multiprocessing_table)
     318    if (rtems_configuration_get_user_multiprocessing_table())
    322319        fprintf(
    323320          stderr,
    324321          "; node=%d\n",
    325           BSP_Configuration.User_multiprocessing_table->node
     322          rtems_configuration_get_user_multiprocessing_table()->node
    326323       );
    327324    else
Note: See TracChangeset for help on using the changeset viewer.