1 from Pci import PciDevice
3 class IdeID(Enum): vals = ['master', 'slave']
5 simobj IdeDisk(SimObject):
7 delay = Param.Tick(1, "Fixed disk delay in microseconds")
8 driveID = Param.IdeID('master', "Drive ID")
9 image = Param.DiskImage("Disk image")
10 physmem = Param.PhysicalMemory(Super, "Physical memory")
12 simobj IdeController(PciDevice):
13 type = 'IdeController'
14 disks = VectorParam.IdeDisk("IDE disks attached to this controller")