summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-07-06 23:16:22 -0400
committerKevin Lim <ktlim@umich.edu>2006-07-06 23:16:22 -0400
commit6872b99c29cd4263062bb8b3ef15aa5a9f2532d4 (patch)
tree428b884ddfbfb7c24438d50bc632d4c7f1d25a92
parentfff75316771331ec3247cbd6e424a93b252a1e29 (diff)
downloadgem5-6872b99c29cd4263062bb8b3ef15aa5a9f2532d4.tar.xz
Be sure to call resume after restoring from a checkpoint.
--HG-- extra : convert_revision : 4d672917038779a23f4ce7eb5d4e3039c1f5d726
-rw-r--r--src/python/m5/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/m5/__init__.py b/src/python/m5/__init__.py
index 7d35ee8b8..dc3af7000 100644
--- a/src/python/m5/__init__.py
+++ b/src/python/m5/__init__.py
@@ -250,6 +250,7 @@ def checkpoint(root):
def restoreCheckpoint(root):
print "Restoring from checkpoint"
cc_main.unserializeAll()
+ resume(root)
def changeToAtomic(system):
if not isinstance(system, objects.Root) and not isinstance(system, System):