From cdc585e0e8ceb305de83053c488ba041367b7cd6 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 11 Nov 2010 02:03:58 -0800 Subject: SPARC: Clean up some historical style issues. --- src/arch/sparc/sparc_traits.hh | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) (limited to 'src/arch/sparc/sparc_traits.hh') 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__ -- cgit v1.2.3