diff -r 7e91ef576149 -r 5662858d53bb src/arch/x86/pagetable_walker.hh --- a/src/arch/x86/pagetable_walker.hh Tue Feb 28 08:39:08 2012 -0600 +++ b/src/arch/x86/pagetable_walker.hh Tue Feb 28 08:42:36 2012 -0600 @@ -80,7 +80,6 @@ friend class WalkerPort; WalkerPort port; - Port *getPort(const std::string &if_name, int idx = -1); // State to track each walk of the page table class WalkerState : public FastAlloc @@ -167,6 +166,7 @@ RequestPtr req, BaseTLB::Mode mode); Fault startFunctional(ThreadContext * _tc, Addr &addr, Addr &pageSize, BaseTLB::Mode mode); + Port *getPort(const std::string &if_name, int idx = -1); protected: // The TLB we're supposed to load. diff -r 7e91ef576149 -r 5662858d53bb src/arch/x86/tlb.hh --- a/src/arch/x86/tlb.hh Tue Feb 28 08:39:08 2012 -0600 +++ b/src/arch/x86/tlb.hh Tue Feb 28 08:42:36 2012 -0600 @@ -120,6 +120,8 @@ // Checkpointing virtual void serialize(std::ostream &os); virtual void unserialize(Checkpoint *cp, const std::string §ion); + + virtual Port * getPort(); }; } diff -r 7e91ef576149 -r 5662858d53bb src/arch/x86/tlb.cc --- a/src/arch/x86/tlb.cc Tue Feb 28 08:39:08 2012 -0600 +++ b/src/arch/x86/tlb.cc Tue Feb 28 08:42:36 2012 -0600 @@ -421,6 +421,12 @@ { } +Port * +TLB::getPort() +{ + return walker->getPort("port"); +} + } // namespace X86ISA X86ISA::TLB *