forked from Imagelibrary/rtems
bsp/leon3: Declare leon3_ext_irq_init() in header
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
#include <bsp/fatal.h>
|
#include <bsp/fatal.h>
|
||||||
|
#include <leon.h>
|
||||||
#include <ambapp.h>
|
#include <ambapp.h>
|
||||||
|
|
||||||
/* AMBA Plug&Play information description.
|
/* AMBA Plug&Play information description.
|
||||||
@@ -22,9 +23,6 @@
|
|||||||
*/
|
*/
|
||||||
struct ambapp_bus ambapp_plb;
|
struct ambapp_bus ambapp_plb;
|
||||||
|
|
||||||
/* GRLIB extended IRQ controller register */
|
|
||||||
extern void leon3_ext_irq_init(void);
|
|
||||||
|
|
||||||
/* 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;
|
||||||
|
|
||||||
|
|||||||
@@ -319,6 +319,9 @@ void leon3_secondary_cpu_initialize(uint32_t cpu);
|
|||||||
|
|
||||||
void leon3_cpu_counter_initialize(void);
|
void leon3_cpu_counter_initialize(void);
|
||||||
|
|
||||||
|
/* GRLIB extended IRQ controller register */
|
||||||
|
void leon3_ext_irq_init(void);
|
||||||
|
|
||||||
void bsp_debug_uart_init(void);
|
void bsp_debug_uart_init(void);
|
||||||
|
|
||||||
#endif /* !ASM */
|
#endif /* !ASM */
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <bsp.h>
|
#include <leon.h>
|
||||||
|
|
||||||
/* GRLIB extended IRQ controller IRQ number */
|
/* GRLIB extended IRQ controller IRQ number */
|
||||||
int LEON3_IrqCtrl_EIrq = -1;
|
int LEON3_IrqCtrl_EIrq = -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user