Changeset 458bd34 in rtems for c/src/lib/libcpu/powerpc/shared


Ignore:
Timestamp:
Nov 5, 1999, 4:44:02 PM (22 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/powerpc/shared/cpu.h

    r707f5c7 r458bd34  
    248248    unsigned32 start, ticks, now; \
    249249    CPU_Get_timebase_low( start ) ; \
    250     ticks = (_microseconds) * Cpu_table.clicks_per_usec; \
     250    ticks = (_microseconds) * rtems_cpu_configuration_get_clicks_per_usec(); \
    251251    do \
    252252      CPU_Get_timebase_low( now ) ; \
Note: See TracChangeset for help on using the changeset viewer.