summaryrefslogtreecommitdiff
path: root/src/dev/sparc/dtod.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/sparc/dtod.hh')
-rw-r--r--src/dev/sparc/dtod.hh15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/dev/sparc/dtod.hh b/src/dev/sparc/dtod.hh
index 26d4ecc08..ddf9fcc96 100644
--- a/src/dev/sparc/dtod.hh
+++ b/src/dev/sparc/dtod.hh
@@ -64,6 +64,21 @@ class DumbTOD : public BasicPioDevice
virtual Tick read(PacketPtr pkt);
virtual Tick write(PacketPtr pkt);
+
+ /**
+ * Serialize this object to the given output stream.
+ * @param os The stream to serialize to.
+ */
+ virtual void serialize(std::ostream &os);
+
+ /**
+ * Reconstruct the state of this object from a checkpoint.
+ * @param cp The checkpoint use.
+ * @param section The section name of this object
+ */
+ virtual void unserialize(Checkpoint *cp, const std::string &section);
+
+
};
#endif // __DEV_BADDEV_HH__