summaryrefslogtreecommitdiff
path: root/src/mem/cache/cache.hh
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2012-05-10 18:04:26 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2012-05-10 18:04:26 -0500
commitf6895e8bd46a1533c607fe528a2da68b64e722dc (patch)
tree62f2225f891dcf1201bde837f1b918aa3e3c7679 /src/mem/cache/cache.hh
parentdc456d8166fce16c3af26f09405b0bf91ff1e38f (diff)
downloadgem5-f6895e8bd46a1533c607fe528a2da68b64e722dc.tar.xz
Cache: Panic if you attempt to create a checkpoint with a cache in the system
Diffstat (limited to 'src/mem/cache/cache.hh')
-rw-r--r--src/mem/cache/cache.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mem/cache/cache.hh b/src/mem/cache/cache.hh
index d2110adce..ce68b2405 100644
--- a/src/mem/cache/cache.hh
+++ b/src/mem/cache/cache.hh
@@ -370,6 +370,12 @@ class Cache : public BaseCache
* Find next request ready time from among possible sources.
*/
Tick nextMSHRReadyTime();
+
+ /** serialize the state of the caches
+ * We currently don't support checkpointing cache state, so this panics.
+ */
+ virtual void serialize(std::ostream &os);
+ void unserialize(Checkpoint *cp, const std::string &section);
};
#endif // __CACHE_HH__