diff options
Diffstat (limited to 'bsps/sparc/leon3/include/leon.h')
-rw-r--r-- | bsps/sparc/leon3/include/leon.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/bsps/sparc/leon3/include/leon.h b/bsps/sparc/leon3/include/leon.h index 6294feb8a7..0382e1b7e3 100644 --- a/bsps/sparc/leon3/include/leon.h +++ b/bsps/sparc/leon3/include/leon.h @@ -44,6 +44,7 @@ #include <rtems.h> #include <amba.h> +#include <bsp/irqimpl.h> #ifdef __cplusplus extern "C" { @@ -146,10 +147,6 @@ extern "C" { #define LEON3_REG_CACHE_CTRL_FI 0x00200000 /* Flush instruction cache */ #define LEON3_REG_CACHE_CTRL_DS 0x00800000 /* Data cache snooping */ -/* LEON3 Interrupt Controller */ -extern volatile struct irqmp_regs *LEON3_IrqCtrl_Regs; -extern struct ambapp_dev *LEON3_IrqCtrl_Adev; - /* LEON3 GP Timer */ extern volatile struct gptimer_regs *LEON3_Timer_Regs; extern struct ambapp_dev *LEON3_Timer_Adev; @@ -193,8 +190,6 @@ static __inline__ int bsp_irq_fixup(int irq) * store the result back are vulnerable. */ -extern rtems_interrupt_lock LEON3_IrqCtrl_Lock; - #define LEON3_IRQCTRL_ACQUIRE( _lock_context ) \ rtems_interrupt_lock_acquire( &LEON3_IrqCtrl_Lock, _lock_context ) @@ -410,9 +405,6 @@ extern int leon3_timer_core_index; */ extern unsigned int leon3_timer_prescaler; -/* GRLIB extended IRQ controller register */ -void leon3_ext_irq_init(void); - RTEMS_NO_RETURN void leon3_power_down_loop(void); static inline uint32_t leon3_get_cpu_count( |