summaryrefslogtreecommitdiff
path: root/src/arch/mips/regfile
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2009-04-18 10:42:28 -0400
committerKorey Sewell <ksewell@umich.edu>2009-04-18 10:42:28 -0400
commitcc9e834e931ff70b683b8a7010269d32c0de20fd (patch)
treeb0330e7099d3df3cf0708b00c45d89b9ffaf26e8 /src/arch/mips/regfile
parent14808ecac9de9fe04eb58a4ca9393e3b4f0a60ae (diff)
downloadgem5-cc9e834e931ff70b683b8a7010269d32c0de20fd.tar.xz
mips-shadowsets: fix calcuations. \n Remove Shadowsets from Int & Arch. Reg Calculations
Diffstat (limited to 'src/arch/mips/regfile')
-rw-r--r--src/arch/mips/regfile/int_regfile.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/mips/regfile/int_regfile.hh b/src/arch/mips/regfile/int_regfile.hh
index c5a6bb345..3c7c8c64c 100644
--- a/src/arch/mips/regfile/int_regfile.hh
+++ b/src/arch/mips/regfile/int_regfile.hh
@@ -60,6 +60,11 @@ namespace MipsISA
DSPHi0 = HI
};
+ //@TODO: Implementing ShadowSets needs to
+ //edit this value such that:
+ //TotalArchRegs = NumIntArchRegs * ShadowSets
+ const int TotalArchRegs = NumIntArchRegs;
+
class IntRegFile
{
protected: