Changeset 91df983e in rtems


Ignore:
Timestamp:
Mar 27, 2010, 8:09:33 AM (9 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, master
Children:
ff8f05b
Parents:
f21f9cb
Message:

get desired clock rate for proper source

Location:
c/src/lib/libbsp/m68k/genmcf548x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/genmcf548x/ChangeLog

    rf21f9cb r91df983e  
     12010-03-26      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
     2
     3        * clock/clock.c: get desired clock rate for proper source
     4
    152010-02-24      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
    26
     
    48        * startup/bspstart.c: enable FPU, if POSIX init task present
    59        * startup/init548x.c: explicitly disable all edge port interrupts
    6 
    710
    8112009-12-16      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
  • c/src/lib/libbsp/m68k/genmcf548x/clock/clock.c

    rf21f9cb r91df983e  
    9696    MCF548X_INTC_IMRH &= ~(MCF548X_INTC_IMRH_INT_MASK54);               \
    9797    rtems_interrupt_enable( level );                                    \
    98     MCF548X_SLT_SLTCNT0 = get_CPU_clock_speed()/100;                    \
     98    MCF548X_SLT_SLTCNT0 = get_CPU_clock_speed()                         \
     99      / 1000                                                            \
     100      * rtems_configuration_get_microseconds_per_tick()                 \
     101      / 1000;                                                           \
    99102    MCF548X_SLT_SCR0 |= (MCF548X_SLT_SCR_TEN | MCF548X_SLT_SCR_RUN | MCF548X_SLT_SCR_IEN); \
    100103  } while (0)
Note: See TracChangeset for help on using the changeset viewer.