summaryrefslogtreecommitdiff
path: root/src/sim/root.hh
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2012-06-05 01:23:10 -0400
committerAli Saidi <Ali.Saidi@ARM.com>2012-06-05 01:23:10 -0400
commit70d7d6cc7f7c25d43f0dc56fe133073eb4a97298 (patch)
tree5736150e2002e2fecc733ad8cb69078e0659137b /src/sim/root.hh
parent2e988bbab0c1a3c90c69b03fc79a62d7c61a540a (diff)
downloadgem5-70d7d6cc7f7c25d43f0dc56fe133073eb4a97298.tar.xz
sim: Provide a framework for detecting out of data checkpoints and migrating them.
Diffstat (limited to 'src/sim/root.hh')
-rw-r--r--src/sim/root.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sim/root.hh b/src/sim/root.hh
index 3c3b3c2f3..6a7b5dc93 100644
--- a/src/sim/root.hh
+++ b/src/sim/root.hh
@@ -111,6 +111,10 @@ class Root : public SimObject
/** Schedule the timesync event at initState() when not unserializing
*/
void initState();
+
+ virtual void serialize(std::ostream &os);
+ virtual void unserialize(Checkpoint *cp, const std::string &section);
+
};
#endif // __SIM_ROOT_HH__