From: Korey Sewell Date: Fri, 16 Nov 2007 00:48:53 +0000 (-0500) Subject: add microPC stuff back in. got deleted on changeset propragation somehow. X-Git-Tag: m5_2.0_beta5~82 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cf9dc4b151b95d892a1fc1d98958f25e05edfbdc;p=gem5.git add microPC stuff back in. got deleted on changeset propragation somehow. --HG-- extra : convert_revision : 5e89484b2ef21457ffba35ef959df999a28c5676 --- 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()); }