summaryrefslogtreecommitdiff
path: root/src/arch/sparc/regfile.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/sparc/regfile.hh')
-rw-r--r--src/arch/sparc/regfile.hh10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/arch/sparc/regfile.hh b/src/arch/sparc/regfile.hh
index c3c53a414..b468d568b 100644
--- a/src/arch/sparc/regfile.hh
+++ b/src/arch/sparc/regfile.hh
@@ -34,16 +34,20 @@
#include <string>
-#include "arch/sparc/intregfile.hh"
-#include "arch/sparc/isa_traits.hh"
#include "arch/sparc/miscregfile.hh"
-#include "arch/sparc/types.hh"
+#include "arch/sparc/sparc_traits.hh"
#include "base/types.hh"
+#include "sim/serialize.hh"
class Checkpoint;
+class EventManager;
+class ThreadContext;
namespace SparcISA
{
+ const int NumIntArchRegs = 32;
+ const int NumIntRegs = (MaxGL + 1) * 8 + NWindows * 16 + NumMicroIntRegs;
+
class RegFile
{
protected: