forked from Imagelibrary/rtems
2006-07-11 Joel Sherrill <joel@OARcorp.com>
* clock/ckinit.c, timer/timer.c: Make sure LEON3_Timer_Regs is initialized for the timer driver.
This commit is contained in:
@@ -27,9 +27,13 @@ rtems_boolean Timer_driver_Find_average_overhead;
|
||||
rtems_boolean Timer_driver_Is_initialized = FALSE;
|
||||
|
||||
extern volatile LEON3_Timer_Regs_Map *LEON3_Timer_Regs;
|
||||
extern void LEON3_Find_timer(void);
|
||||
|
||||
|
||||
void Timer_initialize()
|
||||
{
|
||||
LEON3_Find_timer();
|
||||
|
||||
/*
|
||||
* Timer runs long and accurate enough not to require an interrupt.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user