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 */
|
/* Pointers to Interrupt Controller configuration registers */
|
||||||
volatile struct irqmp_regs *LEON3_IrqCtrl_Regs;
|
volatile struct irqmp_regs *LEON3_IrqCtrl_Regs;
|
||||||
struct ambapp_dev *LEON3_IrqCtrl_Adev;
|
struct ambapp_dev *LEON3_IrqCtrl_Adev;
|
||||||
|
volatile struct gptimer_regs *LEON3_Timer_Regs;
|
||||||
struct ambapp_dev *LEON3_Timer_Adev;
|
struct ambapp_dev *LEON3_Timer_Adev;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -37,11 +37,7 @@
|
|||||||
#define CLOCK_DRIVER_USE_FAST_IDLE 1
|
#define CLOCK_DRIVER_USE_FAST_IDLE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/* LEON3 Timer system interrupt number */
|
||||||
* The Real Time Clock Counter Timer uses this trap type.
|
|
||||||
*/
|
|
||||||
|
|
||||||
volatile struct gptimer_regs *LEON3_Timer_Regs = 0;
|
|
||||||
static int clkirq;
|
static int clkirq;
|
||||||
|
|
||||||
static void leon3_clock_profiling_interrupt_delay(void)
|
static void leon3_clock_profiling_interrupt_delay(void)
|
||||||
|
|||||||
Reference in New Issue
Block a user