Gabe Black has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/45904 )
Change subject: arch-sparc: Create a local port proxy for functional
accesses.
......................................................................
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
---
M src/arch/sparc/tlb.cc
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/arch/sparc/tlb.cc b/src/arch/sparc/tlb.cc
index 6337f38..2a84aed 100644
--- a/src/arch/sparc/tlb.cc
+++ b/src/arch/sparc/tlb.cc
@@ -897,7 +897,7 @@
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);
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/45904
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I46a812df656a553cc0bd94f61a371b595412a9b3
Gerrit-Change-Number: 45904
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s