summaryrefslogtreecommitdiff
path: root/src/cpu/thread_context.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2012-05-25 00:53:37 -0700
committerGabe Black <gblack@eecs.umich.edu>2012-05-25 00:53:37 -0700
commit82a228bd4348f2788151630fab0160acc368b4ff (patch)
tree79a685753c6f72eb6b76784d3d2e459b907b5ddb /src/cpu/thread_context.hh
parent49da0497d3a4695ca613e6e47161f41d74ce9d32 (diff)
downloadgem5-82a228bd4348f2788151630fab0160acc368b4ff.tar.xz
Decode: Make the Decoder class defined per ISA.
--HG-- rename : src/cpu/decode.cc => src/arch/generic/decoder.cc rename : src/cpu/decode.hh => src/arch/generic/decoder.hh
Diffstat (limited to 'src/cpu/thread_context.hh')
-rw-r--r--src/cpu/thread_context.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/thread_context.hh b/src/cpu/thread_context.hh
index 220c6cfc5..e186e2f83 100644
--- a/src/cpu/thread_context.hh
+++ b/src/cpu/thread_context.hh
@@ -55,12 +55,12 @@
// DTB pointers.
namespace TheISA
{
+ class Decoder;
class TLB;
}
class BaseCPU;
class CheckerCPU;
class Checkpoint;
-class Decoder;
class EndQuiesceEvent;
class SETranslatingPortProxy;
class FSTranslatingPortProxy;
@@ -135,7 +135,7 @@ class ThreadContext
virtual CheckerCPU *getCheckerCpuPtr() = 0;
- virtual Decoder *getDecoderPtr() = 0;
+ virtual TheISA::Decoder *getDecoderPtr() = 0;
virtual System *getSystemPtr() = 0;
@@ -306,7 +306,7 @@ class ProxyThreadContext : public ThreadContext
CheckerCPU *getCheckerCpuPtr() { return actualTC->getCheckerCpuPtr(); }
- Decoder *getDecoderPtr() { return actualTC->getDecoderPtr(); }
+ TheISA::Decoder *getDecoderPtr() { return actualTC->getDecoderPtr(); }
System *getSystemPtr() { return actualTC->getSystemPtr(); }