summaryrefslogtreecommitdiff
path: root/src/dev/sparc/dtod.hh
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-01-29 19:04:06 -0500
committerAli Saidi <saidi@eecs.umich.edu>2007-01-29 19:04:06 -0500
commitd92f0d370bf4ae6a934215dbae87102312501917 (patch)
tree45cffd8b56042e1f1a8a1761c674a331bbe9fd16 /src/dev/sparc/dtod.hh
parent716a2dc180396cefac082dedfa120350250dec48 (diff)
downloadgem5-d92f0d370bf4ae6a934215dbae87102312501917.tar.xz
timegm() is a gnuism... replace with the code from the timegm() man page
--HG-- extra : convert_revision : f2b80a0b7768edc370e3f07c45cb3bb9a46450a9
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__