summaryrefslogtreecommitdiff
path: root/src/cpu/checker/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/checker/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/checker/thread_context.hh')
-rw-r--r--src/cpu/checker/thread_context.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/checker/thread_context.hh b/src/cpu/checker/thread_context.hh
index 710d827cc..0da73a137 100644
--- a/src/cpu/checker/thread_context.hh
+++ b/src/cpu/checker/thread_context.hh
@@ -55,6 +55,7 @@ namespace TheISA {
namespace Kernel {
class Statistics;
};
+ class Decoder;
};
/**
@@ -117,7 +118,7 @@ class CheckerThreadContext : public ThreadContext
return checkerCPU;
}
- Decoder *getDecoderPtr() { return actualTC->getDecoderPtr(); }
+ TheISA::Decoder *getDecoderPtr() { return actualTC->getDecoderPtr(); }
System *getSystemPtr() { return actualTC->getSystemPtr(); }