summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2007-11-15 19:48:53 -0500
committerKorey Sewell <ksewell@umich.edu>2007-11-15 19:48:53 -0500
commitcf9dc4b151b95d892a1fc1d98958f25e05edfbdc (patch)
tree9aefe4cbe1d31ea929f774ac92bd44e7ab630fb6 /src
parent8f8e7fe08edcc40f57edd5b3dd2a629394e624a2 (diff)
downloadgem5-cf9dc4b151b95d892a1fc1d98958f25e05edfbdc.tar.xz
add microPC stuff back in. got deleted on changeset propragation somehow.
--HG-- extra : convert_revision : 5e89484b2ef21457ffba35ef959df999a28c5676
Diffstat (limited to 'src')
-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 44ff8da8a..e7bdc6de5 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()); }