x86: minor checkpointing bug fixes
This commit is contained in:
parent
f064aa3060
commit
164a211f10
2 changed files with 7 additions and 2 deletions
|
@ -260,13 +260,13 @@ class Interrupts : public BasicPioDevice, IntDev
|
|||
void
|
||||
serialize(std::ostream &os)
|
||||
{
|
||||
panic("Interrupts::serialize unimplemented!\n");
|
||||
warn("Interrupts::serialize unimplemented!\n");
|
||||
}
|
||||
|
||||
void
|
||||
unserialize(Checkpoint *cp, const std::string §ion)
|
||||
{
|
||||
panic("Interrupts::unserialize unimplemented!\n");
|
||||
warn("Interrupts::unserialize unimplemented!\n");
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -352,6 +352,11 @@ ISA::unserialize(EventManager *em, Checkpoint * cp,
|
|||
const std::string & section)
|
||||
{
|
||||
UNSERIALIZE_ARRAY(regVal, NumMiscRegs);
|
||||
updateHandyM5Reg(regVal[MISCREG_EFER],
|
||||
regVal[MISCREG_CR0],
|
||||
regVal[MISCREG_CS_ATTR],
|
||||
regVal[MISCREG_SS_ATTR],
|
||||
regVal[MISCREG_RFLAGS]);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue