summaryrefslogtreecommitdiff
path: root/cpu/simple_cpu
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-06-17 15:36:59 -0400
committerAli Saidi <saidi@eecs.umich.edu>2004-06-17 15:36:59 -0400
commit074969f8f16110680de05fca64a6be48aedcdfd8 (patch)
tree45d662f5e97c48cc8651988c0fe5429f4ecf22cc /cpu/simple_cpu
parentf3a7930fa63475df4d519e95e3fa183d6c2a6699 (diff)
downloadgem5-074969f8f16110680de05fca64a6be48aedcdfd8.tar.xz
Serialized cpu interrupts
cpu/simple_cpu/simple_cpu.cc: called basecpu serialization --HG-- extra : convert_revision : 1a639b5e3c08e47a5d581c18b2b53fe87bd05b73
Diffstat (limited to 'cpu/simple_cpu')
-rw-r--r--cpu/simple_cpu/simple_cpu.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/simple_cpu/simple_cpu.cc b/cpu/simple_cpu/simple_cpu.cc
index f2109af51..99e302ca3 100644
--- a/cpu/simple_cpu/simple_cpu.cc
+++ b/cpu/simple_cpu/simple_cpu.cc
@@ -299,6 +299,7 @@ SimpleCPU::resetStats()
void
SimpleCPU::serialize(ostream &os)
{
+ BaseCPU::serialize(os);
SERIALIZE_ENUM(_status);
SERIALIZE_SCALAR(inst);
nameOut(os, csprintf("%s.xc", name()));
@@ -312,6 +313,7 @@ SimpleCPU::serialize(ostream &os)
void
SimpleCPU::unserialize(Checkpoint *cp, const string &section)
{
+ BaseCPU::unserialize(cp, section);
UNSERIALIZE_ENUM(_status);
UNSERIALIZE_SCALAR(inst);
xc->unserialize(cp, csprintf("%s.xc", section));