Lines Matching refs:entry
81 // Find the entry with the lowest (and hence least recently updated)
97 TLB::insert(Addr vpn, const TlbEntry &entry)
99 // If somebody beat us to it, just use that existing entry.
112 *newEntry = entry;
116 trie.insert(vpn, TlbEntryTrie::MaxBits - entry.logBytes, newEntry);
123 TlbEntry *entry = trie.lookup(va);
124 if (entry && update_lru)
125 entry->lruSeq = nextSeq();
126 return entry;
164 TlbEntry *entry = trie.lookup(va);
165 if (entry) {
166 trie.remove(entry->trieHandle);
167 entry->trieHandle = NULL;
168 freeList.push_back(entry);
336 TlbEntry *entry = lookup(vaddr);
342 if (!entry) {
358 entry = lookup(vaddr);
359 assert(entry);
367 // If we did, lookup the entry for the new page.
378 entry = insert(alignedVaddr, TlbEntry(
388 "doing protection checks.\n", entry->paddr);
393 bool badWrite = (!entry->writable && (inUser || cr0.wp));
394 if ((inUser && !entry->user) || (mode == Write && badWrite)) {
408 Addr paddr = entry->paddr | (vaddr & mask(entry->logBytes));
411 if (entry->uncacheable)