summaryrefslogtreecommitdiff
path: root/src/cpu/o3/thread_context.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-12-06 11:39:49 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-12-06 11:39:49 -0500
commitf04fcf58f1dc7adcf67e19ca00ff741775982dfa (patch)
treecd4ee635a2df77f71812475371a3006e7e8c8436 /src/cpu/o3/thread_context.hh
parent07a4e2cd36c35ab7b6be356d9bcf3b58b5ef6794 (diff)
downloadgem5-f04fcf58f1dc7adcf67e19ca00ff741775982dfa.tar.xz
Got rid of some typedefs and moved the tlbs into the base o3 cpu.
--HG-- extra : convert_revision : dcd1d2a64fd91aded15c8c763a78b4eebf421870
Diffstat (limited to 'src/cpu/o3/thread_context.hh')
-rwxr-xr-xsrc/cpu/o3/thread_context.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cpu/o3/thread_context.hh b/src/cpu/o3/thread_context.hh
index 390569c3d..0849001e8 100755
--- a/src/cpu/o3/thread_context.hh
+++ b/src/cpu/o3/thread_context.hh
@@ -66,6 +66,14 @@ class O3ThreadContext : public ThreadContext
/** Pointer to the thread state that this TC corrseponds to. */
O3ThreadState<Impl> *thread;
+#if FULL_SYSTEM
+ /** Returns a pointer to the ITB. */
+ virtual AlphaISA::ITB *getITBPtr() { return cpu->itb; }
+
+ /** Returns a pointer to the DTB. */
+ virtual AlphaISA::DTB *getDTBPtr() { return cpu->dtb; }
+#endif
+
/** Returns a pointer to this CPU. */
virtual BaseCPU *getCpuPtr() { return cpu; }