Gabe Black has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/34176 )
Change subject: mem: Use the page size from the TLB in the translating port
proxy.
......................................................................
mem: Use the page size from the TLB in the translating port proxy.
Change-Id: I5ef60f2d24de376b84750a78a31a4148bbf6fbdb
---
M src/mem/translating_port_proxy.cc
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/mem/translating_port_proxy.cc
b/src/mem/translating_port_proxy.cc
index 8bb93cc..e0661fa 100644
--- a/src/mem/translating_port_proxy.cc
+++ b/src/mem/translating_port_proxy.cc
@@ -54,8 +54,7 @@
ThreadContext *tc, Request::Flags _flags) :
PortProxy(tc->getCpuPtr()->getSendFunctional(),
tc->getSystemPtr()->cacheLineSize()), _tc(tc),
- pageBytes(tc->getSystemPtr()->getPageBytes()),
- flags(_flags)
+ pageBytes(tc->getDTBPtr()->pageSize()), flags(_flags)
{}
bool
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/34176
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: I5ef60f2d24de376b84750a78a31a4148bbf6fbdb
Gerrit-Change-Number: 34176
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabebl...@google.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s