summaryrefslogtreecommitdiff
path: root/src/python/m5/simulate.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/m5/simulate.py')
-rw-r--r--src/python/m5/simulate.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/python/m5/simulate.py b/src/python/m5/simulate.py
index 54c6a0a2d..28ba10c0d 100644
--- a/src/python/m5/simulate.py
+++ b/src/python/m5/simulate.py
@@ -55,6 +55,10 @@ def instantiate():
# we need to fix the global frequency
ticks.fixGlobalFrequency()
+ # Make sure SimObject-valued params are in the configuration
+ # hierarchy so we catch them with future descendants() walks
+ for obj in root.descendants(): obj.adoptOrphanParams()
+
# Unproxy in sorted order for determinism
for obj in root.descendants(): obj.unproxyParams()