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

pci_device

Description
This interface is implemented by all PCI devices (including bridges).

Note: The interrupt_acknowledge and special_cycle functions are deprecated. The functions can be left unimplemented (NULL).
SIM_INTERFACE(pci_device) {
        void (*bus_reset)(conf_object_t *obj);

        /* Deprecated; interrupt_acknowledge, special_cycle */
        int (*DEPRECATED_FUNC(interrupt_acknowledge))(conf_object_t *obj);
        void (*DEPRECATED_FUNC(special_cycle))(conf_object_t *obj,
                                               uint32 value);

        /* System Error */
        void (*system_error)(conf_object_t *obj);

        /* peer-to-peer interrupt mechanism */
        void (*interrupt_raised)(conf_object_t *obj, int pin);
        void (*interrupt_lowered)(conf_object_t *obj, int pin);
};

#define PCI_DEVICE_INTERFACE "pci_device"

Execution Context
Cell Context for all methods.

pci_bus pci_downstream