summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa.cc
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2010-08-17 05:20:39 -0700
committerSteve Reinhardt <steve.reinhardt@amd.com>2010-08-17 05:20:39 -0700
commit164a211f10aa8ce1801fcd99e71f344238f26634 (patch)
treed9dfa8d9f322fe495c276e8f10850fc74ae80bff /src/arch/x86/isa.cc
parentf064aa306061ecc468efd8cf148ed08398ca824d (diff)
downloadgem5-164a211f10aa8ce1801fcd99e71f344238f26634.tar.xz
x86: minor checkpointing bug fixes
Diffstat (limited to 'src/arch/x86/isa.cc')
-rw-r--r--src/arch/x86/isa.cc5
1 files changed, 5 insertions, 0 deletions
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]);
}
}