RTEMS 6.1-rc7
Loading...
Searching...
No Matches
Macros | Functions | Variables
VMEConfig.h File Reference

This header file provides the interfaces used by VME bus device drivers. More...

Go to the source code of this file.

Macros

#define _VME_DRIVER_TSI148
 
#define PCI_MEM_BASE   0
 
#define PCI_DRAM_OFFSET   0
 
#define _VME_A32_WIN0_ON_PCI   (bsp_vme_pcie_base_address + 0x10000000)
 
#define _VME_A24_ON_PCI   (bsp_vme_pcie_base_address + 0x03000000)
 
#define _VME_A16_ON_PCI   (bsp_vme_pcie_base_address + 0x02000000)
 
#define _VME_CSR_ON_PCI   (bsp_vme_pcie_base_address + 0x01000000)
 
#define _VME_A32_WIN0_ON_VME   0x20000000
 
#define BSP_VME_INSTALL_IRQ_MGR(err)
 

Functions

int BSP_VMEInit (void)
 
int BSP_VMEIrqMgrInstall (void)
 

Variables

uintptr_t bsp_vme_pcie_base_address
 
unsigned short(* _BSP_clear_vmebridge_errors )(int)
 

Detailed Description

This header file provides the interfaces used by VME bus device drivers.

Note that for the MVME2500, you need the PCIe support from libbsd for this to work.

Macro Definition Documentation

◆ BSP_VME_INSTALL_IRQ_MGR

#define BSP_VME_INSTALL_IRQ_MGR (   err)
Value:
do { \
QORIQ_IRQ_EXT_0, \
QORIQ_EIRQ_TRIGGER_LEVEL_LOW, \
NULL \
); \
if (err == 0) { \
err = vmeTsi148InstallIrqMgrAlt(0, 0, QORIQ_IRQ_EXT_0, -1); \
} \
} while (0)
rtems_status_code qoriq_pic_set_sense_and_polarity(rtems_vector_number vector, qoriq_eirq_sense_and_polarity new_sense_and_polarity, qoriq_eirq_sense_and_polarity *old_sense_and_polarity)
Change polarity and sense settings of external interrupts.
Definition: irq.c:350