summaryrefslogtreecommitdiff
path: root/src/arch/x86/miscregfile.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-04-26 16:47:48 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-04-26 16:47:48 -0700
commit4ee34dfb4e3b0441427cbd978deb0d1d32cf19bc (patch)
tree954798bbb5b77fadfecfd98b66a18cca7c847046 /src/arch/x86/miscregfile.hh
parent06b3e3c303599e4227212638fa4778d115842eea (diff)
downloadgem5-4ee34dfb4e3b0441427cbd978deb0d1d32cf19bc.tar.xz
X86: Centralize updates to the handy M5 reg.
Diffstat (limited to 'src/arch/x86/miscregfile.hh')
-rw-r--r--src/arch/x86/miscregfile.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86/miscregfile.hh b/src/arch/x86/miscregfile.hh
index 6d3ae4e92..0488dbba7 100644
--- a/src/arch/x86/miscregfile.hh
+++ b/src/arch/x86/miscregfile.hh
@@ -107,6 +107,8 @@ namespace X86ISA
{
protected:
MiscReg regVal[NumMiscRegs];
+ void updateHandyM5Reg(Efer efer, CR0 cr0,
+ SegAttr csAttr, RFLAGS rflags);
public:
void clear();