summaryrefslogtreecommitdiff
path: root/bsps/sparc/leon3/include/leon.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/sparc/leon3/include/leon.h')
-rw-r--r--bsps/sparc/leon3/include/leon.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/bsps/sparc/leon3/include/leon.h b/bsps/sparc/leon3/include/leon.h
index 5fadb08052..8cee0972d4 100644
--- a/bsps/sparc/leon3/include/leon.h
+++ b/bsps/sparc/leon3/include/leon.h
@@ -25,6 +25,7 @@
#include <rtems.h>
#include <amba.h>
+#include <bsp/leon3.h>
#ifdef __cplusplus
extern "C" {
@@ -127,10 +128,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;
@@ -174,8 +171,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 )
@@ -391,9 +386,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(