nios_eic pci_bus
API Reference Manual  /  4 Model-to-Model Interfaces  / 

pci_bridge

Description
This interface is implemented by all PCI bridges. For interrupts, the initiating device is specified with a pci-bus object and PCI device number pair, and the pin represents PCI interrupt lines (A, B, C, or D) as numbers in the range of 0 to 3.

SIM_INTERFACE(pci_bridge) {
        void (*system_error)(conf_object_t *obj);
        void (*raise_interrupt)(conf_object_t *obj, conf_object_t *pci_bus,
                                int device, int pin);
        void (*lower_interrupt)(conf_object_t *obj, conf_object_t *pci_bus,
                                int device, int pin);
};

#define PCI_BRIDGE_INTERFACE		"pci_bridge"

Execution Context
Cell Context for all methods.

nios_eic pci_bus