Changeset 2785eab2 in rtems


Ignore:
Timestamp:
May 30, 1998, 4:01:12 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
3b0f7cc
Parents:
95a683b
Message:

Changed calculaction for Clock_Decrementer_value to use the
BSP_configuration table.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/dmv177/clock/clock.c

    r95a683b r2785eab2  
    2222#include <bsp.h>
    2323#include <rtems/libio.h>
     24
     25extern rtems_cpu_table Cpu_table;
    2426
    2527/*
     
    175177)
    176178{
    177   Clock_Decrementer_value = (int) &CPU_PPC_CLICKS_PER_MS *
    178                        (BSP_Configuration.microseconds_per_tick / 1000);
     179  Clock_Decrementer_value = Cpu_table.clicks_per_usec *
     180                       BSP_Configuration.microseconds_per_tick;
    179181
    180182  Install_clock( Clock_isr );
Note: See TracChangeset for help on using the changeset viewer.