VIRTUTECH CONFIDENTIAL    Previous - Up - Next

cheerio-e2bus

Provided by
cheerio-e2bus
Class Hierarchy
conf-objectlog-objectcheerio-e2bus
Interfaces Implemented
log_object, io_memory, pci_device
Description
The cheerio-e2bus is a dummy pci device that pretends to be a Cheerio EBus2 device (used in Sun machines to access legacy ISA devices). This implementation only identifies correctly as an EBus2 device, but has no other functionality. This device is useful to mimic setups where the cheerio pci board in used, since the hme part of this board is implemented by the 'cheerio-hme' module in Simics.

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
config_register_info
Pseudo attribute; read-only access; type: [[isii]*].

Register info for all registered configuration registers. The format for each entry is (offset, name, size, write-mask).

config_registers
Optional attribute; read/write access; type: [i{64}]; integer indexed; indexed type: Integer.

The 64 PCI configuration registers, each 32 bits in size.

expansion_rom
Optional attribute; read/write access; type: [oii].

ROM object, map size, and map function number for the Expansion ROM.

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

State of the interrupt pin.

mappings
Optional attribute; read/write access; type: [[i{5:8}]|[iiiiiiiio|nii]*].

List of all current PCI IO and memory mappings.

pci_bus
Optional attribute; read/write access; type: Object or Nil.

The PCI bus this device is connected to, implementing the pci-bus interface.

write_masks
Optional attribute; read/write access; type: [[ii]*].

Write masks for all registered configuration registers. The format for each entry is (offset, mask).

Command List

Commands defined by interface log_object
log, log-group, log-level, log-size, log-type
Commands
infoprint information about the device
pci-headerprint PCI device header
statusprint status of the device

Command Descriptions

<cheerio-e2bus>.info
Synopsis
<cheerio-e2bus>.info
Description
Print detailed information about the configuration of the device.
<cheerio-e2bus>.pci-header
Synopsis
<cheerio-e2bus>.pci-header
Description
Print the PCI header, i.e the configuration registers.
<cheerio-e2bus>.status
Synopsis
<cheerio-e2bus>.status
Description
Print detailed information about the current status of the device.

VIRTUTECH CONFIDENTIAL    Previous - Up - Next