13 lines
407 B
Text
13 lines
407 B
Text
|
from Pci import PciDevice
|
||
|
|
||
|
IdeID = Enum('master', 'slave')
|
||
|
|
||
|
simobj IdeDisk(SimObject):
|
||
|
delay = Param.Tick(1, "Fixed disk delay in microseconds")
|
||
|
driveID = Param.IdeID('master', "Drive ID")
|
||
|
image = Param.DiskImage("Disk image")
|
||
|
physmem = Param.PhysicalMemory(Super, "Physical memory")
|
||
|
|
||
|
simobj IdeController(PciDevice):
|
||
|
disks = VectorParam.IdeDisk("IDE disks attached to this controller")
|