ISA: Fix compilation.
This commit is contained in:
parent
28204b2a96
commit
010b13c937
|
@ -36,7 +36,7 @@ namespace AlphaISA
|
|||
{
|
||||
|
||||
void
|
||||
ISA::serialize(std::ostream &os)
|
||||
ISA::serialize(EventManager *em, std::ostream &os)
|
||||
{
|
||||
SERIALIZE_SCALAR(fpcr);
|
||||
SERIALIZE_SCALAR(uniq);
|
||||
|
@ -46,7 +46,7 @@ ISA::serialize(std::ostream &os)
|
|||
}
|
||||
|
||||
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);
|
||||
|
|
|
@ -83,8 +83,9 @@ namespace AlphaISA
|
|||
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)
|
||||
|
|
|
@ -95,9 +95,10 @@ namespace ArmISA
|
|||
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()
|
||||
|
|
|
@ -172,8 +172,11 @@ namespace MipsISA
|
|||
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)
|
||||
{}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -203,7 +203,7 @@ SimpleThread::serialize(ostream &os)
|
|||
//
|
||||
// Now must serialize all the ISA dependent state
|
||||
//
|
||||
isa.serialize(os);
|
||||
isa.serialize(cpu, os);
|
||||
}
|
||||
|
||||
|
||||
|
@ -223,7 +223,7 @@ SimpleThread::unserialize(Checkpoint *cp, const std::string §ion)
|
|||
//
|
||||
// Now must unserialize all the ISA dependent state
|
||||
//
|
||||
isa.unserialize(cp, section);
|
||||
isa.unserialize(cpu, cp, section);
|
||||
}
|
||||
|
||||
#if FULL_SYSTEM
|
||||
|
|
Loading…
Reference in a new issue