{
void
-ISA::serialize(std::ostream &os)
+ISA::serialize(EventManager *em, std::ostream &os)
{
SERIALIZE_SCALAR(fpcr);
SERIALIZE_SCALAR(uniq);
}
void
-ISA::unserialize(Checkpoint *cp, const std::string §ion)
+ISA::unserialize(EventManager *em, Checkpoint *cp, const std::string §ion)
{
UNSERIALIZE_SCALAR(fpcr);
UNSERIALIZE_SCALAR(uniq);
intr_flag = 0;
}
- void serialize(std::ostream &os);
- void unserialize(Checkpoint *cp, const std::string §ion);
+ void serialize(EventManager *em, std::ostream &os);
+ void unserialize(EventManager *em, Checkpoint *cp,
+ const std::string §ion);
void reset(std::string core_name, ThreadID num_threads,
unsigned num_vpes, BaseCPU *_cpu)
return reg;
}
- void serialize(std::ostream &os)
+ void serialize(EventManager *em, std::ostream &os)
{}
- void unserialize(Checkpoint *cp, const std::string §ion)
+ void unserialize(EventManager *em, Checkpoint *cp,
+ const std::string §ion)
{}
ISA()
return reg;
}
- void serialize(std::ostream &os);
- void unserialize(Checkpoint *cp, const std::string §ion);
+ void serialize(EventManager *em, std::ostream &os)
+ {}
+ void unserialize(EventManager *em, Checkpoint *cp,
+ const std::string §ion)
+ {}
};
}
//
// Now must serialize all the ISA dependent state
//
- isa.serialize(os);
+ isa.serialize(cpu, os);
}
//
// Now must unserialize all the ISA dependent state
//
- isa.unserialize(cp, section);
+ isa.unserialize(cpu, cp, section);
}
#if FULL_SYSTEM