forked from Imagelibrary/rtems
get desired clock rate for proper source
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
2010-03-26 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
|
||||
|
||||
* clock/clock.c: get desired clock rate for proper source
|
||||
|
||||
2010-02-24 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
|
||||
|
||||
* network/network.c: combine all checks for missing MAC address
|
||||
* startup/bspstart.c: enable FPU, if POSIX init task present
|
||||
* startup/init548x.c: explicitly disable all edge port interrupts
|
||||
|
||||
|
||||
2009-12-16 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
|
||||
|
||||
* console/console.c: adapted to new prototype for *_write
|
||||
|
||||
@@ -95,7 +95,10 @@
|
||||
rtems_interrupt_disable( level ); \
|
||||
MCF548X_INTC_IMRH &= ~(MCF548X_INTC_IMRH_INT_MASK54); \
|
||||
rtems_interrupt_enable( level ); \
|
||||
MCF548X_SLT_SLTCNT0 = get_CPU_clock_speed()/100; \
|
||||
MCF548X_SLT_SLTCNT0 = get_CPU_clock_speed() \
|
||||
/ 1000 \
|
||||
* rtems_configuration_get_microseconds_per_tick() \
|
||||
/ 1000; \
|
||||
MCF548X_SLT_SCR0 |= (MCF548X_SLT_SCR_TEN | MCF548X_SLT_SCR_RUN | MCF548X_SLT_SCR_IEN); \
|
||||
} while (0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user