VIRTUTECH CONFIDENTIAL    Previous - Up - Next

ide

Provided by
ide
Class Hierarchy
conf-objectlog-objectide
Interfaces Implemented
log_object, event_poster, io_memory
Description
The IDE class implements the functionality of an IDE controller and its interaction with the DMA controller. Transfer timing (command start -> interrupt) for DMA is properly modelled.

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
bus_master_dma
Optional attribute; read/write access; type: unknown type.

DMA controller implementing bus-master-ide.

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

Non-zero if the DMA controller is ready for transfer.

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

Time in seconds between state changes.

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

Interrupt request status.

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

Interrupt target implementing the simple-interrupt interface.

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

Interrupt level.

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

Currently selected addressing mode (bit 6 in the drive/head register).

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

Master device. Must implement the ide-device interface.

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

If set, the controller will accurately model DMA transfer bandwidth (infinite bandwidth otherwise).

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

Set to one if this is a primary IDE controller.

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

Currently selected drive (bit 4 in the drive/head register).

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

Slave device. Must implement the ide-device interface.

Command List

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

Command Descriptions

<ide>.info
Synopsis
<ide>.info
Description
Print detailed information about the configuration of the device.
<ide>.status
Synopsis
<ide>.status
Description
Print detailed information about the current status of the device.

VIRTUTECH CONFIDENTIAL    Previous - Up - Next