diff options
Diffstat (limited to 'src/arch/arm/tlb.cc')
-rw-r--r-- | src/arch/arm/tlb.cc | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/arch/arm/tlb.cc b/src/arch/arm/tlb.cc index 75c0d9f5f..14d83c2cc 100644 --- a/src/arch/arm/tlb.cc +++ b/src/arch/arm/tlb.cc @@ -100,10 +100,10 @@ TLB::init() } void -TLB::setMMU(Stage2MMU *m) +TLB::setMMU(Stage2MMU *m, MasterID master_id) { stage2Mmu = m; - tableWalker->setMMU(m); + tableWalker->setMMU(m, master_id); } bool @@ -1215,13 +1215,7 @@ TLB::translateComplete(RequestPtr req, ThreadContext *tc, BaseMasterPort* TLB::getMasterPort() { - return &tableWalker->getMasterPort("port"); -} - -DmaPort& -TLB::getWalkerPort() -{ - return tableWalker->getWalkerPort(); + return &stage2Mmu->getPort(); } void |