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/tests/support/include/tmacros.h

    r707f5c7 r458bd34  
    123123#define task_number( tid ) \
    124124  ( rtems_get_index( tid ) - \
    125      BSP_Configuration.RTEMS_api_configuration->number_of_initialization_tasks )
     125     rtems_configuration_get_rtems_api_configuration()->number_of_initialization_tasks )
    126126
    127127static inline rtems_unsigned32 get_ticks_per_second( void )
Note: See TracChangeset for help on using the changeset viewer.