forked from Imagelibrary/rtems
LEON3: move timer variable to where initialized
This commit is contained in:
@@ -72,6 +72,7 @@ rtems_interrupt_lock LEON3_IrqCtrl_Lock =
|
||||
/* Pointers to Interrupt Controller configuration registers */
|
||||
volatile struct irqmp_regs *LEON3_IrqCtrl_Regs;
|
||||
struct ambapp_dev *LEON3_IrqCtrl_Adev;
|
||||
volatile struct gptimer_regs *LEON3_Timer_Regs;
|
||||
struct ambapp_dev *LEON3_Timer_Adev;
|
||||
|
||||
/*
|
||||
|
||||
@@ -37,11 +37,7 @@
|
||||
#define CLOCK_DRIVER_USE_FAST_IDLE 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The Real Time Clock Counter Timer uses this trap type.
|
||||
*/
|
||||
|
||||
volatile struct gptimer_regs *LEON3_Timer_Regs = 0;
|
||||
/* LEON3 Timer system interrupt number */
|
||||
static int clkirq;
|
||||
|
||||
static void leon3_clock_profiling_interrupt_delay(void)
|
||||
|
||||
Reference in New Issue
Block a user