DiskImage.py revision 1692
1from m5 import *
2class DiskImage(SimObject):
3    type = 'DiskImage'
4    abstract = True
5    image_file = Param.String("disk image file")
6    read_only = Param.Bool(False, "read only image")
7
8class RawDiskImage(DiskImage):
9    type = 'RawDiskImage'
10
11class CowDiskImage(DiskImage):
12    type = 'CowDiskImage'
13    child = Param.DiskImage("child image")
14    table_size = Param.Int(65536, "initial table size")
15    image_file = ''
16