summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/python')
-rw-r--r--src/python/m5/params.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/python/m5/params.py b/src/python/m5/params.py
index 6c3c47e95..f9412d70e 100644
--- a/src/python/m5/params.py
+++ b/src/python/m5/params.py
@@ -1716,6 +1716,10 @@ class NullSimObject(object):
def clear_parent(self, old_parent):
pass
+ def descendants(self):
+ return
+ yield None
+
def __str__(self):
return 'Null'