From c76fa4d39e0c736d333a5759dcd2e69dfb2082c6 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 23 May 2021 01:41:42 -0700 Subject: [PATCH] arch-sparc: Create a local port proxy for functional accesses. Don't retrieve one from the thread context since it's just as easy to make one from scratch. Change-Id: I46a812df656a553cc0bd94f61a371b595412a9b3 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45904 Maintainer: Gabe Black Tested-by: kokoro Reviewed-by: Bobby R. Bruce --- src/arch/sparc/tlb.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/sparc/tlb.cc b/src/arch/sparc/tlb.cc index 6337f3876c..2a84aed635 100644 --- a/src/arch/sparc/tlb.cc +++ b/src/arch/sparc/tlb.cc @@ -897,7 +897,7 @@ TLB::translateFunctional(const RequestPtr &req, ThreadContext *tc, Mode mode) if (!FullSystem) return tc->getProcessPtr()->pTable->translate(req); - PortProxy &mem = tc->getPhysProxy(); + PortProxy mem(tc, tc->getSystemPtr()->cacheLineSize()); // We didn't find it in the tlbs, so lets look at the TSBs GetTsbPtr(tc, vaddr, ctx_zero ? 0 : pri_context, tsbs); va_tag = bits(vaddr, 63, 22);