projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c90122
)
checkpoint recovery was screwed up because a new section was created in the middle...
author
Lisa Hsu
<hsul@eecs.umich.edu>
Fri, 6 Oct 2006 05:29:50 +0000
(
01:29
-0400)
committer
Lisa Hsu
<hsul@eecs.umich.edu>
Fri, 6 Oct 2006 05:29:50 +0000
(
01:29
-0400)
--HG--
extra : convert_revision :
7af15fdc9e8d203b26840a2eb5fef511b6a2b21d
src/cpu/simple/atomic.cc
patch
|
blob
|
history
diff --git
a/src/cpu/simple/atomic.cc
b/src/cpu/simple/atomic.cc
index 7ba1b7df11043bc8ce4c2d0fdb02a2f106ad6355..88698bfee74e8a26e4e1e82842efc81611a2eed0 100644
(file)
--- a/
src/cpu/simple/atomic.cc
+++ b/
src/cpu/simple/atomic.cc
@@
-161,9
+161,9
@@
AtomicSimpleCPU::serialize(ostream &os)
{
SimObject::State so_state = SimObject::getState();
SERIALIZE_ENUM(so_state);
+ BaseSimpleCPU::serialize(os);
nameOut(os, csprintf("%s.tickEvent", name()));
tickEvent.serialize(os);
- BaseSimpleCPU::serialize(os);
}
void
@@
-171,8
+171,8
@@
AtomicSimpleCPU::unserialize(Checkpoint *cp, const string §ion)
{
SimObject::State so_state;
UNSERIALIZE_ENUM(so_state);
- tickEvent.unserialize(cp, csprintf("%s.tickEvent", section));
BaseSimpleCPU::unserialize(cp, section);
+ tickEvent.unserialize(cp, csprintf("%s.tickEvent", section));
}
void