forked from Imagelibrary/rtems
sparc BSPs: implemented libpci IRQ BSP support
This commit is contained in:
@@ -187,6 +187,13 @@ void rtems_bsp_delay(int usecs);
|
|||||||
void console_outbyte_polled(int port, unsigned char ch);
|
void console_outbyte_polled(int port, unsigned char ch);
|
||||||
int console_inbyte_nonblocking(int port);
|
int console_inbyte_nonblocking(int port);
|
||||||
|
|
||||||
|
/* BSP PCI Interrupt support - to avoid warnings by libpci */
|
||||||
|
#define BSP_PCI_shared_interrupt_register BSP_shared_interrupt_register
|
||||||
|
#define BSP_PCI_shared_interrupt_unregister BSP_shared_interrupt_unregister
|
||||||
|
#define BSP_PCI_shared_interrupt_unmask BSP_shared_interrupt_unmask
|
||||||
|
#define BSP_PCI_shared_interrupt_mask BSP_shared_interrupt_mask
|
||||||
|
#define BSP_PCI_shared_interrupt_clear BSP_shared_interrupt_clear
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -210,6 +210,16 @@ void rtems_bsp_delay(int usecs);
|
|||||||
*/
|
*/
|
||||||
int cchip1_register(void);
|
int cchip1_register(void);
|
||||||
|
|
||||||
|
/* BSP PCI Interrupt support */
|
||||||
|
#define BSP_PCI_shared_interrupt_register BSP_shared_interrupt_register
|
||||||
|
#define BSP_PCI_shared_interrupt_unregister BSP_shared_interrupt_unregister
|
||||||
|
#define BSP_PCI_shared_interrupt_unmask BSP_shared_interrupt_unmask
|
||||||
|
#define BSP_PCI_shared_interrupt_mask BSP_shared_interrupt_mask
|
||||||
|
#define BSP_PCI_shared_interrupt_clear BSP_shared_interrupt_clear
|
||||||
|
|
||||||
|
/* AT697 has PCI defined as big endian */
|
||||||
|
#define BSP_PCI_BIG_ENDIAN
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -242,10 +242,15 @@ extern const unsigned char LEON3_mp_irq;
|
|||||||
extern const unsigned char LEON3_irq_to_cpu[32];
|
extern const unsigned char LEON3_irq_to_cpu[32];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* BSP PCI Interrupt support */
|
||||||
|
#define BSP_PCI_shared_interrupt_register BSP_shared_interrupt_register
|
||||||
|
#define BSP_PCI_shared_interrupt_unregister BSP_shared_interrupt_unregister
|
||||||
|
#define BSP_PCI_shared_interrupt_unmask BSP_shared_interrupt_unmask
|
||||||
|
#define BSP_PCI_shared_interrupt_mask BSP_shared_interrupt_mask
|
||||||
|
#define BSP_PCI_shared_interrupt_clear BSP_shared_interrupt_clear
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user