summaryrefslogtreecommitdiff
path: root/src/arch/x86/miscregfile.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-04-26 16:48:44 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-04-26 16:48:44 -0700
commitb6bfe8af26203247d9cab2a0ce369998946a8c91 (patch)
treed19c6fb1794fb82e42f94d976e8769dd351e46a3 /src/arch/x86/miscregfile.cc
parent4ee34dfb4e3b0441427cbd978deb0d1d32cf19bc (diff)
downloadgem5-b6bfe8af26203247d9cab2a0ce369998946a8c91.tar.xz
X86: Split out the internal memory space from the regular translate() and precompute mode.
Diffstat (limited to 'src/arch/x86/miscregfile.cc')
-rw-r--r--src/arch/x86/miscregfile.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86/miscregfile.cc b/src/arch/x86/miscregfile.cc
index b3ce7076e..f7c804fd0 100644
--- a/src/arch/x86/miscregfile.cc
+++ b/src/arch/x86/miscregfile.cc
@@ -118,6 +118,8 @@ void MiscRegFile::updateHandyM5Reg(Efer efer, CR0 cr0,
}
}
m5reg.cpl = csAttr.dpl;
+ m5reg.paging = cr0.pg;
+ m5reg.prot = cr0.pe;
regVal[MISCREG_M5_REG] = m5reg;
}