diff options
Diffstat (limited to 'objects/Ide.mpy')
-rw-r--r-- | objects/Ide.mpy | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/objects/Ide.mpy b/objects/Ide.mpy new file mode 100644 index 000000000..ce760ad96 --- /dev/null +++ b/objects/Ide.mpy @@ -0,0 +1,14 @@ +from Pci import PciDevice + +class IdeID(Enum): vals = ['master', 'slave'] + +simobj IdeDisk(SimObject): + type = 'IdeDisk' + 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): + type = 'IdeController' + disks = VectorParam.IdeDisk("IDE disks attached to this controller") |