summaryrefslogtreecommitdiff
path: root/src/arch/sparc/registers.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/sparc/registers.hh')
-rw-r--r--src/arch/sparc/registers.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/sparc/registers.hh b/src/arch/sparc/registers.hh
index bb0f2bb89..f4305dc1a 100644
--- a/src/arch/sparc/registers.hh
+++ b/src/arch/sparc/registers.hh
@@ -77,6 +77,8 @@ const int SyscallPseudoReturnReg = 9;
const int NumIntArchRegs = 32;
const int NumIntRegs = (MaxGL + 1) * 8 + NWindows * 16 + NumMicroIntRegs;
+const int TotalNumRegs = NumIntRegs + NumFloatRegs + NumMiscRegs;
+
} // namespace SparcISA
#endif