summaryrefslogtreecommitdiff
path: root/src/arch/power/decoder.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/power/decoder.hh')
-rw-r--r--src/arch/power/decoder.hh8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/arch/power/decoder.hh b/src/arch/power/decoder.hh
index c45473a90..60fc8ca75 100644
--- a/src/arch/power/decoder.hh
+++ b/src/arch/power/decoder.hh
@@ -31,9 +31,11 @@
#ifndef __ARCH_POWER_DECODER_HH__
#define __ARCH_POWER_DECODER_HH__
+#include "arch/generic/decode_cache.hh"
#include "arch/types.hh"
-#include "cpu/decode_cache.hh"
-#include "cpu/static_inst_fwd.hh"
+#include "cpu/static_inst.hh"
+
+class ThreadContext;
namespace PowerISA
{
@@ -105,7 +107,7 @@ class Decoder
}
protected:
/// A cache of decoded instruction objects.
- static DecodeCache defaultCache;
+ static GenericISA::BasicDecodeCache defaultCache;
public:
StaticInstPtr decodeInst(ExtMachInst mach_inst);