diff options
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/m5/simulate.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/python/m5/simulate.py b/src/python/m5/simulate.py index 66344bc79..d89629d2d 100644 --- a/src/python/m5/simulate.py +++ b/src/python/m5/simulate.py @@ -308,4 +308,8 @@ def switchCpus(system, cpuList, verbose=True): for old_cpu, new_cpu in cpuList: new_cpu.takeOverFrom(old_cpu) +def notifyFork(root): + for obj in root.descendants(): + obj.notifyFork() + from internal.core import disableAllListeners |