ide-cdrom ieee_802_15_4_link_endpoint
Simics Reference Manual  /  5 Classes  / 

ide-disk

Description

Instances of the ide-disk class are generic IDE disks with several of tunable parameters. PIO is supported up to mode 4, and Ultra DMA up to level 2.

Interfaces Implemented

conf_object, log_object, ide_device

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for this class

Attributes

irq_pending
Optional attribute; read/write access; type: b
IRQ Pending.
status
Optional attribute; read/write access; type: i
Status register.
sector_cnt
Optional attribute; read/write access; type: i
Sector count register.
sector_num
Optional attribute; read/write access; type: i
Sector number register.
cylinder
Optional attribute; read/write access; type: i
Cylinder number (cylinder high and cylinder low).
head
Optional attribute; read/write access; type: i
Lower four bits of the head register.
command
Optional attribute; read/write access; type: i
Last command.
error
Optional attribute; read/write access; type: i
Error register.
features
Optional attribute; read/write access; type: i
Feature register.
pio_mode
Optional attribute; read/write access; type: i
Current PIO mode (upper byte in identify device word 51).
udma_mode
Optional attribute; read/write access; type: i
Current UDMA mode (upper byte in identify device word 88).
udma_enabled
Optional attribute; read/write access; type: i
Set if UDMA is enabled.
multiword_dma_mode
Optional attribute; read/write access; type: i
Current multiword DMA mode (upper byte in identify device word 63).
multiword_dma_enabled
Optional attribute; read/write access; type: i
Set if multiword DMA is enabled.
sectors_per_int
Optional attribute; read/write access; type: i
Sectors per interrupt (lower byte in identify device word 59).
tr_sectors_size
Optional attribute; read/write access; type: i
Transfer sector size.
tr_sectors_per_block
Optional attribute; read/write access; type: i
Transfer sectors per block.
tr_sectors_last_block
Optional attribute; read/write access; type: i
Transfer sectors last block.
tr_num_blocks
Optional attribute; read/write access; type: i
Number of blocks in transfer.
tr_op
Optional attribute; read/write access; type: i
DMA transfer operation type.
tr_update_address
Optional attribute; read/write access; type: i
Update address during transfer.
tr_drq_start_offset
Optional attribute; read/write access; type: i
Offset in sector buffer where the active DRQ block starts.
tr_drq_bytes_handled
Optional attribute; read/write access; type: i
Bytes handled in DRQ block before the active sector.
tr_pos
Optional attribute; read/write access; type: i
Transfer position.
tr_req_length
Optional attribute; read/write access; type: i
Requested length of transfer.
tr_drq_bytes
Optional attribute; read/write access; type: i
Bytes per DRQ.
tr_bytes_remaining
Optional attribute; read/write access; type: i
Transfer bytes remaining.
tr_current_lba
Optional attribute; read/write access; type: i
Current transfer address.
tr_disk_finished
Optional attribute; read/write access; type: i
Transfer finished (device view).
tr_dma_finished
Optional attribute; read/write access; type: i
DMA finished.
buf
Optional attribute; read/write access; type: s|[iii]|n
sector buffer | atapi packet. Current transfer source/destination.
sector_buffer
Optional attribute; read/write access; type: [i{2048}]
(b0, ..., b2047). Sector buffer.
state
Optional attribute; read/write access; type: i
Device state.
power_mode
Optional attribute; read/write access; type: i
Device power mode (0==active, 1==idle, 2==standby, 3==sleep).
stat_commands
Optional attribute; read/write access; type: [i{256}]
(f0, ..., f255). Executed command count (command i has been issued fi times).
stat_atapi_commands
Optional attribute; read/write access; type: [i{256}]
(f0, ..., f255). Executed ATAPI command count (command i has been issued fi times).
stat_bytes_read
Optional attribute; read/write access; type: i
Total number of bytes read from device using PIO.
stat_bytes_written
Optional attribute; read/write access; type: i
Total number of bytes written to device using PIO.
stat_bytes_transfered_dma
Optional attribute; read/write access; type: i
Total number of bytes read or written to or from device using DMA.
geometry_valid
Optional attribute; read/write access; type: i
Geometry valid.
serial_number
Optional attribute; read/write access; type: s
Device serial number. Up to 20 character long string.
firmware_id
Optional attribute; read/write access; type: s
Device firmware id. Up to 8 character long string.
model_id
Optional attribute; read/write access; type: s
Device model id. Up to 40 character long string.
no_48bits_lba_support
Optional attribute; read/write access; type: i
48-bit address feature set not supported (bit 10 in identify device word 83).
sector_num_ext
Optional attribute; read/write access; type: i
Sector number extended register. (for 48bit addressing and Harddisk only).
cylinder_ext
Optional attribute; read/write access; type: i
Cylinder number extended. (for 48bit addressing and Harddisk only).
features_ext
Optional attribute; read/write access; type: i
Feature extended register. (for 48bit addressing and Harddisk only).
disk_cylinders
Required attribute; read/write access; type: i
Number of logical cylinders.
disk_sectors_per_track
Required attribute; read/write access; type: i
Number of logical sectors per track.
disk_heads
Required attribute; read/write access; type: i
Number of logical heads.
disk_sectors
Required attribute; read/write access; type: i
Total number of sectors on disk.
image
Required attribute; read/write access; type: o
Object implementing the image interface holding device data.

Provided By

ide
ide-cdrom ieee_802_15_4_link_endpoint