summaryrefslogtreecommitdiff
path: root/src/arch/sparc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-07-08 23:02:21 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-07-08 23:02:21 -0700
commit5c37d10624e0f9a9568f1eb1527832c55addba59 (patch)
tree7283390137489bc23fd4685e6ede83925479ee48 /src/arch/sparc
parent9bf22992ee1f5088ae5e513acaa7aabee048c4bd (diff)
downloadgem5-5c37d10624e0f9a9568f1eb1527832c55addba59.tar.xz
Registers: Eliminate the ISA defined RegFile class.
Diffstat (limited to 'src/arch/sparc')
-rw-r--r--src/arch/sparc/isa_traits.hh2
-rw-r--r--src/arch/sparc/regfile.hh14
2 files changed, 0 insertions, 16 deletions
diff --git a/src/arch/sparc/isa_traits.hh b/src/arch/sparc/isa_traits.hh
index 00dadcf3d..407602f90 100644
--- a/src/arch/sparc/isa_traits.hh
+++ b/src/arch/sparc/isa_traits.hh
@@ -44,8 +44,6 @@ namespace BigEndianGuest {}
namespace SparcISA
{
- class RegFile;
-
const int MachineBytes = 8;
//This makes sure the big endian versions of certain functions are used.
diff --git a/src/arch/sparc/regfile.hh b/src/arch/sparc/regfile.hh
index b0c2aabbd..28885271f 100644
--- a/src/arch/sparc/regfile.hh
+++ b/src/arch/sparc/regfile.hh
@@ -47,20 +47,6 @@ namespace SparcISA
const int NumIntArchRegs = 32;
const int NumIntRegs = (MaxGL + 1) * 8 + NWindows * 16 + NumMicroIntRegs;
- class RegFile
- {
- public:
-
- void clear()
- {}
-
- void serialize(EventManager *em, std::ostream &os)
- {}
- void unserialize(EventManager *em, Checkpoint *cp,
- const std::string &section)
- {}
- };
-
void copyRegs(ThreadContext *src, ThreadContext *dest);
void copyMiscRegs(ThreadContext *src, ThreadContext *dest);