pci_express_hotplug pci_multi_function_device
API Reference Manual  /  4 Model-to-Model Interfaces  / 

pci_interrupt

Description
This interface should only be used when a device other than the bridge handles PCI interrupts on the PCI bus. The initiating device is specified with a PCI device number, and the pin represents PCI interrupt lines (A, B, C, or D) as numbers in the range of 0 to 3.

SIM_INTERFACE(pci_interrupt) {
        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_INTERRUPT_INTERFACE		"pci_interrupt"

Execution Context
Cell Context for all methods.

pci_express_hotplug pci_multi_function_device