summaryrefslogtreecommitdiff
path: root/src/cpu/o3/thread_context.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/o3/thread_context.hh')
-rwxr-xr-xsrc/cpu/o3/thread_context.hh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cpu/o3/thread_context.hh b/src/cpu/o3/thread_context.hh
index 31e08db4c..55b385d11 100755
--- a/src/cpu/o3/thread_context.hh
+++ b/src/cpu/o3/thread_context.hh
@@ -203,6 +203,16 @@ class O3ThreadContext : public ThreadContext
/** Sets this thread's next PC. */
virtual void setNextPC(uint64_t val);
+ virtual uint64_t readMicroPC()
+ { return cpu->readMicroPC(thread->readTid()); }
+
+ virtual void setMicroPC(uint64_t val);
+
+ virtual uint64_t readNextMicroPC()
+ { return cpu->readNextMicroPC(thread->readTid()); }
+
+ virtual void setNextMicroPC(uint64_t val);
+
/** Reads a miscellaneous register. */
virtual MiscReg readMiscRegNoEffect(int misc_reg)
{ return cpu->readMiscRegNoEffect(misc_reg, thread->readTid()); }