int contextId() const override { return _contextId; }
void setContextId(int id) override { _contextId = id; }
- BaseTLB *
- getITBPtr() override
- {
- return _itb;
- }
- BaseTLB *
- getDTBPtr() override
- {
- return _dtb;
- }
BaseMMU *
getMMUPtr() override
{
// Primary thread being run.
SimpleThread *thread;
- BaseTLB* getITBPtr() { return mmu->itb; }
- BaseTLB* getDTBPtr() { return mmu->dtb; }
-
BaseMMU* getMMUPtr() { return mmu; }
virtual Counter totalInsts() const override
actualTC->setThreadId(id);
}
- BaseTLB *getITBPtr() override { return actualTC->getITBPtr(); }
-
- BaseTLB *getDTBPtr() override { return actualTC->getDTBPtr(); }
-
BaseMMU *getMMUPtr() override { return actualTC->getMMUPtr(); }
CheckerCPU *
/** Pointer to the thread state that this TC corrseponds to. */
O3ThreadState<Impl> *thread;
- /** Returns a pointer to the ITB. */
- BaseTLB *getITBPtr() override { return cpu->mmu->itb; }
-
- /** Returns a pointer to the DTB. */
- BaseTLB *getDTBPtr() override { return cpu->mmu->dtb; }
-
/** Returns a pointer to the MMU. */
BaseMMU *getMMUPtr() override { return cpu->mmu; }
ContextID contextId() const override { return ThreadState::contextId(); }
void setContextId(ContextID id) override { ThreadState::setContextId(id); }
- BaseTLB *getITBPtr() override { return mmu->itb; }
-
- BaseTLB *getDTBPtr() override { return mmu->dtb; }
-
BaseMMU *getMMUPtr() override { return mmu; }
CheckerCPU *getCheckerCpuPtr() override { return NULL; }
virtual void setContextId(ContextID id) = 0;
- virtual BaseTLB *getITBPtr() = 0;
-
- virtual BaseTLB *getDTBPtr() = 0;
-
virtual BaseMMU *getMMUPtr() = 0;
virtual CheckerCPU *getCheckerCpuPtr() = 0;