diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/interrupts.hh | 4 | ||||
-rw-r--r-- | src/arch/x86/isa.cc | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/arch/x86/interrupts.hh b/src/arch/x86/interrupts.hh index bc67cdcff..6b5215135 100644 --- a/src/arch/x86/interrupts.hh +++ b/src/arch/x86/interrupts.hh @@ -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"); } /* diff --git a/src/arch/x86/isa.cc b/src/arch/x86/isa.cc index 47d24ed1e..0b5523864 100644 --- a/src/arch/x86/isa.cc +++ b/src/arch/x86/isa.cc @@ -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]); } } |