From cf9dc4b151b95d892a1fc1d98958f25e05edfbdc Mon Sep 17 00:00:00 2001 From: Korey Sewell Date: Thu, 15 Nov 2007 19:48:53 -0500 Subject: [PATCH] add microPC stuff back in. got deleted on changeset propragation somehow. --HG-- extra : convert_revision : 5e89484b2ef21457ffba35ef959df999a28c5676 --- src/cpu/o3/thread_context.hh | 10 ++++++++++ 1 file changed, 10 insertions(+) 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()); } -- 2.30.2