diff --git a/src/arch/arm/fastmodel/iris/thread_context.hh b/src/arch/arm/fastmodel/iris/thread_context.hh index 5e5d7838e1..b7ea0b5c91 100644 --- a/src/arch/arm/fastmodel/iris/thread_context.hh +++ b/src/arch/arm/fastmodel/iris/thread_context.hh @@ -191,16 +191,6 @@ class ThreadContext : public ::ThreadContext 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 { diff --git a/src/cpu/checker/cpu.hh b/src/cpu/checker/cpu.hh index 5213026fa5..7eabe57d24 100644 --- a/src/cpu/checker/cpu.hh +++ b/src/cpu/checker/cpu.hh @@ -152,9 +152,6 @@ class CheckerCPU : public BaseCPU, public ExecContext // 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 diff --git a/src/cpu/checker/thread_context.hh b/src/cpu/checker/thread_context.hh index 5a68be400d..b9442e8d1a 100644 --- a/src/cpu/checker/thread_context.hh +++ b/src/cpu/checker/thread_context.hh @@ -127,10 +127,6 @@ class CheckerThreadContext : public ThreadContext actualTC->setThreadId(id); } - BaseTLB *getITBPtr() override { return actualTC->getITBPtr(); } - - BaseTLB *getDTBPtr() override { return actualTC->getDTBPtr(); } - BaseMMU *getMMUPtr() override { return actualTC->getMMUPtr(); } CheckerCPU * diff --git a/src/cpu/o3/thread_context.hh b/src/cpu/o3/thread_context.hh index d4353d15c6..11de92744f 100644 --- a/src/cpu/o3/thread_context.hh +++ b/src/cpu/o3/thread_context.hh @@ -98,12 +98,6 @@ class O3ThreadContext : public ThreadContext /** Pointer to the thread state that this TC corrseponds to. */ O3ThreadState *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; } diff --git a/src/cpu/simple_thread.hh b/src/cpu/simple_thread.hh index e2f8070ff0..b17f29a251 100644 --- a/src/cpu/simple_thread.hh +++ b/src/cpu/simple_thread.hh @@ -206,10 +206,6 @@ class SimpleThread : public ThreadState, public ThreadContext 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; } diff --git a/src/cpu/thread_context.hh b/src/cpu/thread_context.hh index 9bd5cf56e9..c50eb2693c 100644 --- a/src/cpu/thread_context.hh +++ b/src/cpu/thread_context.hh @@ -130,10 +130,6 @@ class ThreadContext : public PCEventScope virtual void setContextId(ContextID id) = 0; - virtual BaseTLB *getITBPtr() = 0; - - virtual BaseTLB *getDTBPtr() = 0; - virtual BaseMMU *getMMUPtr() = 0; virtual CheckerCPU *getCheckerCpuPtr() = 0;