VIRTUTECH CONFIDENTIAL    Previous - Up - Next

pci_bus

Implemented By
pci-bus, pcie-switch
Description
No documentation available!
typedef struct {
        exception_type_t (*memory_access)(conf_object_t *obj,
                                          generic_transaction_t *mem_op);
        void (*raise_interrupt)(conf_object_t *obj, conf_object_t *dev,
                                int pin);
        void (*lower_interrupt)(conf_object_t *obj, conf_object_t *dev,
                                int pin);
        int (*interrupt_acknowledge)(conf_object_t *obj);
        int (*add_map)(conf_object_t *obj, conf_object_t *dev,
                       addr_space_t space, conf_object_t *target,
                       map_info_t info);
        int (*remove_map)(conf_object_t *obj, conf_object_t *dev,
                          addr_space_t space, int function);
        void (*set_bus_number)(conf_object_t *obj, int bus_id);
        void (*set_sub_bus_number)(conf_object_t *obj, int bus_id);
        void (*add_default)(conf_object_t *obj, conf_object_t *dev,
                            addr_space_t space, conf_object_t *target,
                            map_info_t info);
        void (*remove_default)(conf_object_t *obj, addr_space_t space);
        void (*bus_reset)(conf_object_t *obj);
        void (*special_cycle)(conf_object_t *obj, uint32 value);
        void (*system_error)(conf_object_t *obj);

        int (*get_bus_address)(conf_object_t *obj, conf_object_t *dev);

        void (*set_device_timing_model)(conf_object_t *obj,
                                        conf_object_t *dev,
                                        conf_object_t *timing_model);
        // Only available since build 1318
        void (*set_device_status)(conf_object_t *obj, int device, int function,
                                  int enabled);
} pci_bus_interface_t;

VIRTUTECH CONFIDENTIAL    Previous - Up - Next