382a383
>
597a599,604
> DPRINTF(TLB, "Invalidating all entries.\n");
> while (!entryList.empty()) {
> TlbEntry *entry = entryList.front();
> entryList.pop_front();
> freeList.push_back(entry);
> }
602a610,619
> DPRINTF(TLB, "Invalidating all non global entries.\n");
> EntryList::iterator entryIt;
> for (entryIt = entryList.begin(); entryIt != entryList.end();) {
> if (!(*entryIt)->global) {
> freeList.push_back(*entryIt);
> entryList.erase(entryIt++);
> } else {
> entryIt++;
> }
> }