VIRTUTECH CONFIDENTIAL    Previous - Up - Next

fiesta-tomatillo

Provided by
fiesta-tomatillo
Class Hierarchy
conf-objectlog-objectfiesta-tomatillo
Interfaces Implemented
log_object, simple_interrupt, bridge, pci_bridge, event_poster, io_memory
Description
Tomatillo is the host-to-PCI bridge found in Fiesta systems. The following mapping numbers are used: 0 - Device register mapping. 11, 111 - Bridge mapping for PCI A configuration space. 12, 112 - Bridge mapping for PCI A I/O space. 13, 113 - Bridge mapping for PCI A memory space. 21, 121 - Bridge mapping for PCI B configuration space. 22, 122 - Bridge mapping for PCI B I/O space. 23, 123 - Bridge mapping for PCI B memory space. 30 - DVMA mapping in the PCI A memory space. 40 - DVMA mapping in the PCI B memory space. 254 - PCI A configuration space mapping. 255 - PCI B configuration space mapping.

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
PCI_A_IOMMU_translation
Pseudo attribute; read-only access; ; integer indexed; indexed type: Integer.

Returns the IOMMU translation of PCI address. The attribute must be indexed with the address to translate.

PCI_A_array_regs
Optional attribute; read/write access; type: unknown type.

A list of PCI CSR array registers for bus A; mainly for saving the simulator state.

PCI_A_irq_level
Optional attribute; read/write access; type: unknown type.

A list of interrupt levels for bus A; mainly for saving simulator state.

PCI_A_irq_state
Optional attribute; read/write access; type: unknown type.

A list of interrupt states for bus A; mainly for saving simulator state.

PCI_A_pbm_regs
Optional attribute; read/write access; type: unknown type.

(PCI-command, PCI-latency, bus-number, sub-bus-number); PCI CSR registers for bus A.

PCI_A_regs
Optional attribute; read/write access; type: unknown type.

The 16 PCI CSR registers for bus A; mainly for saving the simulator state.

PCI_B_IOMMU_translation
Pseudo attribute; read-only access; ; integer indexed; indexed type: Integer.

Returns the IOMMU translation of PCI address. The attribute must be indexed with the address to translate.

PCI_B_array_regs
Optional attribute; read/write access; type: unknown type.

A list of PCI CSR array registers for bus B; mainly for saving the simulator state.

PCI_B_pbm_regs
Optional attribute; read/write access; type: unknown type.

(PCI-command, PCI-latency, bus-number, sub-bus-number); PCI CSR registers for bus B.

PCI_B_regs
Optional attribute; read/write access; type: unknown type.

The 16 PCI CSR registers for bus B; mainly for saving the simulator state.

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

The largest DMA block size used. Must be a power of two, and not larger than 8192.

i2c_bus
Required attribute; read/write access; type: unknown type.

The i2c bus connected this device is connected to

i2c_device_state
Optional attribute; read/write access; type: [iiii].

List representing data state in the device

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

The object to be used as I/O space, implementing the interface lookup.

irq_bus
Required attribute; read/write access; type: unknown type.

The interrupt bus object used to send and receive interrupts.

irq_latency
Optional attribute; read/write access; type: unknown type.

Interrupt latency (experimental feature).

jbus_regs
Optional attribute; read/write access; type: unknown type.

A list containing the Jbus registers.

jpid
Required attribute; read/write access; type: unknown type.

The Jbus Port ID.

mapping
Optional attribute; read/write access; type: unknown type.

(bus-A-IO, bus-A-memory, bus-B-IO, bus-B-memory); flags set to 1 if IO/memory spaces are mapped for bus A/B.

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

The object to be used as memory space, implementing the interface lookup.

pci_busA
Required attribute; read/write access; type: unknown type.

The object to be used as PCI bus A, implementing the interface io-memory.

pci_busB
Required attribute; read/write access; type: unknown type.

The object to be used as PCI bus B, implementing the interface io-memory.

pio_latency
Optional attribute; read/write access; type: unknown type.

PIO latency (experimental feature).

Command List

Commands defined by interface log_object
log, log-group, log-level, log-size, log-type
Commands
pci-a-iommu-translatetranslate PCI-A IOMMU address
pci-a-regsprint PCI-A registers
pci-b-iommu-translatetranslate PCI-B IOMMU address
pci-b-regsprint PCI-A registers
pci-irqsprint PCI interrupts
pregsprint tomatillo registers

Command Descriptions

<fiesta-tomatillo>.pci-a-iommu-translate
Synopsis
<fiesta-tomatillo>.pci-a-iommu-translate pci-address
Description
Translate a PCI-A address using the IOMMU.
<fiesta-tomatillo>.pci-a-regs
Synopsis
<fiesta-tomatillo>.pci-a-regs
Description
Print the PCI-A registers in the tomatillo device.
<fiesta-tomatillo>.pci-b-iommu-translate
Synopsis
<fiesta-tomatillo>.pci-b-iommu-translate pci-address
Description
Translate a PCI-B address using the IOMMU.
<fiesta-tomatillo>.pci-b-regs
Synopsis
<fiesta-tomatillo>.pci-b-regs
Description
Print the PCI-A registers in the tomatillo device.
<fiesta-tomatillo>.pci-irqs
Synopsis
<fiesta-tomatillo>.pci-irqs
Description
Print the PCI-A interrupt status and mappings in the tomatillo device.
<fiesta-tomatillo>.pregs
Synopsis
<fiesta-tomatillo>.pregs
Description
Print the general registers in the tomatillo device

VIRTUTECH CONFIDENTIAL    Previous - Up - Next