|
RTEMS
5.1
|
1 #ifndef RTEMS_BSP_VME_CONFIG_H 2 #define RTEMS_BSP_VME_CONFIG_H 51 #define _VME_DRIVER_TSI148 52 #define _VME_DRIVER_UNIVERSE 59 #define _VME_A32_WIN0_ON_PCI 0x90000000 63 #define _VME_CSR_ON_PCI 0x9e000000 64 #define _VME_A24_ON_PCI 0x9f000000 65 #define _VME_A16_ON_PCI 0x9fff0000 70 #define _VME_A32_WIN0_ON_VME 0x20000000 76 #define _VME_DRAM_OFFSET 0x90000000 78 extern int BSP_VMEInit(
void);
79 extern int BSP_VMEIrqMgrInstall(
void);
81 #define BSP_VME_INSTALL_IRQ_MGR(err) \ 84 switch (BSP_getBoardType()) { \ 86 err = theOps->install_irq_mgr( \ 87 VMETSI148_IRQ_MGR_FLAG_SHARED, \ 88 0, BSP_IRQ_GPP_0 + 20, \ 89 1, BSP_IRQ_GPP_0 + 21, \ 90 2, BSP_IRQ_GPP_0 + 22, \ 91 3, BSP_IRQ_GPP_0 + 23, \ 96 err = theOps->install_irq_mgr( \ 97 VMEUNIVERSE_IRQ_MGR_FLAG_SHARED | \ 98 VMEUNIVERSE_IRQ_MGR_FLAG_PW_WORKAROUND, \ 99 0, BSP_IRQ_GPP_0 + 12, \ 100 1, BSP_IRQ_GPP_0 + 13, \ 101 2, BSP_IRQ_GPP_0 + 14, \ 102 3, BSP_IRQ_GPP_0 + 15, \ 107 printk("WARNING: unknown board; "); \ 111 printk("VME interrupt manager NOT INSTALLED (error: %i)\n", err); \