summaryrefslogtreecommitdiff
path: root/src/dev/DiskImage.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/DiskImage.py')
-rw-r--r--src/dev/DiskImage.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dev/DiskImage.py b/src/dev/DiskImage.py
index 92eb0553c..38cc6e75d 100644
--- a/src/dev/DiskImage.py
+++ b/src/dev/DiskImage.py
@@ -31,14 +31,17 @@ from m5.params import *
class DiskImage(SimObject):
type = 'DiskImage'
abstract = True
+ cxx_header = "dev/disk_image.hh"
image_file = Param.String("disk image file")
read_only = Param.Bool(False, "read only image")
class RawDiskImage(DiskImage):
type = 'RawDiskImage'
+ cxx_header = "dev/disk_image.hh"
class CowDiskImage(DiskImage):
type = 'CowDiskImage'
+ cxx_header = "dev/disk_image.hh"
child = Param.DiskImage(RawDiskImage(read_only=True),
"child image")
table_size = Param.Int(65536, "initial table size")