diff options
author | Korey Sewell <ksewell@umich.edu> | 2007-11-15 19:48:53 -0500 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2007-11-15 19:48:53 -0500 |
commit | cf9dc4b151b95d892a1fc1d98958f25e05edfbdc (patch) | |
tree | 9aefe4cbe1d31ea929f774ac92bd44e7ab630fb6 /src/cpu/o3/thread_context.hh | |
parent | 8f8e7fe08edcc40f57edd5b3dd2a629394e624a2 (diff) | |
download | gem5-cf9dc4b151b95d892a1fc1d98958f25e05edfbdc.tar.xz |
add microPC stuff back in. got deleted on changeset propragation somehow.
--HG--
extra : convert_revision : 5e89484b2ef21457ffba35ef959df999a28c5676
Diffstat (limited to 'src/cpu/o3/thread_context.hh')
-rwxr-xr-x | src/cpu/o3/thread_context.hh | 10 |
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()); } |