summaryrefslogtreecommitdiff
path: root/cpu/exec_context.hh
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2003-10-28 12:56:17 -0800
committerSteve Reinhardt <stever@eecs.umich.edu>2003-10-28 12:56:17 -0800
commite12e64a0718f6805c1203e1d11a39abaf0d9483b (patch)
tree3908a0650ad9a4022fb906c553c3648d31c1fcb4 /cpu/exec_context.hh
parent18205206972932a236d0bf4f427918b57f9857f0 (diff)
parentb90f810575679442d78c0e9cd0c98a057ba4871b (diff)
downloadgem5-e12e64a0718f6805c1203e1d11a39abaf0d9483b.tar.xz
Merge zizzer:bk/m5 into isabel.reinhardt.house:/z/stever/ser/m5
--HG-- extra : convert_revision : 50aa3791d27a17c4ea2fb4aee1a67011bd2abec1
Diffstat (limited to 'cpu/exec_context.hh')
-rw-r--r--cpu/exec_context.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/exec_context.hh b/cpu/exec_context.hh
index f2afaa334..285154ed0 100644
--- a/cpu/exec_context.hh
+++ b/cpu/exec_context.hh
@@ -31,6 +31,7 @@
#include "sim/host.hh"
#include "mem/mem_req.hh"
+#include "sim/serialize.hh"
// forward declaration: see functional_memory.hh
class FunctionalMemory;
@@ -140,6 +141,9 @@ class ExecContext
void regStats(const std::string &name);
+ void serialize(std::ostream &os);
+ void unserialize(IniFile &db, const std::string &section);
+
#ifdef FULL_SYSTEM
bool validInstAddr(Addr addr) { return true; }
bool validDataAddr(Addr addr) { return true; }