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:
Joel Sherrill
2006-07-11 14:53:07 +00:00
parent daf46560dc
commit 72baf56520
3 changed files with 45 additions and 21 deletions

View File

@@ -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.
*/