2 from Pci
import PciDevice
4 class IdeID(Enum
): vals
= ['master', 'slave']
6 class IdeDisk(SimObject
):
8 delay
= Param
.Latency('1us', "Fixed disk delay in microseconds")
9 driveID
= Param
.IdeID('master', "Drive ID")
10 image
= Param
.DiskImage("Disk image")
12 class IdeController(PciDevice
):
13 type = 'IdeController'
14 disks
= VectorParam
.IdeDisk("IDE disks attached to this controller")