From 82a228bd4348f2788151630fab0160acc368b4ff Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 25 May 2012 00:53:37 -0700 Subject: 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 --- src/cpu/thread_context.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cpu/thread_context.hh') 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(); } -- cgit v1.2.3