35ab2296d3
src/python/m5/objects/DiskImage.py: src/python/m5/objects/Ethernet.py: src/python/m5/objects/Ide.py: src/python/m5/objects/Tsunami.py: Push more default options to the Python object level as they are rarely changed. --HG-- extra : convert_revision : 963eb7a34cd04529b3c5f24b92904ab725c93efb
15 lines
470 B
Python
15 lines
470 B
Python
from m5.config import *
|
|
class DiskImage(SimObject):
|
|
type = 'DiskImage'
|
|
abstract = True
|
|
image_file = Param.String("disk image file")
|
|
read_only = Param.Bool(False, "read only image")
|
|
|
|
class RawDiskImage(DiskImage):
|
|
type = 'RawDiskImage'
|
|
|
|
class CowDiskImage(DiskImage):
|
|
type = 'CowDiskImage'
|
|
child = Param.DiskImage(RawDiskImage(read_only=True),
|
|
"child image")
|
|
table_size = Param.Int(65536, "initial table size")
|