Ignore:
Timestamp:
Nov 5, 1999, 4:44:02 PM (21 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/lib/libcpu/hppa1.1/clock/clock.c

    r707f5c7 r458bd34  
    2222
    2323#include <stdlib.h>                     /* for atexit() */
    24 
    25 extern rtems_cpu_table           Cpu_table;             /* owned by BSP */
    2624
    2725typedef unsigned long long hppa_click_count_t;
     
    208206    future_time = Clock_clicks +
    209207      ((rtems_unsigned64) microseconds) *
    210         Cpu_table.itimer_clicks_per_microsecond;
     208        rtems_cpu_configuration_get_itimer_clicks_per_microsecond();
    211209
    212210    for (;;)
Note: See TracChangeset for help on using the changeset viewer.