VIRTUTECH CONFIDENTIAL    Previous - Up - Next

pci-bus

Provided by
pci-bus
Class Hierarchy
conf-objectlog-objectpci-bus
Interfaces Implemented
log_object, snoop_memory, timing_model, pci_bus, io_memory
Description
The pci-bus device models a logical Peripheral Component Interconnect bus that PCI devices can be connected to. The bus needs memory-space objects connected, representing the three PCI address spaces 'configuration', 'I/O' and 'memory'. The bus itself should be connected to a PCI bridge device.

Attributes

Attributes inherited from class conf-object
attributes, classname, component, iface, name, object_id, queue
Attributes inherited from class log-object
access_count, log_buffer, log_buffer_last, log_buffer_size, log_group_mask, log_groups, log_level, log_type_mask
Attribute List
bridge
Required attribute; read/write access; type: Object.

Upstream PCI bridge object, which must implement the pci-bridge interface.

bus_number
Optional attribute; read/write access; type: Integer.

PCI bus number of this bus. In most cases this is 0, but some exceptions exist.

conf_space
Required attribute; read/write access; type: Object.

Memory-space object representing the PCI configuration space.

interrupt
Optional attribute; read/write access; type: o|n|[o*].

One or more interrupt device objects that implements the pci-interrupt interface. This attribute only has to be set if the bridge does not handle PCI interrupts.

io_space
Required attribute; read/write access; type: Object.

Memory-space object representing the PCI I/O space.

memory_space
Required attribute; read/write access; type: Object.

Memory-space object representing the PCI memory space.

pci_devices
Optional attribute; read/write access; type: [[iio]|[iioi]*].

((id, function, object)*) id is pci device id. function is the pci device logical function. object is the pci device itself, which must implement the 'pci-device' interface.

send_interrupt_to_bridge
Optional attribute; read/write access; type: Integer.

If non-zero (default), interrupt will be routed to the PCI bridge as well as the interrupt devices.

sub_bus_number
Optional attribute; read/write access; type: Integer.

Subordinate PCI bus number for this bus.

Command List

Commands defined by interface log_object
log, log-group, log-level, log-size, log-type
Commands
infoprint information about the device

Command Descriptions

<pci-bus>.info
Synopsis
<pci-bus>.info
Description
Print detailed information about the configuration of the device.

VIRTUTECH CONFIDENTIAL    Previous - Up - Next