diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-07-08 23:02:21 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-07-08 23:02:21 -0700 |
commit | 5c37d10624e0f9a9568f1eb1527832c55addba59 (patch) | |
tree | 7283390137489bc23fd4685e6ede83925479ee48 /src/arch/alpha | |
parent | 9bf22992ee1f5088ae5e513acaa7aabee048c4bd (diff) | |
download | gem5-5c37d10624e0f9a9568f1eb1527832c55addba59.tar.xz |
Registers: Eliminate the ISA defined RegFile class.
Diffstat (limited to 'src/arch/alpha')
-rw-r--r-- | src/arch/alpha/miscregfile.hh | 1 | ||||
-rw-r--r-- | src/arch/alpha/regfile.cc | 16 | ||||
-rw-r--r-- | src/arch/alpha/regfile.hh | 16 |
3 files changed, 0 insertions, 33 deletions
diff --git a/src/arch/alpha/miscregfile.hh b/src/arch/alpha/miscregfile.hh index 0d95e5a6d..b231ea855 100644 --- a/src/arch/alpha/miscregfile.hh +++ b/src/arch/alpha/miscregfile.hh @@ -57,7 +57,6 @@ enum MiscRegIndex class MiscRegFile { public: - friend class RegFile; typedef uint64_t InternalProcReg; protected: diff --git a/src/arch/alpha/regfile.cc b/src/arch/alpha/regfile.cc index 15df83859..8b226a9cf 100644 --- a/src/arch/alpha/regfile.cc +++ b/src/arch/alpha/regfile.cc @@ -53,22 +53,6 @@ const int reg_redir[NumIntRegs] = { #endif void -RegFile::serialize(EventManager *em, ostream &os) -{ -#if FULL_SYSTEM - SERIALIZE_SCALAR(intrflag); -#endif -} - -void -RegFile::unserialize(EventManager *em, Checkpoint *cp, const string §ion) -{ -#if FULL_SYSTEM - UNSERIALIZE_SCALAR(intrflag); -#endif -} - -void copyRegs(ThreadContext *src, ThreadContext *dest) { // First loop through the integer registers. diff --git a/src/arch/alpha/regfile.hh b/src/arch/alpha/regfile.hh index 39c56e57a..e7374036f 100644 --- a/src/arch/alpha/regfile.hh +++ b/src/arch/alpha/regfile.hh @@ -46,22 +46,6 @@ namespace AlphaISA { // redirected register map, really only used for the full system case. extern const int reg_redir[NumIntRegs]; -class RegFile { - public: -#if FULL_SYSTEM - int intrflag; // interrupt flag -#endif // FULL_SYSTEM - - void - clear() - { - } - - void serialize(EventManager *em, std::ostream &os); - void unserialize(EventManager *em, Checkpoint *cp, - const std::string §ion); -}; - void copyRegs(ThreadContext *src, ThreadContext *dest); void copyMiscRegs(ThreadContext *src, ThreadContext *dest); |