add microPC stuff back in. got deleted on changeset propragation somehow.

--HG--
extra : convert_revision : 5e89484b2ef21457ffba35ef959df999a28c5676
This commit is contained in:
Korey Sewell 2007-11-15 19:48:53 -05:00
parent 8f8e7fe08e
commit cf9dc4b151

View file

@ -203,6 +203,16 @@ class O3ThreadContext : public ThreadContext
/** Sets this thread's next PC. */ /** Sets this thread's next PC. */
virtual void setNextPC(uint64_t val); 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. */ /** Reads a miscellaneous register. */
virtual MiscReg readMiscRegNoEffect(int misc_reg) virtual MiscReg readMiscRegNoEffect(int misc_reg)
{ return cpu->readMiscRegNoEffect(misc_reg, thread->readTid()); } { return cpu->readMiscRegNoEffect(misc_reg, thread->readTid()); }