summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/thread_context.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/inorder/thread_context.hh')
-rw-r--r--src/cpu/inorder/thread_context.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/inorder/thread_context.hh b/src/cpu/inorder/thread_context.hh
index 3b4e8dd7f..7ec17cb77 100644
--- a/src/cpu/inorder/thread_context.hh
+++ b/src/cpu/inorder/thread_context.hh
@@ -78,6 +78,8 @@ class InOrderThreadContext : public ThreadContext
/** @TODO: PERF: Should we bind this to a pointer in constructor? */
TheISA::TLB *getDTBPtr() { return cpu->getDTBPtr(); }
+ Decoder *getDecoderPtr() { return cpu->getDecoderPtr(); }
+
System *getSystemPtr() { return cpu->system; }
/** Returns a pointer to this CPU. */