forked from Imagelibrary/rtems
2006-07-12 Jerry Needell <jerry.needell@unh.edu>
* amba/amba.c, clock/ckinit.c, include/amba.h, timer/timer.c: Search for the Timer Register when initializing the amba rather than before each potential use.
This commit is contained in:
@@ -27,12 +27,10 @@ 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