Skip to content

Commit

Permalink
fix: page walk reply resolve TLB misses
Browse files Browse the repository at this point in the history
This allow TLB misses to be resolved on multiple TLB levels
  • Loading branch information
xusine authored and branylagaffe committed Oct 31, 2024
1 parent 6b2cf2a commit 298a961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/MMU/MMUImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ void MMUComponent::busCycle()
if (alreadyPW.find(pageAddr) != alreadyPW.end()) {
alreadyPW.erase(pageAddr);
for (auto it = standingEntries.begin(); it != standingEntries.end();) {
if (((*it)->theVaddr & pageAddr) == pageAddr && item->isInstr() == (*it)->isInstr()) {
if (((*it)->theVaddr & PAGEMASK) == pageAddr) {
theLookUpEntries.push(*it);
standingEntries.erase(it);
} else {
Expand Down

0 comments on commit 298a961

Please sign in to comment.