summaryrefslogtreecommitdiff
path: root/src/arch/sparc/sparc_traits.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/sparc/sparc_traits.hh')
-rw-r--r--src/arch/sparc/sparc_traits.hh34
1 files changed, 16 insertions, 18 deletions
diff --git a/src/arch/sparc/sparc_traits.hh b/src/arch/sparc/sparc_traits.hh
index b8e3c2aef..5f372926c 100644
--- a/src/arch/sparc/sparc_traits.hh
+++ b/src/arch/sparc/sparc_traits.hh
@@ -33,25 +33,23 @@
namespace SparcISA
{
- // Max trap levels
- const int MaxPTL = 2;
- const int MaxTL = 6;
- const int MaxGL = 3;
- const int MaxPGL = 2;
+// Max trap levels
+const int MaxPTL = 2;
+const int MaxTL = 6;
+const int MaxGL = 3;
+const int MaxPGL = 2;
- // Number of register windows, can legally be 3 to 32
- const int NWindows = 8;
- //const int NumMicroIntRegs = 1;
- const int NumMicroIntRegs = 9;
+// Number of register windows, can legally be 3 to 32
+const int NWindows = 8;
+// const int NumMicroIntRegs = 1;
+const int NumMicroIntRegs = 9;
-// const int NumRegularIntRegs = MaxGL * 8 + NWindows * 16;
-// const int NumMicroIntRegs = 1;
-// const int NumIntRegs =
-// NumRegularIntRegs +
-// NumMicroIntRegs;
- const int NumFloatRegs = 64;
- const int NumFloatArchRegs = NumFloatRegs;
-// const int NumMiscRegs = 40;
+// const int NumRegularIntRegs = MaxGL * 8 + NWindows * 16;
+// const int NumMicroIntRegs = 1;
+// const int NumIntRegs = NumRegularIntRegs + NumMicroIntRegs;
+const int NumFloatRegs = 64;
+const int NumFloatArchRegs = NumFloatRegs;
+// const int NumMiscRegs = 40;
}
-#endif // __ARCH_SPARC_ISA_TRAITS_HH__
+#endif // __ARCH_SPARC_SPARC_TRAITS_HH__