Lines Matching defs:vaddr
102 assert(newEntry->vaddr == vpn);
114 newEntry->vaddr = vpn;
176 Addr vaddr = req->getVaddr();
177 Addr prefix = (vaddr >> 3) & IntAddrPrefixMask;
181 vaddr = (vaddr >> 3) & ~IntAddrPrefixMask;
185 if (!msrAddrToIndex(regNum, vaddr))
197 Addr IOPort = vaddr & ~IntAddrPrefixMask;
285 Addr vaddr = req->getVaddr();
286 DPRINTF(TLB, "Translating vaddr %#x.\n", vaddr);
317 Addr offset = bits(vaddr - base, size - 1, 0);
331 vaddr &= mask(32);
335 // The vaddr already has the segment base applied.
336 TlbEntry *entry = lookup(vaddr);
345 vaddr, tc->instAddr());
358 entry = lookup(vaddr);
363 p->pTable->lookup(vaddr);
366 if (p->fixupStackFault(vaddr)) {
368 pte = p->pTable->lookup(vaddr);
372 return std::make_shared<PageFault>(vaddr, true, mode,
375 Addr alignedVaddr = p->pTable->pageAlign(vaddr);
398 return std::make_shared<PageFault>(vaddr, true, mode, inUser,
404 return std::make_shared<PageFault>(vaddr, true, Write, inUser,
408 Addr paddr = entry->paddr | (vaddr & mask(entry->logBytes));
409 DPRINTF(TLB, "Translated %#x -> %#x.\n", vaddr, paddr);
416 DPRINTF(TLB, "Translated %#x -> %#x.\n", vaddr, vaddr);
417 req->setPaddr(vaddr);
422 DPRINTF(TLB, "Translated %#x -> %#x.\n", vaddr, vaddr);
423 req->setPaddr(vaddr);
511 newEntry->trieHandle = trie.insert(newEntry->vaddr,